[GRASS-dev] [GRASS GIS] #991: v.out.gpsbabel export fails with layer=2

GRASS GIS trac at osgeo.org
Mon Mar 8 15:54:20 EST 2010


#991: v.out.gpsbabel export fails with layer=2
----------------------------+-----------------------------------------------
 Reporter:  needelsd        |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect          |      Status:  new                      
 Priority:  normal          |   Milestone:  6.4.0                    
Component:  Translations    |     Version:  6.4.0 RCs                
 Keywords:  GPS GPX export  |    Platform:  Unspecified              
      Cpu:  Unspecified     |  
----------------------------+-----------------------------------------------
 It appears that v.out.gpsbabel fails when used with the layer=2 option.

 I am running William Kyngesburye's 6.4RC5-3 on Mac OS X Leopard.

 [A] All exports using v.out.gpsbabel generate the following error, even
 when the exports seem to have worked correctly.

 /Applications/GRASS-6.4.app/Contents/MacOS/scripts/m.proj: line 197: [: :
 integer expression expected

 Spearfish example:
 v.out.gpsbabel -w input=bugsites type=point output=bugsites.gpx

 [B] With several exports using layer=2 (including data generated from
 v.to.points), v.out.gpsbabel fails with the following message (this one is
 from a WGS84 lat/lon location).

 /Applications/GRASS-6.4.app/Contents/MacOS/scripts/m.proj: line 197: [: :
 integer expression expected
 ERROR: Error reading categories: [ 2.00000000 1.00000000 0.00000000]
 ERROR: Error reprojecting data

 Spearfish example:
 v.category input=bugsites output=bugsites_two option=add layer=2
 v.out.gpsbabel -w input=bugsites_two type=point output=bugsites_two.gpx

 /Applications/GRASS-6.4.app/Contents/MacOS/scripts/m.proj: line 197: [: :
 integer expression expected
 ERROR: Error reading categories: [ -109.48867688 0.00000902 0.00000000]
 ERROR: Error reprojecting data

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/991>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list