Thanks.

It can also be used in josm.

Edit->Preferences->WMS/TMS

add a new tms

http://whoots.mapwarper.net:80/tms/{zoom}/{x}/{y}/WEB_MERCATOR/http://api.maps.vic.gov.au/geowebcacheWM/service/wms?VERSION=1.1.1&TILED=true

Cheers
Ross


On 14/05/14 11:08, Steve Bennett wrote:
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.net <http://whoots.mapwarper.net> proxying service
which converts WMS to web tiles.

Enjoy.

Steve


_______________________________________________
Talk-au mailing list
Talk-au@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-au



_______________________________________________
Talk-au mailing list
Talk-au@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-au

Reply via email to