[OSM-dev] Python XML Parser on Windows
Frank Steggink
steggink at steggink.org
Wed Aug 7 06:00:28 UTC 2019
Hi Spencer,
I'd definitely recommend lxml: https://lxml.de/. One of the benefits of
lxml is that it is cross platform.
You can find Windows binaries for lxml and many other Python libraries
here: https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
Regards,
Frank
On 07-08-2019 06:20, Spencer Gardner wrote:
> I'm sort of resurrecting an old thread I started last year. I find
> Martijn's Overpass Python library to be very useful for small queries
> but I frequently run into usage limits. I'd like to query an XML
> download directly to save bandwidth and reduce consumption of Overpass
> resources, but I can't find any suitable Python libraries that are
> WIndows-ready. Is there something I'm missing? Has anyone else found a
> solution that works?
>
> By way of example, Geoff Boeing's excellent osmnx package appears to
> use a home-grown OSM parser due to lack of a cross-platform option.
> https://github.com/gboeing/osmnx/blob/eebbca0ed1d59a6dfe07c90493d54c0beab45145/osmnx/utils.py#L1181
>
> Thanks for any help
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev
More information about the dev
mailing list