This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Missing styles for /usr/local/share/maps/style

0

I have been following this link to install on my centos 7 http://qiita.com/nkmrtkhd/items/642ae1b8a996cc46d85c. First I cant unzip this unzip ~/ne_10m_populated_places_simple.zip and also the rest of the folder does not exist. Coming to this steps cd ne_10m_populated_places_simple unzip ~/ne_10m_populated_places_simple.zip cd .. unzip ~/master.zip unzip ~/simplified-land-polygons-complete-3857.zip unzip ~/land-polygons-split-3857.zip mkdir osm-bright-master/shp mv land-polygons-split-3857 osm-bright-master/shp/ mv simplified-land-polygons-complete-3857 osm-bright-master/shp/ mv ne_10m_populated_places_simple osm-bright-master/shp/

cd osm-bright-master/shp/land-polygons-split-3857
shapeindex land_polygons.shp
cd ../simplified-land-polygons-complete-3857/
shapeindex simplified_land_polygons.shp
cd ../..

vi osm-bright/osm-bright.osm2pgsql.mml

cp ~/configure.py .
./make.py
cd ../OSMBright/
carto project.mml > OSMBright.xml

asked 06 Jun '17, 20:24

newbie14's gravatar image

newbie14
319912
accept rate: 0%


One Answer:

0

What I suspect has happened is that the layout of the Natural Earth website has changed since osmbright was packaged. When I wrote these instructions I modified the "get-shapefiles.sh" script so that it worked with the new layout of that site.

You can either figure out what is missing manually (by looking at the script and seeing what it is trying to do), or try my version linked above. I'm not 100% sure what natural earth data osm-bright needs, though.

answered 06 Jun '17, 21:06

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Source code available on GitHub .