On Wed, Aug 07, 2019 at 07:16:07AM +0200, Jochen Topf wrote:
> Hi!
> 
> PyOsmium https://osmcode.org/pyosmium/ should work on Windows.

Just stay away from bz2 compressed xml. That's known to be
broken on Windows. Uncompressed xml should be fine though.

Sarah

> On Tue, Aug 06, 2019 at 09:20:39PM -0700, Spencer Gardner wrote:
> > Date: Tue, 6 Aug 2019 21:20:39 -0700
> > From: Spencer Gardner <spencergard...@gmail.com>
> > To: dev@openstreetmap.org
> > Subject: [OSM-dev] Python XML Parser on Windows
> > 
> > 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@openstreetmap.org
> > https://lists.openstreetmap.org/listinfo/dev
> 
> 
> -- 
> Jochen Topf  joc...@remote.org  https://www.jochentopf.com/  +49-351-31778688
> 
> _______________________________________________
> dev mailing list
> dev@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev

_______________________________________________
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev

Reply via email to