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

hello everyone, im trying to get some statistics data.count.nodes|ways|relations within bounding box utilizing osmium tool.

I know, I can extract box first then count the statistics, however this options is extremely time consuming.

Thanks, Vlad

asked 22 Apr '22, 19:37

lemba's gravatar image

lemba
11111
accept rate: 0%


If you want to use the existing commandline tool then no, what you want is not possible and does require two steps (which should not be so time consuming since you'd be loading only little data in the 2nd step). You can however code your own statistics program with the osmium library (in C++) or, if you are more comfortable with that, pyosmium.

permanent link

answered 23 Apr '22, 20:52

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

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:

×1
×1

question asked: 22 Apr '22, 19:37

question was seen: 743 times

last updated: 23 Apr '22, 20:52

Related questions

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