-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output not work #779
Comments
sudo tilemaker --input brazil_latest.osm.pbf --output brazil.mbtiles --process resources/process-openmaptiles.lua --config resources/config-openmaptiles.json |
Where you're seeing errors like "Unable to open coastline/water_polygons.shp" it just means you haven't downloaded the data it needs - see https://github.com/systemed/tilemaker/blob/master/README.md#coastline-and-landcover . I also wouldn't expect you to need to run tilemaker as root. One more question - what version of Ubuntu is it in WSL? (typing "lsb_release -a" will tell you). |
@SomeoneElseOSM I would like to thank you for your feedback, it really works. But I think it would be ideal if these items were already built into tilemaker, as soon as tilemaker starts, first perform a pending check like "It is necessary to download the add-ons for tilemaker to work correctly". This would run all .sh files |
Reading shapefile ocean |
It's not really "necessary to download the add-ons for tilemaker to work correctly" - in all cases what you need to download depends on what map style you're using and what data it needs. |
Could you confirm where you downloaded brazil-latest.osm.pbf and if you’ve processed it at all before running tilemaker? Are you running the latest code checked out from git, or the 3.0 release?
That’d be lovely but it would require someone with a knowledge of putting stuff in the right Unix paths and that person is not me :) |
@systemed Hey friend, I compiled directly from the Master branch, downloaded the map from MapFabrik, and didn't do any processing beforehand. But I had an idea that could help this project a lot, would be to define the quality of png/jpg during the compilation of tilemaker, mbtiles generated by tilemaket is ideally light, but it would be nice to have an option like that |
WSL - Ubuntu
Layer place (z0-14)
Layer boundary (z0-14)
Layer poi (z12-14)
Layer poi_detail (z14-14) -> poi
Layer housenumber (z14-14)
Layer waterway (z8-14)
Layer waterway_detail (z12-14) -> waterway
Layer transportation (z4-14)
Layer transportation_name (z8-14)
Layer transportation_name_mid (z12-14) -> transportation_name
Layer transportation_name_detail (z14-14) -> transportation_name
Layer building (z13-14)
Layer water (z6-14)
Layer ocean (z0-14) -> water
Layer water_name (z14-14)
Layer water_name_detail (z14-14) -> water_name
Layer aeroway (z11-14)
Layer aerodrome_label (z10-14)
Layer park (z11-14)
Layer landuse (z4-14)
Layer urban_areas (z4-8) -> landuse
Layer landcover (z0-14)
Layer ice_shelf (z0-9) -> landcover
Layer glacier (z2-9) -> landcover
Layer mountain_peak (z11-14)
Bounding box -74.0231, -35.4655, -27.6725, 5.5229
Reading .shp ocean
Unable to open coastline/water_polygons.shp or coastline/water_polygons.SHP in rb mode.
Reading .shp urban_areas
Unable to open landcover/ne_10m_urban_areas/ne_10m_urban_areas.shp or landcover/ne_10m_urban_areas/ne_10m_urban_areas.SHP in rb mode.
Reading .shp ice_shelf
Unable to open landcover/ne_10m_antarctic_ice_shelves_polys/ne_10m_antarctic_ice_shelves_polys.shp or landcover/ne_10m_antarctic_ice_shelves_polys/ne_10m_antarctic_ice_shelves_polys.SHP in rb mode.
Reading .shp glacier
Unable to open landcover/ne_10m_glaciated_areas/ne_10m_glaciated_areas.shp or landcover/ne_10m_glaciated_areas/ne_10m_glaciated_areas.SHP in rb mode.
Sorting loaded shapes
Reading .pbf brazil_latest.osm.pbf
lua runtime error: resources/process-openmaptiles.lua:123: attempt to call global 'Find' (a nil value)
terminate called after throwing an instance of 'kaguya::LuaTypeMismatch'
what(): type mismatch!!
Aborted
The text was updated successfully, but these errors were encountered: