[OSM-talk] SVG output
David Groom
reviews at pacific-rim.net
Sun May 28 16:32:26 BST 2006
----- Original Message -----
From: "Oliver White" <streetmap at blibbleblobble.co.uk>
To: <talk at openstreetmap.org>
Sent: Sunday, May 28, 2006 3:39 PM
Subject: Re: [OSM-talk] SVG output
> 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?)
Oliver,
the roads have colour when looking at them in Inkscape on Windows XP.
> - 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