Re: [OSM-dev] Python XML Parser on Windows

2019-08-07 Thread Sarah Hoffmann
On Wed, Aug 07, 2019 at 06:39:14AM -0700, Spencer Gardner wrote: > Thanks. I'm aware of PyOsmium, which appears to work on Windows but not > without installing a number of additional packages related to the > libosmium. I may go that route in the absence of easier alternatives, but > installation

Re: [OSM-dev] Python XML Parser on Windows

2019-08-07 Thread Spencer Gardner
Thanks. I'm aware of PyOsmium, which appears to work on Windows but not without installing a number of additional packages related to the libosmium. I may go that route in the absence of easier alternatives, but installation of libosmium doesn't seem very straightforward on Windows. Or perhaps the

Re: [OSM-dev] Python XML Parser on Windows

2019-08-07 Thread Jochen Topf
On Wed, Aug 07, 2019 at 08:30:07AM +0100, Sarah Hoffmann wrote: > 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.

Re: [OSM-dev] Python XML Parser on Windows

2019-08-07 Thread Sarah Hoffmann
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

Re: [OSM-dev] Python XML Parser on Windows

2019-08-07 Thread Jochen Topf
Hi! PyOsmium https://osmcode.org/pyosmium/ should work on Windows. Jochen 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 > To: dev@openstreetmap.org > Subject: [OSM-dev] Python XML Parser on Windows > > I'm sort

Re: [OSM-dev] Python XML Parser on Windows

2019-08-07 Thread Frank Steggink
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