Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

WFS Themes not rendered with OracleMaps V2

CarstenL91Jul 23 2020 — edited Jul 24 2020

Hi,

we created a WFS Theme in mapbuilder.

https://www.wfs.nrw.de/geobasis/wfs_nw_inspire-flurstuecke_alkis

The geometries returned by this service are located in UTM32 (25832).

Our map is in GK2 (31466).

With OracleMaps V1 it works fine. It seems, that the V1 API transformed my map viewport to UTM32 before sending the request.

MapViewer Log:

FINEST: WFS POST XML: <?xml version="1.0" ?>

<wfs:GetFeature

   service="WFS"

   version="1.0.0"

   outputFormat="GML2"

   xmlns:wfs="http://www.opengis.net/wfs"

   xmlns:ogc="http://www.opengis.net/ogc"

   xmlns:gml="http://www.opengis.net/gml"

   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

   xsi:schemaLocation="http://www.opengis.net/wfs

                      http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">

   <wfs:Query typeName="INF01_P">

      <ogc:PropertyName>msGeometry</ogc:PropertyName>

      <ogc:PropertyName>BEGINN</ogc:PropertyName>

      <ogc:PropertyName>FKT</ogc:PropertyName>

      <ogc:PropertyName>INF</ogc:PropertyName>

      <ogc:PropertyName>LAND</ogc:PropertyName>

      <ogc:PropertyName>MODELLART</ogc:PropertyName>

      <ogc:PropertyName>NAM</ogc:PropertyName>

      <ogc:PropertyName>OBJART</ogc:PropertyName>

      <ogc:PropertyName>OBJART_TXT</ogc:PropertyName>

      <ogc:PropertyName>OBJID</ogc:PropertyName>

      <ogc:Filter>

        <ogc:BBOX>

          <ogc:PropertyName>msGeometry</ogc:PropertyName>

          <gml:Box srsName="EPSG:25832" xmlns:gml="http://www.opengis.net/gml">

               <gml:coordinates decimal="." cs="," ts=" ">365455.35787804,5725500.85776601 370816.359924163,5729768.28724233</gml:coordinates>

          </gml:Box>

        </ogc:BBOX>        

      </ogc:Filter>

   </wfs:Query>

</wfs:GetFeature>

Jul 22, 2020 10:49:33 AM oracle.sdovis.theme.WFSThemeProducer prepareData

INFO: Waiting XML response for POST request...

Jul 22, 2020 10:49:33 AM oracle.sdovis.theme.WFSThemeProducer prepareData

INFO: Processing XML POST response...

Jul 22, 2020 10:49:33 AM oracle.sdovis.theme.WFSThemeProducer prepareData

FINEST: Max features to be prepared: -1

Jul 22, 2020 10:49:33 AM oracle.sdovis.theme.WFSThemeProducer prepareData

INFO: Transforming styled features SRID 25832 to map SRID 31466

Jul 22, 2020 10:49:33 AM oracle.sdovis.theme.WFSThemeProducer prepareData

INFO: End of SRID transformation.

Jul 22, 2020 10:49:33 AM oracle.lbs.foi.ThemeRenderingThread render

FINER: 3 features loaded.724

Jul 22, 2020 10:49:33 AM oracle.lbs.foi.ThemeRenderingThread render

FINEST: Visual context master SRID set to: 31466

Jul 22, 2020 10:49:33 AM oracle.lbs.foi.ThemeRenderingThread render

FINER: Render FOI data as whole image:32

Jul 22, 2020 10:49:33 AM oracle.lbs.foi.ThemeRenderingThread render

FINER: Total time rendering foi data:32

Jul 22, 2020 10:49:33 AM oracle.lbs.mapserver.core.MapperPool freeMapper

FINER: freeMapper() begins...

Jul 22, 2020 10:49:33 AM oracle.lbs.foi.FOIServer renderFOILayer

FINEST: Total time spent in ThemeRenderingThread.run():759

Jul 22, 2020 10:49:33 AM oracle.lbs.foi.FOIServer renderFOILayer

FINE: Total time spent in FOIServer.renderFOILayer:759

Jul 22, 2020 10:49:33 AM oracle.lbs.foi.FOIServlet doPost

FINEST: ---- begin FOI response ----

{"foiarray":[{id:"INF01_P.DENWAT511T000qiB",gtype:"2001",imgurl:"../../mvimages/fig/fig3_92.png?refresh=-5993759786780403080",x:2575451.29409221,y:5727419.96728958,width:6,height:6},{id:"INF01_P.DENWAT511T000qnZ",gtype:"2001",x:2577165.94537916,y:5728557.25851438,width:6,height:6}],attrnames:null,themeMBR:[2575451.29409221,5727419.96728958,2578268.04633251,5728557.25851438],isWholeImg:true}

---- end FOI response ----

Jul 22, 2020 10:49:33 AM oracle.lbs.foi.FOIServlet sendGZippedResponse

FINEST: Sending FOI response in gzip format.

With OracleMaps V2 the request is identical, only that there is a wrong BoundingBox specified.

The coordinates are still in 31466.

MapViewer Log:

FINEST: WFS POST XML: <?xml version="1.0" ?>

<wfs:GetFeature

   service="WFS"

   version="1.0.0"

   outputFormat="GML2"

   xmlns:wfs="http://www.opengis.net/wfs"

   xmlns:ogc="http://www.opengis.net/ogc"

   xmlns:gml="http://www.opengis.net/gml"

   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

   xsi:schemaLocation="http://www.opengis.net/wfs

                      http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">

   <wfs:Query typeName="INF01_P">

      <ogc:PropertyName>msGeometry</ogc:PropertyName>

      <ogc:PropertyName>BEGINN</ogc:PropertyName>

      <ogc:PropertyName>FKT</ogc:PropertyName>

      <ogc:PropertyName>INF</ogc:PropertyName>

      <ogc:PropertyName>LAND</ogc:PropertyName>

      <ogc:PropertyName>MODELLART</ogc:PropertyName>

      <ogc:PropertyName>NAM</ogc:PropertyName>

      <ogc:PropertyName>OBJART</ogc:PropertyName>

      <ogc:PropertyName>OBJART_TXT</ogc:PropertyName>

      <ogc:PropertyName>OBJID</ogc:PropertyName>

      <ogc:Filter>

        <ogc:BBOX>

          <ogc:PropertyName>msGeometry</ogc:PropertyName>

          <gml:Box srsName="EPSG:25832" xmlns:gml="http://www.opengis.net/gml">

               <gml:coordinates decimal="." cs="," ts=" ">2568466.2946428573,5724396.088169643 2582733.705357143,5732377.911830357</gml:coordinates>

          </gml:Box>

        </ogc:BBOX>        

      </ogc:Filter>

   </wfs:Query>

</wfs:GetFeature>

Jul 22, 2020 10:50:17 AM oracle.sdovis.theme.WFSThemeProducer prepareData

INFO: Waiting XML response for POST request...

Jul 22, 2020 10:50:17 AM oracle.sdovis.theme.WFSThemeProducer prepareData

INFO: Processing XML POST response...

Jul 22, 2020 10:50:17 AM oracle.sdovis.theme.WFSThemeProducer prepareData

FINEST: Max features to be prepared: -1

Jul 22, 2020 10:50:17 AM oracle.lbs.dataserver.MapDataServlet sendGZippedResponse

FINEST: Sending MDS response in gzip format.

If the returned WFS data srid and my map srid are the same, it works fine with OracleMaps V2.

Is it an bug or what do I have to do, so that the correct BoundingBox is used in the V2 API?

Comments
Post Details
Added on Jul 23 2020
2 comments
225 views