01-16-2019 06:48 AM - edited 01-16-2019 07:06 AM
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,
Solved! Go to Solution.
01-17-2019 04:52 PM
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
01-17-2019 11:58 PM
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,
01-17-2019 12:16 AM - edited 01-17-2019 12:16 AM
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="" />