Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on a viewer in which I would like to show two related feature classes. If I select a feature of the first one, the related features of the second one should be selected too. I found a script on the Esri Resource Center:

My problem is that I can't get the relationship in de Mapserver. We run ArcGIS Server 9.3.1.

I created a "Relationship class" in the database. This relation works fine in ArcMap but when I make a service of it, it disappears. Secondly I created a "Relate" in ArcMap, which worked fine there, but disappeared in the service.

What is the solution to this problem? Is it possible to create a relationship with ArcGIS Server 9.3.1? The example server from the Resource Center uses ArcGIS SErver 10.

share|improve this question

For the Esri Web APIs, native support for relates became available at v10.

It would not be impossible to do relates, such as via a JDBC connection, but this would not support any of the geodatabase behaviour like subtypes.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.