Hi Adrien,
Stange no? I remember than one time my location definition doesn't work (because of dirty data). My solution was to difine the location pojection whit a .prj during th initialisation.
But It was on grass 6.3.

E

Le 21/08/2014 15:32, Adrien ANDRÉ a écrit :
Hi!

with GDAL i use EPSG:2972 to reproject any new raster i'm lead to work with.

gdalinfo says:

Coordinate System is:
PROJCS["RGFG95 / UTM zone 22N",
     GEOGCS["RGFG95",
         DATUM["Reseau_Geodesique_Francais_Guyane_1995",
             SPHEROID["GRS 1980",6378137,298.2572221010002,
                 AUTHORITY["EPSG","7019"]],
             TOWGS84[0,0,0,0,0,0,0],
             AUTHORITY["EPSG","6624"]],
         PRIMEM["Greenwich",0],
         UNIT["degree",0.0174532925199433],
         AUTHORITY["EPSG","4624"]],
     PROJECTION["Transverse_Mercator"],
     PARAMETER["latitude_of_origin",0],
     PARAMETER["central_meridian",-51],
     PARAMETER["scale_factor",0.9996],
     PARAMETER["false_easting",500000],
     PARAMETER["false_northing",0],
     UNIT["metre",1,
         AUTHORITY["EPSG","9001"]],
     AUTHORITY["EPSG","2972"]]

I've created the GRASS location from this same code, and all imports are
successful.

After exporting, the gdalinfo output is different:

Coordinate System is:
PROJCS["UTM Zone 22, Northern Hemisphere",
     GEOGCS["grs80",
         DATUM["unknown",
             SPHEROID["Geodetic_Reference_System_1980", 6378137,
298.257222101]],
         PRIMEM["Greenwich",0],
         UNIT["degree",0.0174532925199433]],
     PROJECTION["Transverse_Mercator"],
     PARAMETER["latitude_of_origin",0],
     PARAMETER["central_meridian",-51],
     PARAMETER["scale_factor",0.9996],
     PARAMETER["false_easting",500000],
     PARAMETER["false_northing",0],
     UNIT["metre",1,
         AUTHORITY["EPSG","9001"]]]

The PROJCS has lost its AUTHORITY parameter.
Would someone know why this happens? Is there a way to fix this?

Thanks in advance,

regards,

Adrien



_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user


--
Cordialement

Etienne DELAY(IDSkype : etienne.delay.tic)
PhD student on evolution of vineyard landscape
laboratoire GEOLAB UMR 6042 CNRS
Université de Limoges, FLSH
39E rue Camille Guérin 87036 Limoges
blog : http://elcep.legtux.org
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to