-
Notifications
You must be signed in to change notification settings - Fork 6
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
[Admins] Add Area type and allow only Point on Locality #72
Conversation
This was added few weeks ago, didn't realise it was mentioned here...
With new relations we can now add multiple different geometries to one admin, here we are changing modeling for localities to always have point and in case it also has polygon adds it via new Area type which references Locality via `localityId` property.
fc52245
to
0e4c01d
Compare
View the changes to documentation and schema here: https://dfhx9f55j8eg5.cloudfront.net/pr/72 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me — would calling it administrativeArea
instead of just area
be more descriptive?
area
is a bit of an overloaded term in geospatial, so I think it could be helpful to more clearly delineate that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, left couple minor comments, thanks!
Also renamed `maritime` to `isMaritime` and moved to `defs.yaml` in `admins/` Also added to `locality.mdx` text mentioning where to get polygons, to help new comer faster understand this pretty important information when looking at admins :)
I kind of agree but also it's within the admins theme so I feel like adding |
Yeah — the only problem is that At least, that's how it's currently in the schema, but maybe it doesn't matter if |
Interesting. I actually didn't think |
I just want to add I"m super happy with current name of |
Sounds good. I guess for consistency, should |
Tristan raised concern regarding what would landmass version of polygon represent, simplified area or not(because not simplified is very big and complex geometry) and all this can be calculated by user by removing Coastline from maritime Polygons... Hence let's have broader discussion over next few weeks which polygons we want to include in Overture...
FYI, I removed |
Got all needed approvals and resolved all open comments |
With new relations we can now add multiple different geometries to one locality, here we are changing modeling for localities to always have point and in case it also has polygon adds it via new Area type which references Locality via
localityId
property.Also included few minor changes into this PR:
context
property/relation name tocontextId
to reflect new guidance