-
Notifications
You must be signed in to change notification settings - Fork 2
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
Render with docker fails due to unknown Postgis function (need sfcgal support) #8
Comments
Problem seems to be outdated plugins. Removing the layer for waterway labels results in a different error when rendering the map to file:
|
Hello. Yes, sorry the I'm trying to find a new PostGIS image with SFCGAL support but I could not find a good one so far. |
So I pushed a fix on master that makes the things work, except ST_ApproximateMedialAxis is not used anymore. It means that you won't have curved labels in water areas! |
I rebuilt the docker container with your fix and now the map renders correctly for me! Concerning the PostGIS image, does the official PostGIS image work? |
Fine! The official PostGIS image is in used now, see
But it seems it does not support sfcgal. However, when installing postgis on Ubuntu20.10, it comes with sfcgla support directly. I'll reopen to add sfcgal in the docker container. |
When I try to render a map with the docker container, the python script fails with the following error:
I suspect the cause is an outdated Postgis version or a missing Plugin, but I'm not sure how to find and fix the broken component.
I also removed the layers concerning height contours and hillshades because I first wanted to try rendering just the osm data by removing the respective entries in the .mss stylesheets and projeckt-docker.mml sourcefile.
The text was updated successfully, but these errors were encountered: