Ok, I located the missing function in functions.sql and did the command from INSTALLmd to get it in place.

The new hearing-aids shop symbol WORKS!   Thank you Michael for the nudge into the right direction.

Is there a guide/ToDo/tutorial on all of the steps necessary to update the carto stylesheet in an existing tile server?   I tried searching but came up empty which is why I resorted to posting the request here.

Lynn (D) - Seeming up and running with the v5.9.0 carto stylesheet!


Thank you Michael,


I just did that, but renderd failed on the restart with the following in syslog:

Oct 21 15:58:53 bee-osm renderd[303293]: An error occurred while loading the map layer 'ajt': Postgis Plugin: ERROR:  function carto_path_type(text, text) does not exi st#012LINE 15: ...   'highway_' || (CASE WHEN highway = 'path' THEN carto_path...#012 ^#012HINT:  No funct     ion matches the given name and argument types. You might need to add explicit type casts.#012in executeQuery Full sql was: 'SELECT * FROM (SELECT#012 way,#012    (C     ASE WHEN feature IN ('highway_motorway_link', 'highway_trunk_link', 'highway_primary_link', 'highway_secondary_link', 'highway_tertiary_link') THEN substr(feature, 0,      length(feature)-4) ELSE feature END) <snip>

This is a very old import that has been applying updates for 2 years now.   Maybe there's a script I need to re-run to get the Postgis Plugin updated to include the (apparently new) carto_path)_type function?

Lynn (D) - Getting closer than I was!

On 10/21/2024 9:44 AM, Michael Reichert wrote:
Hi Lynn,

Am 21.10.24 um 15:33 schrieb Lynn W. Deffenbaugh (Mr):
1) git pull on the carto repository. I confirmed that the new hearing_aids.svg is present. 2) Confirmed that there are no other locations containing the original svg symbols
     to ensure that the renderer must be using this directory
3) Restarted renderd (probably not necessary, but did it anyway)

You have to regenerate the Mapnik XML style file using

carto project.mml > project.xml

and restart renderd afterwards.
(Tirex users have to restart tirex-backend-manager instead)

Best regards

Michael





_______________________________________________
dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/dev

Reply via email to