[GRASS-dev] v.in.osm working?

Markus Neteler neteler at osgeo.org
Tue Aug 22 11:37:34 PDT 2017


Hi,

does v.in.osm actually work? I am trying to import from a OSM PBF
file, for example:

http://download.geofabrik.de/europe/germany/berlin.html
--> berlin-latest.osm.pbf (51MB)

grass72 ~/grassdata/latlong_wgs84/osm
g.extension v.in.osm

v.in.osm input=Downloads/berlin-latest.osm.pbf table=lines
type=point,line output=roads --o
WARNING: Width for column osm_id set to 255 (was not specified by OGR),
         some strings may be truncated!
WARNING: Width for column name set to 255 (was not specified by OGR), some
         strings may be truncated!
WARNING: Width for column highway set to 255 (was not specified by OGR),
         some strings may be truncated!
WARNING: Width for column waterway set to 255 (was not specified by OGR),
         some strings may be truncated!
WARNING: Width for column aerialway set to 255 (was not specified by OGR),
         some strings may be truncated!
WARNING: Width for column barrier set to 255 (was not specified by OGR),
         some strings may be truncated!
WARNING: Width for column man_made set to 255 (was not specified by OGR),
         some strings may be truncated!
WARNING: Width for column other_tags set to 255 (was not specified by OGR),
         some strings may be truncated!
WARNING: Vector map <roads> already exists and will be overwritten
WARNING: No data base element files found

v.info -t roads
nodes=0
points=0
lines=0
boundaries=0
centroids=0
areas=0
islands=0
primitives=0
map3d=0

I was following the example given in
https://grass.osgeo.org/grass72/manuals/addons/v.in.osm.html

but nothing is imported. Is it to be used differently?

thanks,
Markus


More information about the grass-dev mailing list