[GRASS-SVN] r62061 - in grass/trunk: lib/gis lib/vector/Vlib raster/r.in.gdal raster/r.in.lidar vector/v.in.lidar vector/v.in.ogr
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Sep 23 17:36:30 PDT 2014
Author: annakrat
Date: 2014-09-23 17:36:30 -0700 (Tue, 23 Sep 2014)
New Revision: 62061
Modified:
grass/trunk/lib/gis/proj1.c
grass/trunk/lib/gis/proj2.c
grass/trunk/lib/gis/proj3.c
grass/trunk/lib/gis/wind_scan.c
grass/trunk/lib/vector/Vlib/header.c
grass/trunk/raster/r.in.gdal/main.c
grass/trunk/raster/r.in.lidar/main.c
grass/trunk/vector/v.in.lidar/main.c
grass/trunk/vector/v.in.ogr/main.c
Log:
remove unused PROJECTION_SP
Modified: grass/trunk/lib/gis/proj1.c
===================================================================
--- grass/trunk/lib/gis/proj1.c 2014-09-24 00:12:29 UTC (rev 62060)
+++ grass/trunk/lib/gis/proj1.c 2014-09-24 00:36:30 UTC (rev 62061)
@@ -21,7 +21,7 @@
- PROJECTION_XY 0 - x,y (Raw imagery)
- PROJECTION_UTM 1 - UTM Universal Transverse Mercator
- - PROJECTION_SP 2 - State Plane (in feet)
+ - PROJECTION_SP 2 - State Plane (in feet) - not used, removed
- PROJECTION_LL 3 - Latitude-Longitude
- PROJECTION_OTHER 99 - others
Modified: grass/trunk/lib/gis/proj2.c
===================================================================
--- grass/trunk/lib/gis/proj2.c 2014-09-24 00:12:29 UTC (rev 62060)
+++ grass/trunk/lib/gis/proj2.c 2014-09-24 00:36:30 UTC (rev 62061)
@@ -36,8 +36,6 @@
return U_UNKNOWN;
case PROJECTION_UTM:
return U_METERS;
- case PROJECTION_SP:
- return U_FEET; /* TODO: what if U_USFEET as in CA and NC ? */
case PROJECTION_LL:
return U_DEGREES;
default:
@@ -61,8 +59,6 @@
return "x,y";
case PROJECTION_UTM:
return "UTM";
- case PROJECTION_SP:
- return _("State Plane");
case PROJECTION_LL:
return _("Latitude-Longitude");
case PROJECTION_OTHER:
Modified: grass/trunk/lib/gis/proj3.c
===================================================================
--- grass/trunk/lib/gis/proj3.c 2014-09-24 00:12:29 UTC (rev 62060)
+++ grass/trunk/lib/gis/proj3.c 2014-09-24 00:36:30 UTC (rev 62061)
@@ -102,7 +102,6 @@
case PROJECTION_XY:
case PROJECTION_UTM:
case PROJECTION_LL:
- case PROJECTION_SP:
return G__projection_name(n);
}
Modified: grass/trunk/lib/gis/wind_scan.c
===================================================================
--- grass/trunk/lib/gis/wind_scan.c 2014-09-24 00:12:29 UTC (rev 62060)
+++ grass/trunk/lib/gis/wind_scan.c 2014-09-24 00:36:30 UTC (rev 62061)
@@ -25,7 +25,6 @@
Supported projection codes (see gis.h):
- PROJECTION_XY
- PROJECTION_UTM
- - PROJECTION_SP
- PROJECTION_LL
- PROJECTION_OTHER
@@ -59,7 +58,6 @@
Supported projection codes (see gis.h):
- PROJECTION_XY
- PROJECTION_UTM
- - PROJECTION_SP
- PROJECTION_LL
- PROJECTION_OTHER
@@ -97,7 +95,6 @@
Supported projection codes (see gis.h):
- PROJECTION_XY
- PROJECTION_UTM
- - PROJECTION_SP
- PROJECTION_LL
- PROJECTION_OTHER
Modified: grass/trunk/lib/vector/Vlib/header.c
===================================================================
--- grass/trunk/lib/vector/Vlib/header.c 2014-09-24 00:12:29 UTC (rev 62060)
+++ grass/trunk/lib/vector/Vlib/header.c 2014-09-24 00:36:30 UTC (rev 62061)
@@ -490,7 +490,6 @@
Supported projections:
- PROJECTION_XY 0 - x,y (Raw imagery),
- PROJECTION_UTM 1 - UTM Universal Transverse Mercator,
- - PROJECTION_SP 2 - State Plane (in feet),
- PROJECTION_LL 3 - Latitude-Longitude
\param Map pointer to Map_info structure
@@ -512,7 +511,6 @@
\return PROJECTION_XY 0 - x,y (Raw imagery),
\return PROJECTION_UTM 1 - UTM Universal Transverse Mercator,
- \return PROJECTION_SP 2 - State Plane (in feet),
\return PROJECTION_LL 3 - Latitude-Longitude
*/
int Vect_get_proj(const struct Map_info *Map)
@@ -541,7 +539,6 @@
case PROJECTION_XY:
case PROJECTION_UTM:
case PROJECTION_LL:
- case PROJECTION_SP:
return G__projection_name(n);
case PROJECTION_OTHER:
/* this won't protect against differing "other" projections, so
Modified: grass/trunk/raster/r.in.gdal/main.c
===================================================================
--- grass/trunk/raster/r.in.gdal/main.c 2014-09-24 00:12:29 UTC (rev 62060)
+++ grass/trunk/raster/r.in.gdal/main.c 2014-09-24 00:36:30 UTC (rev 62061)
@@ -465,10 +465,6 @@
sprintf(error_msg + strlen(error_msg),
"cellhd.proj = %d (UTM), zone = %d\n",
cellhd.proj, cellhd.zone);
- else if (cellhd.proj == PROJECTION_SP)
- sprintf(error_msg + strlen(error_msg),
- "cellhd.proj = %d (State Plane), zone = %d\n",
- cellhd.proj, cellhd.zone);
else
sprintf(error_msg + strlen(error_msg),
"cellhd.proj = %d (unknown), zone = %d\n",
Modified: grass/trunk/raster/r.in.lidar/main.c
===================================================================
--- grass/trunk/raster/r.in.lidar/main.c 2014-09-24 00:12:29 UTC (rev 62060)
+++ grass/trunk/raster/r.in.lidar/main.c 2014-09-24 00:36:30 UTC (rev 62061)
@@ -419,10 +419,6 @@
sprintf(error_msg + strlen(error_msg),
"Dataset proj = %d (UTM), zone = %d\n",
cellhd.proj, cellhd.zone);
- else if (cellhd.proj == PROJECTION_SP)
- sprintf(error_msg + strlen(error_msg),
- "Dataset proj = %d (State Plane), zone = %d\n",
- cellhd.proj, cellhd.zone);
else
sprintf(error_msg + strlen(error_msg),
"Dataset proj = %d (unknown), zone = %d\n",
Modified: grass/trunk/vector/v.in.lidar/main.c
===================================================================
--- grass/trunk/vector/v.in.lidar/main.c 2014-09-24 00:12:29 UTC (rev 62060)
+++ grass/trunk/vector/v.in.lidar/main.c 2014-09-24 00:36:30 UTC (rev 62061)
@@ -439,10 +439,6 @@
sprintf(error_msg + strlen(error_msg),
"Dataset proj = %d (UTM), zone = %d\n",
cellhd.proj, cellhd.zone);
- else if (cellhd.proj == PROJECTION_SP)
- sprintf(error_msg + strlen(error_msg),
- "Dataset proj = %d (State Plane), zone = %d\n",
- cellhd.proj, cellhd.zone);
else
sprintf(error_msg + strlen(error_msg),
"Dataset proj = %d (unknown), zone = %d\n",
Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c 2014-09-24 00:12:29 UTC (rev 62060)
+++ grass/trunk/vector/v.in.ogr/main.c 2014-09-24 00:36:30 UTC (rev 62061)
@@ -768,10 +768,6 @@
sprintf(error_msg + strlen(error_msg),
"Dataset proj = %d (UTM), zone = %d\n",
cellhd.proj, cellhd.zone);
- else if (cellhd.proj == PROJECTION_SP)
- sprintf(error_msg + strlen(error_msg),
- "Dataset proj = %d (State Plane), zone = %d\n",
- cellhd.proj, cellhd.zone);
else
sprintf(error_msg + strlen(error_msg),
"Dataset proj = %d (unknown), zone = %d\n",
More information about the grass-commit
mailing list