Hexagon Geospatial
MENU

ERDAS APOLLO & ECW/JP2

Wondering how others have configured their ERDAS APOLLO server or what data they are crawling? The ERDAS APOLLO Discussion board is a place to find information, share ideas and more. Join the community, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Reply
Frequent Contributor
Posts: 114
Registered: ‎05-25-2016

Customize Apollo WMS GetFeatureInfo response

 

We are using WMS GetFeatureInfo method from Apollo Pro and we will like to know if it there is a way to control which fields of the data origin are included in the response, specially to avoid geometry field to be included in the json response.

 

 

Technical Evangelist
Posts: 847
Registered: ‎07-30-2015

Re: Customize Apollo WMS GetFeatureInfo response

From my understanding GetFeatureInfo will return the DN value or attribute like the following case.

 

http://vmapollosupport/ApolloCatalogWMS/service.svc/get?service=WMS&version=1.3.0&REQUEST=GetFeatureInfo&INFO_FORMAT=text/html&BBOX=33.9098742747943,-116.78345414400245,34.01078569521728,-116.44684428306942&SRS=EPSG:4326&CRS=EPSG:4326&QUERY_LAYERS=test&WIDTH=300&HEIGHT=300&i=100&j=150&LAYERS=test&STYLES=default

 

 

wfs.jpg

 

best
haiyan

Highlighted
Frequent Contributor
Posts: 114
Registered: ‎05-25-2016

Re: Customize Apollo WMS GetFeatureInfo response

Hi Haiyan...

 

GetFeatureInfo will indeed return the value of the attributes of a particular map object (within the tolerance, the question here is if there is any way to select which attributes Apollo will return, specifically from a vector layer. Right now, if a query my vector layer, the answer includes all the fiends in the shape/table, including the geometry column.

 

The query we use is simillar to the one you posted, with the sole difference that we are using json as INFO_FORMAT

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.