[GRASS5] v.in.ogr behaviour

Stephan Holl holl at gdf-hannover.de
Thu Mar 23 07:55:04 EST 2006


Hello marcos,

On Thu, 23 Mar 2006 13:01:54 +0100 "marcos boullón magán"
<marcosboullon at gmail.com> wrote:

> Hello Stephan,
> 
> After applying the patch, the output is:
> 
> marcos at venux:~/cvsgrass$ cd grass6/vector/v.in.ogr/
> marcos at venux:~/cvsgrass/grass6/vector/v.in.ogr$ patch < ~/cho.patch
> marcos at venux:~/cvsgrass/grass6/vector/v.in.ogr$ make
> marcos at venux:~/cvsgrass/grass6/vector/v.in.ogr$ cd ../..
> marcos at venux:~/cvsgrass/grass6/vector/v.in.ogr$ su
> venux:/home/marcos/cvsgrass/grass6/vector/v.in.ogr# make install
> marcos at venux:~/cvsgrass/grass6/vector/v.in.ogr$ grass61
> 
> GRASS 6.1.cvs (spearfish60):~/cvsgrass/grass6/vector/v.in.ogr >
> v.out.ogr in=soils type=area dsn=/tmp/ olayer=soils
> Exporting 737 areas (may take some time) ...
>  100%
> 737 features written
> WARNING: 1 features without attributes written
> 
> GRASS 6.1.cvs (spearfish60):~/cvsgrass/grass6/vector/v.in.ogr >
> v.in.ogr dsn=/tmp/soils.shp out=test1
> ERROR: Projection of dataset does not appear to match current
> location.
> 
>        LOCATION PROJ_INFO is:
>        name: UTM
>        datum: nad27
>        nadgrids: conus
>        proj: utm
>        ellps: clark66
>        a: 6378206.4000000004
>        es: 0.0067686580
>        f: 294.9786982000
>        zone: 13
> 
>        cellhd.proj = 0 (unreferenced/unknown)
> 
>        You can use the -o flag to v.in.ogr to override this check.
>        Consider to generate a new location with 'location' parameter
> from input data set.

[...]

This is what I recognize as well. So where to look for the error now?

Perhaps someone with more knowledge about the projection/datum-stuff
could investigate the code?

Thank you 

	Stephan

-- 
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office      -     Mengendamm 16d      -     D-30177 Hannover
Internet: www.gdf-hannover.de      -      Email: holl at gdf-hannover.de
Phone : ++49-(0)511.39088507       -        Fax: ++49-(0)511.39088508




More information about the grass-dev mailing list