[GRASSLIST:7020] Re: v.in.ogr

Hamish hamish_nospam at yahoo.com
Mon Jun 6 02:38:57 EDT 2005


> i imported a shape-file by v.in.ogr with the option to create a new
> location. the shape-file has the following projection-file (produced
> by arcgis)
> 
> PROJCS["MGI_M31",GEOGCS["GCS_MGI",DATUM["D_MGI",
> SPHEROID["Bessel_1841",6377397.155,299.1528128]],
> PRIMEM["Greenwich",0.0],
> UNIT["Degree",0.0174532925199433]],
> PROJECTION["Transverse_Mercator"],
> PARAMETER["False_Easting",0.0],
> PARAMETER["False_Northing",-5000000.0],
> PARAMETER["Central_Meridian",13.33333333333333],
> PARAMETER["Scale_Factor",1.0],
> PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]
> 
> then in the v.in.ogr-window the following text comes up:
> 
> >v.in.ogr dsn=/home/helli/grassimport/obere_donau.shp output=n2k
> >min_area=0.0001 snap=-1 location=odast
>  A datum name hermannskogel
> >(Militar_Geographische_Institut) was specified without transformation
> >>parameters.
> 
> >Now select Datum Transformation Parameters
> >Enter 'list' to see the list of available Parameter sets
> >Enter the corresponding number, or <RETURN> to cancel request
> >
> 
> my questions are now: 
> -where can i get the information for the right datum transformation
> parameters?

from the "list" .. the given info in the shp file is ambiguous, so you 
get to choose. 


> -where have i to enter "list" for displaying the
> available parameters?
> -where have  i to enter the corresponding  number?
>    -maybe in the v.in.ogr-window or in the grass-shell?


The module wants input. The Tcl GUI window can't take input. 

You'll have to run the command from the command line, it is listed 
at the top of the output above:

v.in.ogr dsn=/home/helli/grassimport/obere_donau.shp output=n2k \
    min_area=0.0001 snap=-1 location=odast


when it asks you to type "list", type it in the shell window.


long term the GUI structure or the module needs to be fixed to 
address this.


Hamish




More information about the grass-user mailing list