[GRASS-SVN] r42098 - grass-addons/vector/v.in.osm2

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 3 19:16:01 EDT 2010


Author: hamish
Date: 2010-05-03 19:16:01 -0400 (Mon, 03 May 2010)
New Revision: 42098

Modified:
   grass-addons/vector/v.in.osm2/v.in.osm
Log:
make it work (sort of)

Modified: grass-addons/vector/v.in.osm2/v.in.osm
===================================================================
--- grass-addons/vector/v.in.osm2/v.in.osm	2010-05-03 23:14:51 UTC (rev 42097)
+++ grass-addons/vector/v.in.osm2/v.in.osm	2010-05-03 23:16:01 UTC (rev 42098)
@@ -101,12 +101,12 @@
 fi
 
 if [ "$GIS_OPT_FEATURE" = "ways" ] ; then
-   FEAT="-t"
+   FEAT="-r"
 else
    FEAT="-w"
 fi
 
-v.in.gpsbabel $FEAT input="$TEMPFILE" output="$GIS_OPT_OUTPUT" format=osm
+v.in.gpsbabel $FEAT input="$TEMPFILE" output="$GIS_OPT_OUTPUT" format=osm  # --quiet
 
 if [ $? -ne 0 ] ; then
    g.message -e "Import failed."



More information about the grass-commit mailing list