[GRASS-user] Changing/matching the coordinates

Paulo van Breugel p.vanbreugel at gmail.com
Thu Jul 14 04:25:10 EDT 2011


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/20110714/0e4023fa/attachment.html


More information about the grass-user mailing list