[GRASS-user] GRASS7.2: v.in.osm add-on / Windows 8

Helmut Kudrnovsky hellik at web.de
Mon Jan 23 06:11:49 PST 2017


"Peter Löwe" wrote
> Hi GRASS-User list,
> 
> I'm currently using GRASS7.2 on Windows 8.
> 
> The v.in.osm add-on
> (https://grass.osgeo.org/grass72/manuals/addons/v.in.osm.html) refuses to
> work in this setting. I would be grateful for any ideas how to overcome
> this.
> 
> Reference example from the man-page:
> v.in.osm input=saarland-latest.osm.pbf table=lines type=point,line
> output=roads \
>          where="highway is not null"
> 
> Unfortunately this does not work for me:
> v.in.osm input=c:\\hessen-latest.osm.pbf table=lines type=point,line
> output=test_00 where="highway is not null"
> - prints multiple warning that column widths for the attributes
> osm_id,name, barrier, highway,ref,address, is_in,place,man_made,other_tags
> will be truncated to 255 characters 
> - terminates with "WARNING: No data base element files found"
> 
> The pbf itself seems to be valid, the "-l" flag lists the tables as
> points,lines,multilinestrings,multipolygons and other_relations.
> 
> Any advice would be much appreciated!
> Peter

these warnings:

v.in.osm input=D:\dl\osm\saarland-latest.osm.pbf output=test1
type=point,line table=lines
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!

can be ignored, they come from ogr's osm driver.

the other warning/error, more investigation is needed



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GRASS7-2-v-in-osm-add-on-Windows-8-tp5304461p5304467.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list