Posts Tagged open street map

Extracting amenity tag info from OSM database in 3 simple steps

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

Step 2. Install golang package for for decoding osm pdf files:

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