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!

Query on 3D geometries not working with MapViewer 12c

CarstenL91Jun 25 2020 — edited Jul 2 2020

Hello,

i have a strange behaviour with the OracleMaps V1 Api after upgrading MapViewer 11.1.1.7.3_b140717 to 12.2.1.3.0.

In my testcase, i have created a geometry theme on 3D Point geometries.

I created a query of the geometry theme with one query parameter.

With Mapviewer 11g it works fine.

The request looks like this:

request: getfoi

version: 1.0

bbox: 735018.1087160148:6612108.238965038:739910.0784425773:6615165.72004414

width: 2048

height: 1280

theme: DS.Z_THEME_3D

paramnum: 1

param1: A    8

clickable: yes

area: yes

dstsrid: 3785

renderlabels: yes

mapcache: DS.TL_WMS_3785_21Z

boundingtheme: yes

mapwinwidth: 1702

mapwinheight: 1025

wholeimagelevel: -1

recenteronly: yes

cachefoi: yes

tid: 411_230903

aw: no

works fine, i saw the geometry in our map.

With 12c, i got two requests:

No. 1:

request: getfoi

version: 1.0

bbox: 709335.2676515616:6594374.848706249:748471.0254640616:6618834.697339062

width: 2048

height: 1280

theme: DS.Z_THEME_3D

paramnum: 1

param1: A    8

clickable: yes

area: yes

dstsrid: 3785

renderlabels: yes

mapcache: DS.TL_WMS_3785_21Z

boundingtheme: yes

mapwinwidth: 1702

mapwinheight: 1025

wholeimagelevel: -1

recenteronly: yes

cachefoi: yes

tid: 8_8179126773749139216

aw: no

it is almost identical to the request against 11g mapviewer, only bbox is slightly different.

we only got an empty foiarray as response.

No. 2:

request: getfoi

version: 1.0

bbox: 332653.59870624915:3649409.073315624:410925.11433124915:3698328.770581249

width: 2048

height: 1280

theme: DS.Z_THEME_3D

paramnum: 1

param1: A    8

clickable: yes

area: yes

dstsrid: 3785

renderlabels: yes

cachefoi: yes

tid: 8_8179126773749139216

aw: no

no geometrie in map and the map position is in algeria (because of second request with wrong bbox), not in germany.

i think, the second request was fired, because we got an empty foiarray in response from the first request.

Tests with 2D geometries are fine in both mapviewer versions.

So there would have to be changes in the MapViewer versions that affect 3D geometries.

Our Code looks like this:

var objThemeBasedFOI = new MVThemeBasedFOI('APQUERY_TEST', 'DS.Z_THEME_3D');

//... set min / max zoom level, click behaviour etc.

objThemeBasedFOI.setQueryParameters.apply(objThemeBasedFOI, ["A    8"]);

objMapview.addThemeBasedFOI(objThemeBasedFOI);

Do I have to pass more parameters to MVThemeBasedFOI if I want to query 3D geometries?

This post has been answered by CarstenL91 on Jul 2 2020
Jump to Answer
Comments
Post Details
Added on Jun 25 2020
4 comments
185 views