M.App Enterprise Discussions

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Contributor
Posts: 25
Registered: ‎06-18-2018

Geometry Validation

Hi Community,

 

In M.App Enterprise Rich Client, I want to check if a digitized polygon is inside another polygon. I can acheive this at the DB level but is there some JavaScript validation etc available in MAE to acheive this on the fly? I'm just wondering, I can continue using my current approach if not - thanks.

 

Regards,

Ryan

Highlighted
Technical Evangelist
Posts: 832
Registered: ‎11-12-2015

Re: Geometry Validation

[ Edited ]
 
Highlighted
Staff
Posts: 1,131
Registered: ‎10-18-2015

Re: Geometry Validation

Hi Ryan,

 

for this kind of validation you would need to implement a validation handler. You can refer to the GMSC dev documentation here (there is actually a ready to use sample in the.NET API doc):
https://community.hexagongeospatial.com/t5/SDK-API/Starting-with-2018-Update-3/ta-p/9

 

HTH,

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial