[GRASS-user] Changing/matching the coordinates
netsagief at hotmail.com
Tue Sep 27 06:17:49 EDT 2011
I'm trying the v.proj procedure and i get this message in the command output:
v.proj --overwrite input=heraklion_lines_1_LINES location=shp mapset=testing dbase=/home/user/grassdata/shp output=heraklion_lines_1_LINES at testing
ERROR: Mapset <testing> in input location <shp> not found
(Tue Sep 27 13:13:01 2011) Command finished (0 sec).
The "testing" mapset in the "shp" location of course exists, so any idea why this error?
Date: Thu, 14 Jul 2011 10:25:10 +0200
Subject: Re: [GRASS-user] Changing/matching the coordinates
From: p.vanbreugel at gmail.com
To: netsagief at hotmail.com
CC: grass-user at lists.osgeo.org
Assuming the two layers come in different projections, you need to import them in different locations in your GRASS database with corresponding projections. If you do not already have locations in projections that match those of your layers, you can create new locations when opening GRASS (check 'create new location'). Also note that when you are in GRASS and want to import an layer that is in a projection different from the current location / mapset, r.in.gdal allows you to create a new location on the fly (check r.in.gdal).
When you have both layers in two different locations, you should open e.g., the location and mapset with the raster layer. Then use v.proj (menu: vector - develop vector map - reproject vector map) to reproject the vector layer into the current location. Or the other way around, when in the location/mapset with the vector layer, use or r.proj (menu: raster - develop raster map - reproject raster map) to reproject and copy the raster layer to your current location/mapset.
2011/7/13 giannis Nj <netsagief at hotmail.com>
i have one raster and one vector file and i want to match them at the diplay map. I want to change the coordinates of one of them, i guess specifying the right coordinate reference system can do the job. How can i do this at Grass? In Quantum is very easy, from the layer Properties, in Grass i can't find it.
grass-user mailing list
grass-user at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-user