SVG

From OpenStreetMap Wiki
(Redirected from Svg)
Jump to: navigation, search
SVG.svg

Scaleable Vector Grapics. XML format for representing vector graphics.

XML & XSLT pages contain closely related matters

There are several ways to create an SVG map from OpenStreetMap

This is Mapnik rendering to a cairo surface (cairographics.org) The result is often rather bloated over-complicated SVG file. Maps are quite complicated, but Mapnik tends to create lots of little objects where one big object could have been used. This is particularly true of text on the roads, where each letter is a separate text element (twice)

Software for working with SVG files includes:

Wikipedia allows direct upload of SVG files. This is the preferred approach on wikipedia for images which are essentially vector based. It's also good to be able to perform vector based tidying up tweaks in inkscape prior to uploading. There are some small problems with wikipedia's SVG renderer (one-way arrows) More information at wikipedia:Wikipedia:WikiProject OpenStreetMap#'Export' Tab. Example SVG image on wikipedia : wikipedia:Image:Holborn-viaduct-map.svg

See also

Personal tools
Namespaces
Variants
Actions
site
Toolbox