File talk:Farnborough.png

From OpenStreetMap Wiki
Jump to navigation Jump to search

Instructions

This image was created on Linux using

wget --output-document=farnborough.osm --user=username --password=password
    "http://www.openstreetmap.org/api/0.4/map?bbox=-0.790,51.268,-0.700,51.305"

xsltproc farnborough-standard.xml > map.svg
inkscape -C -w 1024 -e Farnborough.png map.svg

My farnborough-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="farnborough.osm"
    svgBaseProfile="full"
    javaScript="no"
    scale="0.2"
    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.268" minlon="-0.790" maxlat="51.305" maxlon="-0.700" />

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