[OSM-dev] Python XML Parser on Windows
Spencer Gardner
spencergardner at gmail.com
Wed Aug 7 13:39:14 UTC 2019
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 problem is the documentation doesn't provide much information
on how to install on Windows short of building from source, which is a
nonstarter for most users. What I'm really hoping for is an isolated Python
solution that can be installed via a simple pip command.
Have I misunderstood something about PyOsmium and libosmium?
On Wed, Aug 7, 2019 at 1:03 AM Jochen Topf <jochen at remote.org> wrote:
> 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. Uncompressed xml should be fine though.
>
> Or, even better, use the PBF file format which should be much faster
> than XML.
>
> Jochen
> --
> Jochen Topf jochen at remote.org https://www.jochentopf.com/
> +49-351-31778688
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20190807/4686293c/attachment.html>
More information about the dev
mailing list