Comments (7)
You can open the tileset using a SQLite viewer like DB Browser for SQLite, then navigate to the metadata table, add an entry for center
(longitude, latitude, zoom), then save it. Zoom is arbitrary; I often use the lowest zoom of a tileset.
from mbtileserver.
@ItalyPaleAle it sounds like the issue is that the metadata
table for your tileset does not contain an entry for center
, which is optional according to the TileJSON spec - but I must have always expected it to be present within the maps. Most tools that create tiles produce a metadata entry for center
. Out of curiosity, how did you create your tileset?
As a quick fix, you can add an entry for center
to your tileset(s) and restart the server.
Is this problem showing up for an image tileset or a vector tileset?
from mbtileserver.
Thanks for the quick response and for pinpointing the issue quickly!
I'm very new to working with TileJSON and maps. I was trying with a map I created with tilemaker from OSM data. It's a vector tileset.
Let me look into how to add a center property - I'm really brand new to this :)
from mbtileserver.
I submitted a PR that fixes the issue!
from mbtileserver.
Thank you!
from mbtileserver.
See also tilemaker #380; looks like this is now fixed in tilemaker master
branch
from mbtileserver.
Thanks for reporting this! I just pushed changes to main
branch that fixes this. If that doesn't fix the problem for you, please reopen this issue.
from mbtileserver.
Related Issues (20)
- caching options HOT 1
- Build Error with GCC11 HOT 5
- DOC: Add note that user needs to increase max open files limit if using several tilesets
- Deploy arm64 image to Docker Hub HOT 4
- Consider alternative basemap tile providers HOT 9
- Add multiple subdomain support HOT 1
- Missing tiles returned as 256x256 transparent tiles HOT 11
- Serve tiles from blob-storage HOT 1
- it is not support EPSG 4326 HOT 2
- Migrate from Docker Hub to Github Packages registery
- Include version in CLI
- mbtileserver vs Martin Comparison? HOT 2
- Consider adding a /metrics endpoint HOT 1
- Map preview does not work when using reverse proxy with HTTPS HOT 6
- Use of stadiamaps? HOT 9
- Docker 404 Error HOT 4
- Crash when issue with one tile HOT 4
- Enhancement: support TileJSON 3.0.0
- database corrupt issue with file system watcher HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mbtileserver.