You are not logged in.
Pages: 1
I find it quite complicated working with the plugin, so I have for a long time tried to figure out a way to make a tagging preset.
I have also for quite some time documented on the OSM wiki the INT-1 symbols and assosiated tags. I have in that process almost completed a INT-1 scheme tagging preset file though there are a lot of duplifications and some errors in it.
It would be quite some help if I could get access to the renderer style sheet, so I could read how things are rendered, that way I could correct the errors in the tagging preset and clean it up.
A. Johnsen aka Skippern
Master Mariner, MWS, Marine Consultant
Offline
You can view all OpenSeaMap software at: http://openseamap.svn.sourceforge.net/v ... penseamap/
The renderer stylesheet is: http://openseamap.svn.sourceforge.net/v ... er/rules.c
Malcolm Herring, Developer
Offline
I see that the semarks are harvested out of the general dataset and aliased into some really obscure codes before passed to a general renderer. I guess this is partly to generate the arcs on the light houses, but it seems to me that prety much everything in the seamark layer is passed through this harvester.
After noticing this, I see absolutly nothing wrong in slacking a little up in that super rigid tagging scheme used. If you can alias seamark:type=buoy_lateral + seamark:buoy_lateral:colour=red;green;red + seamark:buoy_lateral:colour_pattern=horizontal into buoy:colour=RGRH, than aliasing seamark=landmark + landmark=statue into seamark:type=landmark + seamark:landmark:category=statue shouldn't be any problem
A. Johnsen aka Skippern
Master Mariner, MWS, Marine Consultant
Offline
You must be looking at the old Osmarender stylesheet. I used to pre-process the tags into something that minimised the number of Osmarender rules needed. That renderer is no longer used. The current renderer is 'searender', a purpose-written C program that can render the OpenSeaMap tags directly into SVG. The code for this is at: http://openseamap.svn.sourceforge.net/v ... searender/
Malcolm Herring, Developer
Offline
I was looking at both. Anyway, the harvesting allows for more flexible rendering, as several tag combinations can be rendered into the same rule. That way there is no reason to, in the renderer, treat seamark=landmark + landmark=* any different than seamark:type=landmark + seamark:landmark:category=*
A. Johnsen aka Skippern
Master Mariner, MWS, Marine Consultant
Offline
Yes, body colours & striping can be set by clicking the small >> button on the left of the panel. This will bring up another sub-panel with the colours & patterns as well as several other object parameter settings.
______________________________
Pass your iseb training course You can get our 100% COMPTIA certification practice test Alabama State University contains all those materials you want to Columbia University paced test engine to help you pass Northwestern University
Last edited by dhoom (2014-11-15 10:41:24)
Offline
Pages: 1