[GRASS-user] Apply arbitrary edit to all coordinates in a vector

Ken Mankoff mankoff at gmail.com
Tue Mar 13 07:06:01 PDT 2018


On Tue, Mar 13, 2018 at 1:05 PM, Ken Mankoff <mankoff at gmail.com> wrote:

>
>
> On Tue, Mar 13, 2018 at 12:21 PM, Helmut Kudrnovsky <hellik at web.de> wrote:
>
>> Ken Mankoff wrote
>> > Is there a way to take an arbitrary vector from
>> > GRASS and apply an arbitrary transformation to each element? v.edit has
>> a
>> > move feature, but this is not what I want.
>> >
>>
>> v.transform - Performs an affine transformation (shift, scale and rotate)
>> on
>> vector map.
>> https://grass.osgeo.org/grass74/manuals/v.transform.html
>>
>> not sure it is what you're looking for.
>>
>
> Yes that would do it just fine. Unfortunately I'm not sure how to get the
> transformation matrix that invproj uses. I'll try to figure this out...
>
>
Actually this does not work because I'm in EPSG:4326 (lon,lat) location and
there are scaling issues. I think I need to access proj directly for all
vertices...

  -k.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180313/98066f7f/attachment-0001.html>


More information about the grass-user mailing list