After following the tutorial from Switch2OSM I ran into the following error after running this command: renderd -f -c /usr/local/etc/renderd.conf and launching the server through the web browser using this address: http://localhost/hot/0/0/0.png
After doing some research I haven't found anything useful to solve this problem. Any help would be appreciated. asked 01 Aug '23, 22:18 JaimeMiranda57 edited 01 Aug '23, 22:23 |
One Answer:
I'm guessing that the bit that you're missing is the "While still working as the “postgres” user, set up PostGIS on the PostgreSQL database" part of that page. Another possibility is that the "plugins_dir" setting in your "renderd.conf" is wrong - have a look below "/usr/lib/mapnik/" and see what there is. answered 01 Aug '23, 22:36 SomeoneElse ♦ |
When I run the command
createdb -E UTF8 -O myUsername gis
the database is successfully created. After that I keep following the tutorial, type in psql in terminal, I get the "postgres=#" prompt, and right after that I type in\c gis
and get the "You are now connected to database ‘gis’ as user 'postgres'". I'm guessing that that's what you mean by the first sentence in your answer? So to my understanding I am still working as the "postgres" user, correct? If that's not it I'm misunderstanding and if so, could you please clarify? Thanks.I checked "/usr/lib/mapnik" and there's another folder inside that directory called "3.1". If I
cd
into that directory, there's another directory inside called "input". So, in essence, this is the path "/usr/lib/mapnik/3.1/input" and inside that I have 10 .input files.