Posts Tagged osm

Extracting amenity tag info from OSM database in 3 simple steps

Step 1. Download the needed OSM database in PBF format from here: planet.openstreetmap.org (be careful, it has huge size, many GBs)

Step 2. Install golang package for for decoding osm pdf files: github.com/qedus/osmpbf

Step 3. Use simple golang program below to decode whatever you need (let’s say you need to find all petrol stations)

Read the rest of this entry »

, , , , , , ,

Leave a comment