[OSM-dev] Cycle map Mapnik XML file?

Andy Allan gravitystorm at gmail.com
Wed Feb 11 14:18:01 GMT 2009


On Wed, Feb 11, 2009 at 9:03 AM, Nick Whitelegg
<Nick.Whitelegg at solent.ac.uk> wrote:
> Hello everyone,
>
> Is the cycle map Mapnik XML file available? Would like to know wht the
> projection string is to produce a Mercator projection from WGS84 lat/lon
> input.
> I think Artem might have told me at one point but unfortunately have lost
> the email :-(

I've no idea what the mailing lists will do to this, but see below for
all the srs strings used in the cyclemap - hopefully whatever you're
looking for is in there!

Cheers,
Andy


andy at cyclemap:~/renderdcyclemap$ grep 'srs' *
contours.xml:<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0
+lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs
+over">
contours.xml:  <Layer name="srtm_10" status="on" srs="+proj=longlat
+datum=WGS84">
contours.xml:  <Layer name="srtm_50" status="on" srs="+proj=longlat
+datum=WGS84">
contours.xml:  <Layer name="srtm_100" status="on" srs="+proj=longlat
+datum=WGS84">
osm-cycle-background.xml:<Map bgcolor="#f2efe9" srs="+proj=merc
+a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0
+units=m +nadgrids=@null +no_defs +over">
osm-cycle-background.xml:<!-- normal <Map bgcolor="#b5d0d0"
srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0
+y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over"> -->
osm-cycle-background.xml:  <Layer name="world-1" status="on"
srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0
+y_0=0 +k=1.0 +units=m +nadgrids=@null +over">
osm-cycle-background.xml:  <Layer name="world" status="off"
srs="+proj=merc +datum=WGS84 +over">
osm-cycle-background.xml:  <Layer name="coast-poly" status="on"
srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0
+y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over">
osm-cycle-background.xml:  <Layer name="builtup" status="on"
srs="+proj=merc +datum=WGS84 +over">
osm-cycle-background.xml:  <Layer name="leisure" status="on"
srs="+proj=merc +datum=WGS84  +k=1.0 +units=m +over +no_defs">
osm-cycle-base.xml:<Map srs="+proj=merc +a=6378137 +b=6378137
+lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null
+no_defs +over">
osm-cycle-base.xml:  <Layer name="water" status="on" srs="+proj=merc
+datum=WGS84  +k=1.0 +units=m +over +no_defs">
osm-cycle-base.xml:  <Layer name="waterway" status="on"
srs="+proj=merc +datum=WGS84  +k=1.0 +units=m +over +no_defs">
osm-cycle-base.xml:  <Layer name="minor-roads" status="on"
srs="+proj=merc +datum=WGS84  +k=1.0 +units=m +over +no_defs">
osm-cycle-base.xml:  <Layer name="roads" status="on" srs="+proj=merc
+datum=WGS84  +k=1.0 +units=m +over +no_defs">
osm-cycle-base.xml:  <Layer name="amenity" status="on" srs="+proj=merc
+datum=WGS84  +k=1.0 +units=m +over +no_defs">
osm-cycle-base.xml:  <Layer name="cycleroutes" status="on"
srs="+proj=merc +datum=WGS84 +k=1.0 +units=m +over +no_defs">
osm-cycle-base.xml:  <Layer name="ncnl" status="on" srs="+proj=merc
+datum=WGS84 +k=1.0 +units=m +over +no_defs">
osm-cycle-base.xml:  <Layer name="nodes" status="on" srs="+proj=merc
+datum=WGS84  +k=1.0 +units=m +over +no_defs">
osm-cycle-base.xml:  <Layer name="planet roads text osm" status="on"
srs="+proj=merc +datum=WGS84  +k=1.0 +units=m +over +no_defs">
osm-cycle-base.xml:  <Layer name="area-text" status="on"
srs="+proj=merc +datum=WGS84  +k=1.0 +units=m +over +no_defs">
osm-cycle-base.xml:  <Layer name="text" status="on" srs="+proj=merc
+datum=WGS84  +k=1.0 +units=m +over +no_defs">
osm-cycle-lcn.xml:<Map srs="+proj=merc +a=6378137 +b=6378137
+lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null
+no_defs +over">
osm-cycle-lcn.xml:  <Layer name="cycleroutes" status="on"
srs="+proj=merc +datum=WGS84 +k=1.0 +units=m +over +no_defs">
osm-cycle-mtb.xml:<Map srs="+proj=merc +a=6378137 +b=6378137
+lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null
+no_defs +over">
osm-cycle-mtb.xml:  <Layer name="cycleroutes" status="on"
srs="+proj=merc +datum=WGS84 +k=1.0 +units=m +over +no_defs">
osm-cycle-ncn.xml:<Map srs="+proj=merc +a=6378137 +b=6378137
+lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null
+no_defs +over">
osm-cycle-ncn.xml:  <Layer name="cycleroutes" status="on"
srs="+proj=merc +datum=WGS84 +k=1.0 +units=m +over +no_defs">
osm-cycle-node-network.xml:<Map srs="+proj=merc +a=6378137 +b=6378137
+lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null
+no_defs +over">
osm-cycle-node-network.xml:  <Layer name="nodenetwork" status="on"
srs="+proj=merc +datum=WGS84 +k=1.0 +units=m +over +no_defs">
osm-cycle-overlay.xml:<Map srs="+proj=merc +a=6378137 +b=6378137
+lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null
+no_defs +over">
osm-cycle-overlay.xml:   <Layer name="amenity" status="on"
srs="+proj=merc +datum=WGS84  +k=1.0 +units=m +over +no_defs">
osm-cycle-rcn.xml:<Map srs="+proj=merc +a=6378137 +b=6378137
+lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null
+no_defs +over">
osm-cycle-rcn.xml:  <Layer name="cycleroutes" status="on"
srs="+proj=merc +datum=WGS84 +k=1.0 +units=m +over +no_defs">




More information about the dev mailing list