Infrastructure Map Server General Discussion

Infrastructure Map Server General Discussion

Reply
Active Member
kalman.albert
Posts: 10
Registered: ‎09-30-2008
Message 1 of 3 (281 Views)

Ms Sql server feature class from query

281 Views, 2 Replies
07-12-2013 07:57 AM

In AIMS is not possible to select feature in the map if this come from query or view of Ms Sql Server Spatial 2008.

I can't understand this because the "query is hear of the database" how can we do GIS without query ?

 

Albert

 

Valued Mentor
jackie.ng
Posts: 279
Registered: ‎10-06-2008
Message 2 of 3 (268 Views)

Re: Ms Sql server feature class from query

07-14-2013 06:58 PM in reply to: kalman.albert

The FDO provider isn't very smart at picking up PKs from a view, so you have to send a "hint" to the FDO provider through the schema overrides mechanism that your view contains a unique identity property, thus allowing layers built off of it to be selectable.

 

http://themapguyde.blogspot.com.au/2010/08/using-fdo-schema-overrides.html

 

http://themapguyde.blogspot.com.au/2010/09/using-fdo-schema-overrides-redux.html

 

- Jackie

Valued Mentor
gluckett
Posts: 377
Registered: ‎10-10-2003
Message 3 of 3 (262 Views)

Re: Ms Sql server feature class from query

07-16-2013 05:13 AM in reply to: kalman.albert

Jackie, since this issue occurs on a regular basis (your first post on Schema Overrides is 3 years old),

do you think that putting an "Schema Override" tool within Maestro and Studio would be good solution? 

 

Many people use VIEWs in their Oracle and SQL Server databases to pull out spatial data and it would be great if we could choose the KEY ourselves within the AIMS Studio product (and Maestro of course).

 

 

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.