i want to create a new temporary location (and mapset) with a shellscript in batch mode.
i know you can do it with r.in.gdal if you have already one existing location and a raster file.
but i have no location and only points in ascii format and the projection can change.
lg
michaela
--
Institut fuer Geographie und Regionalforschung
Universitaet Wien
Kartografie und Geoinformation
Departement of Geography and Regional Research
University of Vienna
Cartography and GIS
the only thing, you have to do, is to create directory within grass
database, with one subdirectory -- PERMANENT with all necessary files
(DEFAULT_WIND, PROJ_INFO, ...) files in it
jachym
P.S. Ich werde am Wochenende im Wien sein -- vielleicht könnte ich dir
dort helfen
On Tue, Nov 15, 2005 at 09:46:38AM +0100, Michaela Kinberger wrote:
dear list,
i want to create a new temporary location (and mapset) with a
shellscript in batch mode.
i know you can do it with r.in.gdal if you have already one existing
location and a raster file.
but i have no location and only points in ascii format and the
projection can change.
lg
michaela
--
Institut fuer Geographie und Regionalforschung
Universitaet Wien
Kartografie und Geoinformation
Departement of Geography and Regional Research
University of Vienna
Cartography and GIS
is there a documentation about the parameters necessary for the fiffrent projections known in GRASS.
in /usr/local/grass6.0.1/etc i found the file projections but in PROJ_INFO the is an number for the projection.
lg
michaela
Jachym Cepicky wrote:
the only thing, you have to do, is to create directory within grass
database, with one subdirectory -- PERMANENT with all necessary files
(DEFAULT_WIND, PROJ_INFO, ...) files in it
jachym
P.S. Ich werde am Wochenende im Wien sein -- vielleicht könnte ich dir
dort helfen
On Tue, Nov 15, 2005 at 09:46:38AM +0100, Michaela Kinberger wrote:
dear list,
i want to create a new temporary location (and mapset) with a shellscript in batch mode.
i know you can do it with r.in.gdal if you have already one existing location and a raster file.
but i have no location and only points in ascii format and the projection can change.
lg
michaela
--
Institut fuer Geographie und Regionalforschung
Universitaet Wien
Kartografie und Geoinformation
Departement of Geography and Regional Research
University of Vienna
Cartography and GIS
Something Frank said on the PROJ list recently kind of hinted that there might be some new programmatic way of finding out about the parameters needed for different projections: http://lists.maptools.org/pipermail/proj/2005-November/001876.html
But I haven't had time to investigate it.
Usually you just need to run g.setproj and type "list" if you don't
know what to choose. see also g.proj.
Yes g.setproj is interactive only so can't be used from a shell script. g.proj has become quite versatile in creating new locations from various sources of projection information; have you looked through the examples in the g.proj man page?