Questions tagged [osmium]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
35 views

OSMIUM deleted column conflict with OSM

The following code used to extract the data from a history file. import osmium class CounterHandler(osmium.SimpleHandler): def __init__(self): osmium.SimpleHandler.__init__(self) ...
0
votes
0answers
15 views

Enable Handler Class Methods to Yield Instance Attribute in Pyosmium

This question is regarding the package pyosmium specifically. I was just wondering if the following functionality is possible, and if not how it could be implemented. I want to stream/yield certain ...
1
vote
0answers
321 views

Error when importing merged osm.pbf files into nominatim's PostgreSQL database

Im using Nominatim 3.3 (https://github.com/mediagis/nominatim-docker/tree/master/3.3) within docker. I already imported succesfully 2 regions (not together, my PostgreSQL database contained one region ...
0
votes
1answer
46 views

Exclude geographic extent of an OSM file

Osmium and Osmosis command tools have the capability of extracting a geographic extent from an OSM file. osmosis --read-xml test.osm --tee 1 --bounding-box left=15 top=46 --write-xml extract_test....
0
votes
0answers
59 views

Filter geofabrik to Mapbox Style

GeoFabrik's extracts - as expected - have a massive amount of unnecessary information for most applications. Filtering this information is a critical step to decrease the map's size, especially for ...
0
votes
2answers
252 views

Retrieve OSM changeset information (pyosmium)

I would like to ask if there's an easy way to query OSM changesets' information like user, timestamp, comment and hashtags in that changeset. In particular I would like to retrieve all the user names ...
1
vote
0answers
43 views

Adding location points to a graph of roads using osmium and finding the closest roads

I am using c++ 11 and libosmium 2.13.1. In my project I need a graph of roads of an area and I I have figured that part out. My problem is with adding locations to that graph that are not located on ...
1
vote
1answer
388 views

How to merge OSM files with same ID?

After read this How merge osm files with same ID objects? I can't get any conclusion so please don't flag as duplicate. I have some PBF files came from NASA SRTM ( http://katze.tfiu.de/projects/...
2
votes
0answers
325 views

How to repair OSM file with missing nodes

I'm using osmium-tool to create OSM history extracts, and then import then into Postgres using osm2po. This is causing problems when the ways do not have referential integrity (i.e., some nodes are ...
0
votes
0answers
214 views

Parsing osmChange files with Pyosmium

I'm trying to use Pyosmium to parse changesets from an osmChange file (to replicate the osmium changeset-filter [1] functionalities): class MyHandler(osmium.SimpleHandler): ... ...