[OSM-talk] osmarender4

David Earl david at frankieandshadow.com
Sun Feb 18 14:48:25 GMT 2007


I've just downloaded osmarender4. Firsty, I notice that many of the new
symbols are in there as standard, even though they aren't on the slippy
map - thank you! Secondly, could areas fro school, university and college go
intot eh standard rules as well - I did these as 'fill: #B9ACD8; stroke:
#a18bd8; stroke-width: 0.2px;', which is a light mauvecolour, in my old
local copy of osmarender.

I had a couple of problems. This is using xmlstarlet in Windows:
(a) using the info here
http://wiki.openstreetmap.org/index.php/Osmarender/Howto, running
  xmlstarlet-1.0.1\xml tr osmarender.xsl rules/standard.xml > map.svg 2>
go.log
I get 'warning: failed to load external entity "rules/data.osm"'

I had to move th standard.xml up a level to get it to work

(b) it then renders without symbols and says
'warning: failed to load external entity "symbols/airport.svg"' etc.

This is because the files as downloaded have .xml extensions, not .svg. I
had to rename the files in order for it to work.

Finally, I was rather dismayed to find that the rendering styles in the
slippy map change from tile to tile in quite small areas around Cambridge -
some bits have railways solid, some dashed. Presumably this is because
tiles at home users haven't updated to osmarender4, as Fred, I think, pointed
out before. Is there no way to prevent acceptance of tiles uploaded from old
installations? And what's to stop me from adding my own favourite renderings
within tiles at home and causing chaos?

David





More information about the talk mailing list