Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Occasional Contributor
Posts: 18
Registered: ‎11-11-2015

Issue: Registering the Events

[ Edited ]
$GP.events.featureInfo.completed.register(function (result) {
console.log("GP.events.featureInfo.completed");
if(result.isFinal) return true;
},
function (err) {
console.log("Error : GP.events.featureInfo.completed");
});

 

Error response : 

 

{isFinal: false, datasetId: "a62b2b07-85db-40b3-96ed-18027f326a6e", 
id: "{http://www.intergraph.com/infrastructure/gml}V_POLE_PT",
message: "Assertion failed: localName should be FeatureCollection", success: false} = $1
Highlighted
Technical Evangelist
Posts: 184
Registered: ‎07-30-2015

Re: Issue: Registering the Events

It looks to me as a problem in GML parsing. Is expects a FeatureCollection and gets something else.

 

Are you using a GWM WFS?

Highlighted
Occasional Contributor
Posts: 18
Registered: ‎11-11-2015

Re: Issue: Registering the Events

[ Edited ]

No Lukasz, we have our own WFS services. Does GWM WFS working properly?

Highlighted
Occasional Contributor
Posts: 18
Registered: ‎11-11-2015

Re: Issue: Registering the Events

[ Edited ]
Highlighted
Occasional Contributor
Posts: 18
Registered: ‎11-11-2015

Re: Issue: Registering the Events

For All WMS Layers working properly, where as for WFS layers throwing same exception,
Highlighted
Technical Evangelist
Posts: 184
Registered: ‎07-30-2015

Re: Issue: Registering the Events

The reponse seems to be fine.

 

Can you send me url, username, password to your configuration service?

Please remember that this forum is public and you may want to send it using a private message or via email.

Highlighted
Technical Evangelist
Posts: 184
Registered: ‎07-30-2015

Re: Issue: Registering the Events

It seems that a geometry of type MultiPoint isn't parsed correctly. We'll fix it.

Highlighted
Technical Evangelist
Posts: 184
Registered: ‎07-30-2015

Re: Issue: Registering the Events

MultiPoint geometry support is added in build 15.1.54.