tommyjcarpenter / osmtogeojson

This is a W-I-P reimplementation of osmtogeojson in pure python.
MIT License
1 stars 3 forks source link

Release to PyPi #4

Closed hbruch closed 5 years ago

hbruch commented 5 years ago

@tommyjcarpenter thx for creating this lib, which comes handy as geojson support of mvexel/overpass-api-python-wrapper is incomplete.

However, to provide a PR, it would be helpful, if osmtogeojson would be released to PyPi.

tommyjcarpenter commented 5 years ago

@hbruch hey thanks for your interest! I never released this to PyPi because I had no idea how complete it was.

This project started because we had a bunch of python projects that needed to convert overpass results to geojson. So we had ugly system calls all over the place calling out to the famous NPM package, which is great because that package works and seems complete, but is nasty from an efficiency perspective (Syscall for every conversion).

As I got into this project however, I realized there were all these crazy rules around "winding order" etc, that I didn't have time at the time to sit down and fix. Maybe if there was more interest I would, but I kinda abondoned this when I got down into those weeds out of lack of interest (it seems the NPM package is king),

hbruch commented 5 years ago

Same here, I'm writing a small python tool to generate geojson layers using overpass to display them in @joto's osmoscope-ui. I strive for a python-only solution, too.

tommyjcarpenter commented 5 years ago

ok it's there: https://pypi.org/project/osmtogeojson/

I want to note that this was still in infancy and by no means would have been considered release-worthy =). But, if you find it useful, I'm happy to help.

hbruch commented 5 years ago

Thanks a lot. As always, every new use case will rise new feature requests and uncover some issues, but having it published is already a good start :-)