Skip to content
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

Admin Levels #36

Open
davetha opened this issue Sep 26, 2022 · 2 comments
Open

Admin Levels #36

davetha opened this issue Sep 26, 2022 · 2 comments

Comments

@davetha
Copy link
Contributor

davetha commented Sep 26, 2022

Hey!
I stumbled upon your project a week or so ago. I had a use case where I needed admin level and place in the geo properties. I noticed while I was adding the functionality in that you had a "TODO: add admin level for boundaries".

Do you want it to be an optional flag to add admin level and or place in, or are you fine with it being always on? My code with it always on is a fork located here: https://github.com/davetha/osm_extract_polygon I can alter it if needed and do a pull request whenever I hear from you :)

Another feature I added in that should likely be a cli flag is tacking on the relationship id in the file name. When you're dealing with larger OSM files and many admin levels, you'll often run into conflicting names... As I was typing this, I saw #33 so maybe no longer an issue :)

@AndGem
Copy link
Owner

AndGem commented Sep 27, 2022

Hi David!

Thanks a lot for reaching out. Definitely, I would be happy to accept a PR from you to add the first feature the project.

Regarding your second suggestion. I only added the relation id to duplicate regions, but now I consider adding it just by default to all of them just to make this consistent.

Thanks again, and looking forward to the PR :)

@davetha
Copy link
Contributor Author

davetha commented Sep 27, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants