0

Hi, I am trying to convert a .osm.pbf file into .shp file so that it could opened in ArcGIS 10.1 for network analysis.

I am following the steps as stated in openstreetmap wiki: http://wiki.openstreetmap.org/wiki/User:Bgirardot/How_To_Convert_osm_.pbf_files_to_Esri_Shapefiles

I am at the second dot: GDAL. I tried to put my file into the reader column of FME_Quick Translator (I was directed to here after downloaded GDAL 1.10), however there is no .osm.pbf format that I can choose. Do you have any idea which I should I put instead? Or some of my actions have gone wrong?

If I were to leave it blank ( letting the translator to read it automatically), then putting Esri Shapefile in the writer column and run it, error occurred: Value not specified for kDLG_ProjParmA1. Anyone has any idea what might be the reason?

Your help will be truly appreciated, thanks in advance!

asked 05 Jul '16, 13:09

Rachel%20Hoo's gravatar image

Rachel Hoo
11112
accept rate: 0%

Why are you trying to use FME Quick Tranlator? The instructions you link to are for GDAL, more specifically the command line utility ogr2ogr. Did you install that program? Can you run it from the command line as instructred?

(05 Jul '16, 15:39) Frederik Ramm ♦

One Answer:
0

We can use ogr2ogr to convert .osm.pbf to .shp file

ogr2ogr -f "ESRI Shapefile" -skip CGK.osm.shp CGK.osm.pbf

permanent link

answered 04 Apr '19, 10:25

howtobeahacker's gravatar image

howtobeahacker
251
accept rate: 0%

edited 04 Apr '19, 10:25

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:

×585
×294
×51
×33
×9

question asked: 05 Jul '16, 13:09

question was seen: 7,971 times

last updated: 04 Apr '19, 10:25

powered by OSQA