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!

different GetCapabilities response MapViewer 11g and 12c/19c

CarstenL91Jun 24 2020 — edited Jun 25 2020

Hi,

one of our customers has upgrade their mapviewer from 11.1.1.7.3_b140717 to 12.2.1.3.0.

They get different results from the WMS GetCapabilities request.

DataSource and wms configuration are the same.

http://localhost/mapviewer/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1

Response from MapViewer version 11:

...

<Layer>

<Title>Oracle WMS Layers by data source</Title>

<SRS>EPSG:4326</SRS>

<BoundingBox SRS="EPSG:4326" minx="-180." miny="-90." maxx="180." maxy="90." />

<Layer>

<Name>RAS</Name>

<Title>Datasource RAS</Title>

<Layer>

<Name>TEST_TL</Name>

<Title>Basemap B_TEST</Title>

<SRS>SDO:31467</SRS>

<LatLonBoundingBox minx="5.48417331490161" miny="46.9853953124346" maxx="15.4016714708542" maxy="54.0791177247376" />

<Layer queryable="1">

<Name>GT_TEST</Name>

<Title>GT_TEST</Title>

<SRS>SDO:31467</SRS>

<BoundingBox SRS="SDO:31467" minx="3270000.0" miny="5220000.0" maxx="3920000.0" maxy="6000000.0" resx="5.0E-4" resy="5.0E-4" />

<ScaleHint max="2501.0" />

</Layer>

...

</Layer>

...

</Layer>

</Layer>

...

Response from MapViewer version 12:

...

<Layer>

<Title>Oracle WMS Layers by data source</Title>

<SRS>EPSG:4326</SRS>

<BoundingBox SRS="EPSG:4326" minx="-180." miny="-90." maxx="180." maxy="90." />

<Layer>

<Title>Datasource RAS</Title>

<Layer>

<Name>TEST_TL</Name>

<Title>Basemap B_TEST</Title>

<SRS>SDO:31467</SRS>

<LatLonBoundingBox minx="5.48417331490161" miny="46.9853953124346" maxx="15.4016714708542" maxy="54.0791177247376" />

<Layer queryable="1">

<Name>GT_TEST</Name>

<Title>GT_TEST</Title>

<SRS>SDO:31467</SRS>

<BoundingBox SRS="SDO:31467" minx="3270000.0" miny="5220000.0" maxx="3920000.0" maxy="6000000.0" resx="5.0E-4" resy="5.0E-4" />

<ScaleHint max="2501.0" />

</Layer>

...

</Layer>

...

</Layer>

</Layer>

...

At first sight, the response seems to be identical.

On the same level as "<Title>Datasource RAS</Title>" is the <Name> element missing.

The example from the mapviewer 12c documentation contains the <Name> element.

https://docs.oracle.com/middleware/1213/core/JIMPV/vis_wms.htm#JIMPV9899

Our program needs the datasource of a layer and has interpreted it by the <Name> element.

Is it a bug or why the <Name> element is missing?

Is there another way to get the datasource name of a specific layer?

I also tested it with the 19c mapviewer and got the same result as the 12c mapviewer.

This post has been answered by Honglei Zhu-Oracle on Jun 25 2020
Jump to Answer
Comments
Post Details
Added on Jun 24 2020
3 comments
198 views