Hexagon Geospatial

M.App Enterprise

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 
Posts: 90
Registered: ‎11-29-2015
Accepted Solution

Mobile: Error in geometry

[ Edited ]

Hey everyone,


On my mobile application I am not able to map the geometry.

As soon as I add the geometry-field to the Shell.xaml, 

<Field Name="linie_spa" Type="geometry" />


I receive an internal server error.



FYI: As you can see in the Screenshot, the coulumn linie_spa is indeed the geometry.



Thanks for your inputs and regards,


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

Re: Mobile: Error in geometry

Looks to me that you geometry field is undefined as for the geometry type, does it have a geom type and srid? in y case for example the geom will show as 'geometry(Point,3857)' thats a point geometry with coordinates in srid 3857

Posts: 90
Registered: ‎11-29-2015

Re: Mobile: Error in geometry

Thank you! 

I though id only have LineStrings in the dataset. Now that I have checked the data type, I have found some CompoundedCurves that are not supported yet.

Removing them from the table allows adding the geometry.


Must the data be stored in CRS 3857 to map it in the mobile app or can local coordinate systems be used?


Thanks and regards,


Posts: 98
Registered: ‎10-25-2016

Re: Mobile: Error in geometry

[ Edited ]

Local coordinate systems can be used.


If your geometry SRID doesn't match the coordinate system specified in the data source, you can set a different SRID via EpsgCode attribute:


<Field Name="linie_spa" Type="geometry" EpsgCode="" />




Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.