[GRASS-dev] Re: Error on a winGRASS installer - With some projections

António Rocha antonio.rocha at deimos.com.pt
Mon Nov 8 10:25:20 EST 2010


I have just forgot to place the error that r.in.gdal gives me:

No projection name! Projection parameters likely to be meaningless.
Datum <unknown> not recognised by GRASS and no parameters found
ERROR: Projection of dataset does not appear to match current location.

Location PROJ_INFO is:
name: Transverse Mercator
proj: tmerc
datum: etrs89
ellps: grs80
lat_0: 39.66825833333333
lon_0: -8.133108333333334
k: 1
x_0: 0
y_0: 0
towgs84: 0,0,0,0,0,0,0
no_defs: defined

Dataset PROJ_INFO is:
ellps: wgs84

ERROR: proj

You can use the -o flag to r.in.gdal to override this check and use the 
location definition for the dataset.
Consider generating a new location from the input dataset using the 
'location' parameter.



António Rocha wrote:
> Hi
>
> this is "almost" a follow-up from the messages that me and Helmut 
> exchanged a couple of weeks ago 
> (http://lists.osgeo.org/pipermail/grass-dev/2010-November/052549.html 
> ; http://lists.osgeo.org/pipermail/grass-dev/2010-November/052554.html ).
> Ok I have successfully created my installer and I trid to run my 
> Python scripts with the gdalwarp interface and it runs "fine. What I 
> do is:
> 1- Check image projection system
> 2- If different from location, I use gdalwarp
> 3- then run r.in.gdal and import
> Ok this runs just fine for UTM zones but, when I tried with EPSG3763 
> (ETRS89/Portugal TM06), a system that was inserted in PROJ4 in March, 
> it is not working. I mean, r.in.gdal does not recognizes the system. I 
> mean, gdalwarp reprojects my image (in this case from LATLON to 
> EPSG3763) but, when it comes to r.in.gdal reads, that does not happen 
> and I get the following errror:
>
>
> In my WinGRASSOSGEO4W compilation it runs just fine and for other 
> projections (e.g. UTM) it runs just fine. Does anyone as a tip about 
> this?
>
> PS- I created this installer based on osgeo4W and grass6.4. from Early 
> September and GRASS-Installer.nsi; GRASS-Packager.bat from 2 weeks ago...
>
> Thanks
> Antonio
>
>
>
>



__________ Information from ESET NOD32 Antivirus, version of virus signature database 5601 (20101108) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




More information about the grass-dev mailing list