Thanks for your information.
Problem is that osmium is not available for windows, and it seems too
difficult to install in linux....

On Sun, Nov 11, 2018 at 12:46 AM Sarah Hoffmann <[email protected]> wrote:

> On Sat, Nov 10, 2018 at 11:24:35PM +0900, koji higuchi wrote:
> > I mean if similar task could be done with  pyosmium?
>
> There is no built-in functionality for clipping by bounding box
> in pyosmium. Doing this in python would be far too slow.
>
> If you want to process a smaller extract with pyosmium, run
> 'osmium extract' first and then run your pyosmium script on
> the resulting file.
>
> Sarah
>
>
> > On Sat, Nov 10, 2018 at 11:23 PM Jochen Topf <[email protected]> wrote:
> >
> > > On Sat, Nov 10, 2018 at 09:47:40PM +0900, koji higuchi wrote:
> > > > There is  osmium extract command line available for osmium.
> > > >
> > > > osmium extract -b 11.35,48.05,11.73,48.25 germany-latest.osm.pbf \
> > > >     -o munich.osm.pbf
> > > >
> > > > How can I use it using the pyosmium?
> > >
> > > You don't. You use it using "osmium". That's why it is an "osmium"
> > > command line. Osmium is a command line tool, PyOsmium is a Python
> > > library based on the libosmium C++ library.
> > >
> > > Jochen
> > > --
> > > Jochen Topf  [email protected]  https://www.jochentopf.com/
> > > +49-351-31778688
> > >
>
> > _______________________________________________
> > dev mailing list
> > [email protected]
> > https://lists.openstreetmap.org/listinfo/dev
>
>
_______________________________________________
dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/dev

Reply via email to