Hi, i follow the tutorial in https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ When i do the command renderd -f -c /usr/local/etc/renderd.conf and send me this error renderd[78029]: An error ocurred while loading the map layer 'default': Shape Plugin: shapefile '/usr/local/share/maps/style/osm-bright-master/shp/ne_10m_populated_places/ne_10m_populated_places.shp' does not exist encountered during parsing of layer 'ne_places' in Layer at line 45546 of '/usr/local/share/maps/style/OSMBright/OSMBright.xml' Some hint to resolve this issue? Regards asked 16 Aug '16, 19:58 HugoLaraS1979 |
I believe that what's happened is that the the "ne populated places" source has changed and the OSMBright script (which is Mapbox's) hasn't been updated to match it. The last time I set up OSMBright was to answer this question, and do vaguely remember having to extract some shapefiles manually and move them around. I also did have to fiddle about with the script that I do use that does the same job. You should be able to figure out the data location from that, and manually move the shapefiles that you need to the right place. It's not ideal, but it should get you a working stylesheet. answered 16 Aug '16, 22:41 SomeoneElse ♦ |
The line 45546 of OSMBright.xml is <layer name="ne_places" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"> answered 16 Aug '16, 20:00 HugoLaraS1979 is this an answer to your problem or just a clarification of your question?
(16 Aug '16, 21:48)
aseerel4c26 ♦
For completeness, that's a reference to the layer name which references the file that isn't in the right place yet. That's why its saying error "at line 45546". The main useful bit of information is what you've said in the question: '/usr/local/share/maps/style/osm-bright-master/shp/ne_10m_populated_places/ne_10m_populated_places.shp' does not exist
(16 Aug '16, 22:52)
SomeoneElse ♦
|
As I was just testing my tile server I commented this lines to be able to run the tile server:
answered 25 Nov '16, 06:40 Potdeyaourt |
Does the file "ne_10m_populated_places.shp" exist in that location?