W3C home > Mailing lists > Public > public-sdwig@w3.org > July 2018

Re: [sdw] CRS negotiation in MapML

From: Peter Rushforth via GitHub <sysbot+gh@w3.org>
Date: Sat, 28 Jul 2018 17:27:58 +0000
To: public-sdwig@w3.org
Message-ID: <issue_comment.created-408622911-1532798877-sysbot+gh@w3.org>
I had a stab at client side CRS negotiation.  If you load [this Web Mercator map](http://geogratis.gc.ca/api/beta/mapml/en/osmtile/cbmt/) and then paste this URL 

[http://geogratis.gc.ca/api/beta/mapml/static/cubeserv_precipitation.mapml](http://geogratis.gc.ca/api/beta/mapml/static/cubeserv_precipitation.mapml)

into the "Add a MapML URL to this map:" text box, the client will detect that the requested projection doesn't match the projection of the document, and will follow a more appropriate link if it exists in the `<head>`.  The same document will work when pasted onto a [polar](http://geogratis.gc.ca/api/beta/mapml/en/apstile/arctic/) or [Lambert](http://geogratis.gc.ca/api/beta/mapml/en/cbmtile/cbmtsimple/) map.

Let me know if you find something doesn't work, or have comments.

-- 
GitHub Notification of comment by prushforth
Please view or discuss this issue at https://github.com/w3c/sdw/issues/1058#issuecomment-408622911 using your GitHub account
Received on Saturday, 28 July 2018 17:28:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:17:49 UTC