Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
tilelive-tmsource : Cannot set property 'id' of undefined. #227
I downloaded a single city's worth of data from Mapzen from which to generate a vector tile map. The data is the "raw pbf" data export option file, and mapzen extracts data from OSM.
I assumed I'd be able to substitute that file in ./data directory instead of downloading the albania default. I'm doing the manual steps, except I'm skipping the import-natural-earth, import-water, and import-osmborder. It's not really explained anywhere, as far as I can tell, why those steps are necessary -- what if I was making a non-earth map?
Anyways, at the point where it's generating the files, i'm getting what looks to be a missing 'id' field error, or a missing configuration where an id is supposed to be. Is this due to an unexpected input format of the files, or is it more bad yaml configuration?
did a "make clean-docker", then
If I look at the geojson for the same extracted map, it has a total of about 10000 features at most. I'm setting it up with a narrow zoom range 15 to 18.
That same map, converted from GeoJSON with tippecanoe, yields an mbtiles file that is about 1MB in size for these zoom levels.
Then, I run
Then, after a while, it aborts with:
Sure enough, that file doesn't exist. Reading the script, it does look like docker-compose-config.yml is only created if a map is downloaded (
so I did
Looks like the zoom levels carry over from .env at least.
so it tried to download the squamish area from geofabrik, which doesn't exist. I'm looking into what it is exactly that deleted stuff in my data folder -- everything except that geofabrik.yml file.
The current BYOD documantation is not perfect (
My suggestion for generating Squamish, British Columbia data :
0. Start from a clean state and with the default settings
1. Load bigger data from geofabrik , and generate zoom 0-7
Zoom level = 14 contains "everything" ,