[OSM-talk] SVG output
Oliver White
streetmap at blibbleblobble.co.uk
Sun May 28 15:39:02 BST 2006
On Friday 26 May 2006 16:53, Erik Johansson wrote:
> wget -O data.osm http://mapURLfromOSM
>
> java -cp ../Distributed-renderer/xalan-j_2_7_0/xalan.jar
> org.apache.xalan.xslt.Process -in osm-map-features.xml -out temp.svg
Just a note for ububtu people, that an alternative way of running that program
is:
[apt-get install xalan]
xalan -IN file:///path/to/osm-map-features.xml -XSL osmarender.xsl -OUT
output.svg
At the moment, I'm still looking for the best svg viewer for those files:
- with GIMP or Inkscape, the roads don't have any colour (they ignore the
styles?)
- on Scribus, the roads appear as a series of triangles
- converting to PNG with imagemagick, the lines are black & white only, and
some large areas of the map are blacked-out (looks like a similar problem to
the scribus one, but creating polygons out of whole roads, rather than just
each segment like scribus)
More information about the talk
mailing list