[talk-au] VicMap in Potlatch2
Steve Bennett
stevagewp at gmail.com
Wed May 14 01:08:26 UTC 2014
Hi all,
I've just discovered you can add VicMap, Victoria's open data licensed
authoritative mapping service, into Potlatch 2. It's not at all obvious
how, so here's the answer:
In "Background", click "Edit" then add:
http://whoots.mapwarper.net:80/tms/$z/$x/$y/WEB_MERCATOR/http://api.maps.vic.gov.au/geowebcacheWM/service/wms?VERSION=1.1.1&TILED=true
To explain:
- Vicmap provides an "API" which is basically a weird forked version of
OpenLayers:
http://api.maps.vic.gov.au/index.php/developers-resources/javascript-api
- Digging through that you can find their actual WMS endpoint, which is
http://api.maps.vic.gov.au/vicmapapi/map/wms
- Except, that data is in EPSG 3111 projection, rather than the web
standard EPSG 3857. Their documentation says that EPSG 3857 will be
available by the "end of August 2013", then no more info about it:
http://api.maps.vic.gov.au/index.php/product-information/projections-sacles/web-mercator
- Anyway it turns out the EPSG 3857 projection is available at
http://api.maps.vic.gov.au/geowebcacheWM/service/wms (I assume the WM
stands for 'web mercator', aka EPSG 3857)
- But still, it's only provided as a WMS service, which isn't directly
supported by Potlatch 2. That's why you need to use the
whoots.mapwarper.netproxying service which converts WMS to web tiles.
Enjoy.
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-au/attachments/20140514/3c30d1cd/attachment.html>
More information about the Talk-au
mailing list