[GRASSLIST:6591] "Grid" of points?

Is there any way to produce a set of evenly spaced vector points in GRASS?

--j

--
Jonathan A. Greenberg, PhD
NRC Research Associate
NASA Ames Research Center
MS 242-4
Moffett Field, CA 94035-1000
650-604-5896
AIM: jgrn307
MSN: jgrn307@hotmail.com

On Thu, 21 Apr 2005 13:40:25 -0700
Jonathan Greenberg <jgreenberg@arc.nasa.gov> wrote:

Is there any way to produce a set of evenly spaced vector points in GRASS?

--j

--

v.mkgrid will generate a grid with centroids and boundaries.

you could extract out the centroids or corners using v.extract

Perhaps others know an easier way.

T
--
Trevor Wiens
twiens@interbaun.com

The significant problems that we face cannot be solved at the same
level of thinking we were at when we created them.
(Albert Einstein)

On Thursday 21 April 2005 02:22 pm, Trevor Wiens wrote:

On Thu, 21 Apr 2005 13:40:25 -0700

Jonathan Greenberg <jgreenberg@arc.nasa.gov> wrote:
> Is there any way to produce a set of evenly spaced vector points in
> GRASS?
>
> --j
>
> --

v.mkgrid will generate a grid with centroids and boundaries.

you could extract out the centroids or corners using v.extract

Perhaps others know an easier way.

T

there is a way to convert vector lines into points at a regular interval.. it
is called v.to.points

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341

Jonathan:

> Is there any way to produce a set of evenly spaced vector points in
> GRASS?

Trevor:

v.mkgrid will generate a grid with centroids and boundaries.

you could extract out the centroids or corners using v.extract

Perhaps others know an easier way.

Dylan:

there is a way to convert vector lines into points at a regular
interval.. it is called v.to.points

another trick is to set the region at the target size and ns,ew
resolution with g.region, then make a raster map with "r.mapcalc one=1"
and then use 'r.to.vect feature=point' to convert each raster cell to a
vector point, leaving you with a grid of points.

Hamish