[GRASS-dev] grass6.2?

Glynn Clements glynn at gclements.plus.com
Sun Jun 11 20:19:56 EDT 2006


Michael Barton wrote:

> > One difference which should probably be stated more explicitly is that
> > i.rectify can use a source from a different location, whereas
> > v.transform requires the source to be in the current location.
> 
> I'd put it a bit differently.
> 
> What seems to happen is that the vector output from v.transform ends up in
> the same location as the input file. That is, if your vector file is in an
> xy location, the projected output will also end up in the same
> location--even though it is correctly projected. In other words, it behaves
> like any other normal map operation--it must take place within the active
> location/mapset. 
> 
> So, subsequently, you can simply copy the vector folder for the projected
> map to the proper projected location and mapset. The georectifier does that
> now. This is due to the lack of a 'target' location/mapset like those
> produced by i.group.
> 
> I don't know if you want to change that behavior to make it consistent with
> rasters, or let the georectifier (or other such utility) do the work.

i.rectify, r.proj and v.proj all read from one location and write to
another (although the two can be the same, they don't have to be),
while v.transform only uses a single location. I suggest that
v.transform should be extended to allow a different source location.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list