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 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.

We do provide precomiled binaries for Windows (64bit), so you
should be able to just 'pip install osmium' without building libosmium
yourself.

I admit that this is not well tested because we don't have a maintainer
with a Windows development platform (and experience with it). If you run
into trouble, feel free to file an issue and we see what we can do.

Sarah


> 
> Have I misunderstood something about PyOsmium and libosmium?
> 
> On Wed, Aug 7, 2019 at 1:03 AM Jochen Topf <joc...@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  joc...@remote.org  https://www.jochentopf.com/
> > +49-351-31778688
> >

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

Reply via email to