File talk:Guildford.png

From OpenStreetMap Wiki
Jump to: navigation, search

Instructions

This image was created on Linux using

wget --output-document=guildford.osm --user=username --password=passwd 
       "http://www.openstreetmap.org/api/0.4/map?bbox=-0.625,51.22,-0.533,51.256"

xsltproc guildford-standard.xml > map.svg
inkscape -C -w 1024 -e Guildford.png map.svg

My guildford-standard.xml file for this image contains:

<rules
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:svg="http://www.w3.org/2000/svg"
    data="guildford.osm"
    svgBaseProfile="full"
    javaScript="no"
    scale="0.25"
    symbolScale="3"
    minimumMapWidth="1"
    minimumMapHeight="1"
    withOSMLayers="yes"
    withUntaggedSegments="yes"
    symbolsDir="symbols"
    showScale="no"
    showGrid="no"
    showBorder="no"
    showLicense="no"
    interactive="no">

<bounds minlat="51.22" minlon="-0.625" maxlat="51.256" maxlon="-0.533" />

I have also made changes to some of the caption sizes and spacings.