Skip to content
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

sudo renderd -f -c /etc/renderd.conf #373

Open
simwin opened this issue Jan 17, 2024 · 4 comments
Open

sudo renderd -f -c /etc/renderd.conf #373

simwin opened this issue Jan 17, 2024 · 4 comments

Comments

@simwin
Copy link

simwin commented Jan 17, 2024

sudo renderd -f -c /etc/renderd.conf

** (process:50560): ERROR **: 22:09:19.783: An error occurred while loading the map layer 'ajt': Shape Plugin: shapefile '/var/osm/openstreetmap-carto-AJT/data/simplified-land-polygons-complete-3857/simplified_land_polygons.shp' does not exist  encountered during parsing of layer 'world' in Layer at line 241 of '/var/osm/openstreetmap-carto-AJT/mapnik.xml'

** (process:50560): ERROR **: 22:09:19.794: An error occurred while loading the map layer 'ajt': Shape Plugin: shapefile '/var/osm/openstreetmap-carto-AJT/data/simplified-land-polygons-complete-3857/simplified_land_polygons.shp' does not exist  encountered during parsing of layer 'world' in Layer at line 241 of '/var/osm/openstreetmap-carto-AJT/mapnik.xml'

** (process:50560): ERROR **: 22:09:19.800: An error occurred while loading the map layer 'ajt': Shape Plugin: shapefile '/var/osm/openstreetmap-carto-AJT/data/simplified-land-polygons-complete-3857/simplified_land_polygons.shp' does not exist  encountered during parsing of layer 'world' in Layer at line 241 of '/var/osm/openstreetmap-carto-AJT/mapnik.xml'

** (process:50560): ERROR **: 22:09:19.803: An error occurred while loading the map layer 'ajt': Shape Plugin: shapefile '/var/osm/openstreetmap-carto-AJT/data/simplified-land-polygons-complete-3857/simplified_land_polygons.shp' does not exist  encountered during parsing of layer 'world' in Layer at line 241 of '/var/osm/openstreetmap-carto-AJT/mapnik.xml
@SomeoneElseOSM
Copy link
Contributor

This doesn't look like a mod_tile error as such; more like the instructions in openstreetmap-carto-AJT don't account for wherever the natural earth download puts simplified_land_polygons.shp et al, or your changes to paths haven't been accounted for in the files you're using.

This can be a bit of a moveable feast, although the last couple of times I've run it it has worked first time.

Maybe a thread in https://community.openstreetmap.org/c/help-and-support/7/none might be the better place to ask rather than an issue here?

@simwin
Copy link
Author

simwin commented Jan 17, 2024

In line 241 I have this:
<Layer name="world" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over">

are you sure this is the paths problems with simplified_land_polygons.shp?

Maybe a thread in https://community.openstreetmap.org/c/help-and-support/7/none might be the better place to ask rather than an issue here?

May be, I'll try...

@pnorman
Copy link
Contributor

pnorman commented Jan 18, 2024

This doesn't look like a mod_tile/renderd issue. It could be a Mapnik or style issue, or, most likely, a user error. You should never be running renderd as root, so there's at least one user error.

@hummeltech
Copy link
Collaborator

@simwin Yes, I agree with the others here, it appears that the most likely issue here is that the file /var/osm/openstreetmap-carto-AJT/data/simplified-land-polygons-complete-3857/simplified_land_polygons.shp does not exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants