Select to view content in your preferred language

Combine line and point feature classes attributes

6061
22
Jump to solution
08-17-2015 08:15 AM
MathewSuran
Regular Contributor

I have a line feature class and point feature class in a gdb that is hosted on our server. 

I want to utilize these in a webapp using the REST url. 

I want to ultimately be able to only display a line feature and be able to select it to display both line and point attributes. 

After doing some searching, I think I need to create a relationship class in the gdb. 

Can anyone lend some expertise on best way to accomplish this?

0 Kudos
22 Replies
MathewSuran
Regular Contributor

By a simple mouse click at the location.

0 Kudos
williamcarr
Frequent Contributor

I've never tried to access any sort of click event in an info window or popup yet so I'm unsure of how to pull a feature attribute, but I'll give it a shot tomorrow to see if I can't figure something out.

0 Kudos
williamcarr
Frequent Contributor

Looks like I'm striking out. I'll post another thread in the JS forum and see if we can't Kelly and others to help us out. I'd really like to see a solution to this for personal reference.