Open Street Map pbf file rendering: how to?

Moderator: Forum moderators

Post Reply
geo_c
Posts: 2883
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2208 times
Been thanked: 880 times

Open Street Map pbf file rendering: how to?

Post by geo_c »

I recently downloaded some large open street map osm.pbf files and now I'm trying to determine the best way to render them. I notice a libosmpbf-java_1.3.3 package in the package manager and osmpbf-bin_1.3.3 along with various other tools.

Does anyone have any experience with this sort of thing that could offer advice.

The question being, what's an effective tool to either convert pbf to osm, or render pbf directly.

thanks
@geo_c

Last edited by Flash on Sat Oct 09, 2021 8:26 pm, edited 1 time in total.
Reason: Original title: Open Street Map pbf file rendering

geo_c
Old School Hipster, and Such

User avatar
norgo
Posts: 283
Joined: Mon Jul 13, 2020 6:39 pm
Location: Germany
Has thanked: 6 times
Been thanked: 111 times
Contact:

Re: Open Street Map pbf file rendering

Post by norgo »

@geo_c
for converting of pbf files into osm format you can use osmconvert commandline tool

Example
osmconvert europe.pbf >europe.osm

be warned the osm output file will be huge !

https://www.mankier.com/1/osmconvert

files of attached pet are compiled in SLC64
they are not tested in other distros !

(osmctools and merkaartor are installable via ppm in SLC64)

Attachments
osmctools-1.0-x86_64.pet
/usr/
/usr/bin/
/usr/bin/osmassignpoly
/usr/bin/osmchange
/usr/bin/osmconvert
/usr/bin/osmfilter
/usr/bin/osmgeobase
/usr/bin/osmposition
/usr/bin/osmrelpoly
/usr/bin/osmupdate
/usr/bin/pbftoosm
(227.96 KiB) Downloaded 54 times
geo_c
Posts: 2883
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2208 times
Been thanked: 880 times

Re: Open Street Map pbf file rendering: how to?

Post by geo_c »

Thanks @norgo! I'll check that pet out. See what I can do with it. I thought this question was going to fade into the sunset. You never know when someone will come though.

I'm running OsmAnd on my ungoogled android, and that's cool, although it seems like the search address function doesn't work very well at all. It returns lots of options for streets and intersections, but almost never the actual address. Maybe I'm not using it right.

geo_c
Old School Hipster, and Such

Post Reply

Return to “REQUESTS”