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
Regular Contributor
Posts: 178
Registered: ‎03-04-2016
Accepted Solution

GeometryCollection editing in Desktop client

Hello Community,

 

I'm working on a project where i need to enable point or line geometries creation on a single table.

When i use GeometryCollection in my Postgis DB, in the desktop app, with the SC_DIGITIZE I'm getting an error saying the LineString is not compatible with the geom type GeometryCollection.

 "Geometry type (LineString) does not match column type (GeometryCollection)‎"

The same goes with point.

Is there a way to make it work?

 

Thanks in advance

Kind regards

Elodie

 

 

 

 

Highlighted
Staff
Posts: 1,087
Registered: ‎10-18-2015

Re: GeometryCollection editing in Desktop client

hi Elodie,

 

I would suggest you to use the generic "Geometry" type within PostGIS to be able to capture different types of geometries.

 

Stefano

Stefano Turcato
Presale Engineer
Hexagon Geospatial
Highlighted
Regular Contributor
Posts: 178
Registered: ‎03-04-2016

Re: GeometryCollection editing in Desktop client

Thanks Stefano

 

It does work.

I've created the DB when working with another solution hence the GeometryCollection in the first place.

 

Hope you are doing awesome.

Take care.

Elodie