I am working to create a database and I need help figuring out the correct type of relationship classes to make.
I am tracking activity of ships. I have a point feature class of ports, a table of ship names, and I was hoping to create a table of activities ( unload, load up, cargo type ect) of these ships.
My original thought was to create a one to many between the ports and ships, then another one to many between the ships and activities.
But this results in duplicate ship records in the ship table.
Is this solvable with a many to many between the ports and ships maybe?
Thanks for any feedback
What is the relationship between ports and ships?
An attributed relationship class could also be an option for associating activities with a port/ship pairing. If it had dates in there, you could even have activities associated with each visit.
Another consideration is how this will be used downstream. For example, will this be used in Pro exclusively? Will it be used with mobile or web applications in ArcGIS Online? That kind of thing is important to consider because M:M relationships and attributed relationships may not do what you need in those contexts, support for them isn't as good as it is for simple 1:1/1:M relationships in my experience.
@matchjohn The modelling can be simplified : does ships have to be related to ports? what is the use case? what will you gain from this? perhaps eliminate this relationship; port at which ship is docked can be a domain list. one to many between the ships and activities makes sense.
Great suggestions from @MobiusSnake . agree that M:M relationship maintenance has some overhead.