Hexagon Geospatial
MENU

GeoMedia

Search for an answer, post a question, or answer other users' questions in our GeoMedia support discussions. This discussion board is a great way to collaborate with industry peers around the world. It is intended for discussion and support of the GeoMedia Desktop and Add-on applications.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Contributor
Posts: 43
Registered: ‎06-22-2016
Accepted Solution

PostGIS sequences

 

I've created some spatial tables in a PostGIS database and after registering their metadada I've found out that GeoMedia isn't recognizing the ID fields as autonumber.

 

Why GeoMedia does not respect the association of a field to a sequence when its declared in the table creation?

 

sequence.png

 

Is  there any way to make it recognize the sequences previously defined without recreating the tables via GeoMedia? 

 

Technical Evangelist
Posts: 531
Registered: ‎09-11-2015

Re: PostGIS sequences

Try to declare the id field as type "serial", which is actually Postgres' shortcut for what you are doing with the sequence. It might work.

 

Pavel

Contributor
Posts: 43
Registered: ‎06-22-2016

Re: PostGIS sequences

 

Pavel, thank you for your help. It worked!

 

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.