NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi there,

I am wondering if Osmium would be a good tool to use to filter by bounding box? I had a poke around in the documentation but it seems more geared up for tag filtering and I could not find any examples.

Stephen

asked 10 Sep '15, 16:51

stev's gravatar image

stev
51337
accept rate: 0%


Osmium is first an foremost a library and not a tool; there's a couple command-line programs (notably osmium-tool) that make use of some of Osmium's capabilities but mostly Osmium is for programmers. You could implement a bounding box filter with Osmium - but why not use what is already there, namely Osmosis (written in Java), osmconvert (in C), or osm-history-splitter (C++ and based on the older version of Osmium).

permanent link

answered 10 Sep '15, 19:37

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

OK, thanks, just checking that I hadn't missed something. I wanted to use a "best-in-class" tool (performance-wise) to compare with what I'm doing on scaling out with Hadoop etc. And I think Osmium could be that but I'll take a look at the older tools. Thanks.

(13 Sep '15, 11:19) stev

The other answer ist by a bit outdated. Osmium tool provides an "extract" command which will filter by bounding box (or polygon).

permanent link

answered 16 Dec '21, 18:56

Jochen%20Topf's gravatar image

Jochen Topf
5.2k55074
accept rate: 31%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×66
×38
×11

question asked: 10 Sep '15, 16:51

question was seen: 4,973 times

last updated: 16 Dec '21, 18:56

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum