On 20/07/2019 19:23, Thomas Adams wrote:
Rich,

How are you seeing that points convert to an area? An area encompassing the points?? In which case you probably want v.hull (https://grass.osgeo.org/grass76/manuals/v.hull.html).

One further suggestion, consider changing your variable names for, uh, readability??

Tom


On Sat, Jul 20, 2019 at 11:58 AM Rich Shepard <[email protected]> wrote:
I don't remember the workflow converting corner points into an area and find
no saved example here.

When I try the sequence:

v.to.lines in=anal_corners out=anal_bnd
v.build map=anal_bnd opt=build
v.centroids in=anal_bnd out=anal_area

grass tells me 'input vector map contains no boundaries'.

What have I missed?


v.to. lines is *not* what you want. That module takes a polygon and converts the boundaries to lines.


If you want to go straight from the point coordinates to a polygon, you can use the GRASS standard ASCII format and pipe directly to v.in.ascii:

echo "VERTI:
B 1 5
 -123.940000 45.150100 
 -123.940000 45.145400
 -123.960000 45.145400
 -123.960000 45.150100
 -123.940000 45.150100
 1 1
C 1 1
 -123.950000 45.147500
 1 1" | v.in.ascii input=- output=analysis_region format=standard

Check the ASCII vector format page: https://grass.osgeo.org/grass77/manuals/vectorascii.html


TIA,

Rich
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user


--
Thomas E Adams, III
1724 Sage Lane
Blacksburg, VA 24060

1 (513) 739-9512 (cell)


_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user
-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to