-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow states to have a border attr? #33
Comments
I think this concept would fit in well with the package, given that it's time-insensitive geopolitical metadata about the states, that has practical programmatic uses.
@jcarbaugh, thoughts? |
I'm totally into this idea. |
This is the most academic/official source I could find, but other than being on a university website, there's no reason that it's more authoritative than other sources. We'll also have to make a call about single-point contact, like Arizona–Colorado; is that neighboring/bordering? I'd be inclined to say "no," but it doesn't seem like there's an authoritative answer. |
So, I think single-point-of-contact should not count as neighbors for our purposes. But here's another question: what about water-only borders? Should we consider Puerto Rico and the US VI to be neighbors? How about Minnesota and Michigan, Illinois and Michigan, or RI and New York? My basic thought here is that if a geospatial query against Census shapefiles would identify two entities as neighbors, then they should be considered as such; this would include water-only borders of their territories. Finally, what should we do about neighbors for the obsolete territories in |
Just ran into this case and wondering if it might be useful to others -
It might be handy to add a
borders
method on the state object that returns a list of states that border the state, e.g.<State:California>.borders
(or another more appropriate method name) would return[<State:Nevada>, <State:Oregon>, <State:Arizona>]
. For now I'll have to do a geospatial query to find the bordering states but it might be computationally expensiveThe text was updated successfully, but these errors were encountered: