I'm in the process of rebuilding the maps and overlays for maps.openstreetmap.ie but running into some issues with existing style sheets. I've already done this once in the past year but had to redo it again recently and running into issues. It's worth noting that most of the styles are still based on the old XML format (that's what I inherited) and don't use the newer CartoCSS. I've followed the guide on switch2osm with a view deviations (we have more than 10 layers to render so have compile some things from source). The style file I used for the import is here. The XML renderd config I'm using the for the name:ga map tiles is here The command line for the initial import I did is as follows:
The errors I'm getting are as follows:
It specifically seems to be barfing on:
I'm hoping this is something simple and someone with more experience has encountered this before and can point me in the right direction before I go down the "trial and error" rabbit hole... :) asked 30 Nov '19, 18:47 dónal |
Answering my own question... This was indeed the issue:
previously it appears the layer column was declared as an int in the osm_line table but nows it's text... Still investigating what caused the change (I may have missed a step somewhere). I reviewed the XML change and ensured any 0s were enclosed in single quotes. e.g.
answered 30 Nov '19, 19:39 dónal I've marked your answer as an answer - hope you don't mind! As an aside - if you did want to deploy a map style "like OpenStreetMap.org standard tiles but with Irish names" it would be relatively straightforward to do that via the lua scripting that osm2pgsql supports. Not that I'm saying that you need to change; but if you did want to, it needn't be that difficult. Let me know if you're thinking about going down that route and would like a nudge in the right direction.
(05 Dec '19, 01:36)
SomeoneElse ♦
|