[GRASS-user] Changing/matching the coordinates

giannis Nj netsagief at hotmail.com
Tue Sep 27 06:17:49 EDT 2011


Hi,

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

Hi,

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.


Cheers,

Paulo



2011/7/13 giannis Nj <netsagief at hotmail.com>







Hi,

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.



Thanks.
 		 	   		  

_______________________________________________

grass-user mailing list

grass-user at lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/grass-user



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110927/d459c21d/attachment.html


More information about the grass-user mailing list