[GRASS-SVN] r31504 - in grass/branches/develbranch_6/scripts:
m.proj v.in.garmin v.in.gpsbabel
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 24 01:37:44 EDT 2008
Author: hamish
Date: 2008-05-24 01:37:43 -0400 (Sat, 24 May 2008)
New Revision: 31504
Modified:
grass/branches/develbranch_6/scripts/m.proj/m.proj
grass/branches/develbranch_6/scripts/v.in.garmin/v.in.garmin
grass/branches/develbranch_6/scripts/v.in.gpsbabel/v.in.gpsbabel
Log:
explicitly declare datum (and so ellipsoid too)
Modified: grass/branches/develbranch_6/scripts/m.proj/m.proj
===================================================================
--- grass/branches/develbranch_6/scripts/m.proj/m.proj 2008-05-23 19:08:49 UTC (rev 31503)
+++ grass/branches/develbranch_6/scripts/m.proj/m.proj 2008-05-24 05:37:43 UTC (rev 31504)
@@ -132,7 +132,7 @@
unset IN_PROJ
if [ $GIS_FLAG_I -eq 1 ] ; then
- IN_PROJ="+proj=longlat +towgs84=0.000,0.000,0.000"
+ IN_PROJ="+proj=longlat +datum=WGS84"
if [ $GIS_FLAG_V -eq 1 ] ; then
g.message "Assuming LL WGS84 as input, current projection as output."
fi
@@ -151,7 +151,7 @@
unset OUT_PROJ
if [ $GIS_FLAG_O -eq 1 ] ; then
- OUT_PROJ="+proj=longlat +towgs84=0.000,0.000,0.000"
+ OUT_PROJ="+proj=longlat +datum=WGS84"
if [ $GIS_FLAG_V -eq 1 ] ; then
g.message "Assuming current projection as input, LL WGS84 as output."
fi
Modified: grass/branches/develbranch_6/scripts/v.in.garmin/v.in.garmin
===================================================================
--- grass/branches/develbranch_6/scripts/v.in.garmin/v.in.garmin 2008-05-23 19:08:49 UTC (rev 31503)
+++ grass/branches/develbranch_6/scripts/v.in.garmin/v.in.garmin 2008-05-24 05:37:43 UTC (rev 31504)
@@ -240,7 +240,7 @@
fi
#### set up projection info
-IN_PROJ="+proj=longlat +towgs84=0.000,0.000,0.000"
+IN_PROJ="+proj=longlat +datum=WGS84"
OUT_PROJ="`g.proj -jf`"
PROJ_TYPE=`g.region -p | grep 'projection' | cut -f2 -d" "`
if [ $PROJ_TYPE -eq 0 ] && [ $KEEP_WGS84 -ne 1 ] ; then
Modified: grass/branches/develbranch_6/scripts/v.in.gpsbabel/v.in.gpsbabel
===================================================================
--- grass/branches/develbranch_6/scripts/v.in.gpsbabel/v.in.gpsbabel 2008-05-23 19:08:49 UTC (rev 31503)
+++ grass/branches/develbranch_6/scripts/v.in.gpsbabel/v.in.gpsbabel 2008-05-24 05:37:43 UTC (rev 31504)
@@ -213,7 +213,7 @@
if [ -n "$GIS_OPT_PROJ" ] ; then
IN_PROJ="$GIS_OPT_PROJ"
else
- IN_PROJ="+proj=longlat +towgs84=0.000,0.000,0.000"
+ IN_PROJ="+proj=longlat +datum=WGS84"
fi
OUT_PROJ="`g.proj -jf`"
PROJ_TYPE=`g.region -p | grep 'projection' | cut -f2 -d" "`
More information about the grass-commit
mailing list