R: [GRASS-user] New location with .prj file in tcltk

Aldo Clerici aldo.clerici at unipr.it
Wed Mar 30 11:07:08 EDT 2011

Many thanks Maris,
specifying the .shp file instead of the .prj one, the new location is created.
In my opinion it is not necessary to implement the direct introduction of a .prj file, but it could be useful to specify somewhere (in the manual?) that the file to be used is the .shp one.
A. Clerici   

-----Messaggio originale-----
Da: Maris Nartiss [mailto:maris.gis at gmail.com] 
Inviato: mercoledì 30 marzo 2011 14:52
A: Aldo Clerici
Cc: grass-user at lists.osgeo.org
Oggetto: Re: [GRASS-user] New location with .prj file in tcltk

it's not a bug. It's a feature! Or - in this case - a missing feature.

TCL/Tk startup screen pases provided file to g.proj as georef
parameter. g.proj expects file to be a georeferenced file (i.e.
GeoTIFF, ESRI Shapefile etc.) and not plain projection file.

If there's a demand for creating new locations by .prj files, It's
possible to implement such feature in TCL/Tk startup screen (just pass
file as wkt option). Somebody has to open a wish item the intracker
for it and then someday it might happen, but not for 6.4.1.


2011/3/29, Aldo Clerici <aldo.clerici at unipr.it>:
> Dear GRASS users and developers,
> I'm trying to create a new location with the "Georeferenced file" button  in
> the "Welcome"  window of the tcltk GUI, but an error message is output (see
> error.png in attachment).
> I tried with the gdc.prj file of the North Carolina data set and with other
> .prj files, and with three different releases of 6.4.0.
> With the "Location wizard" of the wxpython GUI the location is correctly
> created.
> Is this a bug of the tcltk GUI?
> Greetings
> Aldo Clerici
> Parma University

More information about the grass-user mailing list