[Ncwms-users] CRS URL in JSON output not found
Brought to you by:
guygriffiths,
jonblower
|
From: Michael E H. <mh...@us...> - 2018-03-28 22:56:48
|
<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" >I've been using the CoverageJSON feature for a while now, and am finding it very useful.</div>
<div dir="ltr" > </div>
<div dir="ltr" >However, we recently started a Leaflet JavaScript project that uses the leaflet-coverage package, and it is complaining about the URL that is being returned by ncWMS. And unless I'm doing something wrong, the URL is indeed not right.</div>
<div dir="ltr" > </div>
<div dir="ltr" >In ncWMS 2.4.0:</div>
<div dir="ltr" > </div>
<div dir="ltr" > "system" : {<br> "type" : "GeographicCRS",<br> "id" : "http://www.opengis.net/gml/srs/crs.xml#84"<br> }</div>
<div dir="ltr" > </div>
<div dir="ltr" >In ncWMS 2.2.8 the URL was:</div>
<div dir="ltr" style="margin-left: 40px;" ><a href="http://www.opengis.net/def/crs/ogc/1.3/crs84" >http://www.opengis.net/def/crs/ogc/1.3/crs84</a></div>
<div dir="ltr" > </div>
<div dir="ltr" >I haven't been able to find an explanation on what the URL should be, but on the page</div>
<div dir="ltr" style="margin-left: 40px;" ><a href="https://www.w3.org/2015/spatial/wiki/Coordinate_Reference_Systems" >https://www.w3.org/2015/spatial/wiki/Coordinate_Reference_Systems</a></div>
<div dir="ltr" >there's a link to</div>
<div dir="ltr" style="margin-left: 40px;" ><a href="http://www.opengis.net/def/crs/OGC/1.3/CRS84" >http://www.opengis.net/def/crs/OGC/1.3/CRS84</a></div>
<div dir="ltr" ><div dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" >which does work.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Can someone else verify that ncWMS is returning the correct URL in the FORMAT=application/prs.coverage+json output? Everything else seems fine.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Thanks,</div>
<div dir="ltr" > </div>
<div dir="ltr" >Mike Henderson</div>
<div dir="ltr" >------------------------------------------------------------------------------------------------------------------------------------<br>Applied Mathematics, TJ Watson Research Center<br>mh...@us...<br><a href="http://researcher.watson.ibm.com/researcher/view.php?person=us-mhender" target="_blank" >http://researcher.watson.ibm.com/researcher/view.php?person=us-mhender</a><br><a href="http://multifario.sourceforge.net/" target="_blank" >http://multifario.sourceforge.net/</a></div></div></div></div></div></div><BR>
|