geosolutions-it / evo-odas

Code Repository for the EVO-ODAS
https://waffle.io/geosolutions-it/evo-odas
MIT License
31 stars 15 forks source link

Fix and improve owc:offering links in S2 products #196

Closed torse closed 7 years ago

torse commented 7 years ago

As of now the offering links look similar to this:

   <owc:offering code="http://www.opengis.net/spec/owc-atom/1.0/req/wfs">
      <owc:operation method="GET" code="GetCapabilities" href="http://localhost:8080/geoserver/evoodas/SENTINEL2/ows?service=wfs&request=GetCapabilities&version=1.3.0&CQL_FILTER=eoParentIdentifier='S2A_MSIL1C_20170907T103021_N0205_R108_T34WDB_20170907T103021'" type="application/xml"/>
      <owc:operation method="GET" code="GetFeature" href="http://localhost:8080/geoserver/evoodas/ows?service=wfs&version=2.0.0&request=GetFeature&typeNames=evoodas:SENTINEL2&CQL_FILTER=eoIdentifier='S2A_MSIL1C_20170907T103021_N0205_R108_T34WDB_20170907T103021'&outputFormat=application/json" type="application/json"/>
    </owc:offering>
    <owc:offering code="http://www.opengis.net/spec/owc-atom/1.0/req/wms">
      <owc:operation method="GET" code="GetCapabilities" href="http://localhost:8080/geoserver/evoodas/SENTINEL2/ows?service=wms&request=GetCapabilities&version=1.3.0&CQL_FILTER=eoParentIdentifier='S2A_MSIL1C_20170907T103021_N0205_R108_T34WDB_20170907T103021'" type="application/xml"/>
      <owc:operation method="GET" code="GetMap" href="http://localhost:8080/geoserver/evoodas/SENTINEL2/ows?service=wms&request=GetMap&version=1.3.0&LAYERS=SENTINEL2&BBOX=21.24866770605027,69.40946270850795,18.56357059885049,68.40717538289196&WIDTH=512&HEIGHT=512&FORMAT=image/jpeg&CQL_FILTER=eoIdentifier='S2A_MSIL1C_20170907T103021_N0205_R108_T34WDB_20170907T103021'" type="image/jpeg"/>
    </owc:offering>
    <owc:offering code="http://www.opengis.net/spec/owc-atom/1.0/req/wcs">
      <owc:operation method="GET" code="GetCapabilities" href="http://localhost:8080/geoserver/evoodas/SENTINEL2/ows?service=wcs&request=GetCapabilities&version=1.3.0&CQL_FILTER=eoParentIdentifier='S2A_MSIL1C_20170907T103021_N0205_R108_T34WDB_20170907T103021'" type="application/xml"/>
      <owc:operation method="GET" code="GetCoverage" href="http://localhost:8080/geoserver/evoodas/wcs?service=WCS&version=2.0.1&coverageId=SENTINEL2&request=GetCoverage&format=jpeg2000&subset=http://www.opengis.net/def/axis/OGC/0/Long(21.2486677061,18.5635705989)&subset=http://www.opengis.net/def/axis/OGC/0/Lat(69.4094627085,68.4071753829)&scaleaxes=i(0.1),j(0.1)&CQL_FILTER=eoIdentifier='S2A_MSIL1C_20170907T103021_N0205_R108_T34WDB_20170907T103021'" type="image/jp2"/>
    </owc:offering>

There are a few issue:

PR is beeing prepared to fix this.