How to show a many to many relationship in ArcGIS online

325
1
12-06-2019 01:29 AM
Highlighted
New Contributor III

I am working on a map of various building locations (this is a point feature class) and parcels (polygon feature class).  Each parcel has anywhere from 0 to many buildings on it (including parts of buildings) and conversely, each building is on one or more parcels (some buildings straddle parcels).  

I am creating the map in ArcGIS Pro and intend to publish it to ArcGIS Online.  I am working with a 'basic' license of Pro, so I don't think I can create relationship classes.

I would like to be able to relate the building and parcel information so that someone can view a parcel's information and see what buildings are related to it, and conversely view a building's information to see the related parcels.  

 

What is the best way to accomplish this?  

Reply
0 Kudos
1 Reply
Highlighted
Esri Regular Contributor

Hi Persefoni Kapotas‌,

If you publish both layers within the same hosted feature service, you can add a relationship class from the Rest/admin endpoint. This GeoNet post goes into it: https://community.esri.com/thread/226876-adding-related-table-to-arcgis-online-feature-layer 

Hope this helps,

-Peter

Reply
0 Kudos