Hallo <\/P>
Ik weet niet zeker of dit het forum is waar ik deze vraag moet stellen, maar ik zoek advies over wat de beste manier is om een relatie te creëren tussen een shapefile en een andere tabel? Specifiek heb ik een geodatabase die een shapefile van geologische breuken bevat en daarnaast een Excel-tabel met een lijst van referenties specifiek voor elke breuk in mijn database. Ik heb gekeken of de Arcmap-tools Join of Relate nuttig kunnen zijn, of dat het gebruik van Relationship Class en Create attachment tools in Arc Catalogue beter zou zijn. <\/P>
<\/P>
In principe probeer ik hetzelfde type database te maken als de US Quaternary Faults interactieve kaart (link hier ArcGIS Web Application<\/A>) met de bijbehorende pop-ups. <\/P>In deze applicatie is er een sectie gerelateerde tabellen die de Fault Reference-tabel heeft toegevoegd aan elke breuk (zie afbeelding hieronder)_. Ik wil dit graag namaken, maar ik weet niet hoe of wat de beste manier is om dit te doen? <\/P><\/P>Als iemand mij vriendelijk in de juiste richting kan wijzen, zou ik dat zeer op prijs stellen.<\/P>Dank je wel<\/P>Jessica <\/P><\/BODY><\/HTML>
In deze applicatie is er een sectie gerelateerde tabellen die de Fault Reference-tabel heeft toegevoegd aan elke breuk (zie afbeelding hieronder)_. Ik wil dit graag namaken, maar ik weet niet hoe of wat de beste manier is om dit te doen? <\/P>
Als iemand mij vriendelijk in de juiste richting kan wijzen, zou ik dat zeer op prijs stellen.<\/P>
Dank je wel<\/P>
Jessica <\/P><\/BODY><\/HTML>
Do both tables have a one to one relationship or a one to many?
It would be a one to many relationship - i believe. The idea is to use the fault Id (Fault_Name) and link that to the references associated with that fault. The end product is to have this show up on the Interactive Map as seen in the US Fault Maps sent in my original message ArcGIS Web Application
This is going to be my Fault Database ...
This is the Excel table i would like to be link to each Fault Name...
I hope this helps.
Hi Garrett
Any ideas on which way I should proceed with this? When I look at the US Fault Map they seem to have a common Fault Id that is also linked to the reference_Id. I am hoping to so something link this as well.
Cheers
jess
Jess,
First, I would convert my excel to a table using the Excel to Table tool, just to get it in ESRI format. Excel To Table—Conversion toolbox | ArcGIS Desktop
Then, I would create a relationship class between your shapefile and the new table. Creating a simple relationship class—Help | ArcGIS for Desktop
Lastly, publish your map as a hosted feature service with the Feature Access option enabled. Publish hosted feature layers—ArcGIS Online Help | Documentation
When you click on Faults then you should be able to see your related records in the popup or in the attribute table.
I found this is how someone did it on stack exchange: How to add table of non-geo data to Web AppBuilder for ArcGIS? - Geographic Information Systems Stack Exchange
Let me know if it works for you.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.