[GRASS-user] Retrieving Vector Point Screen Coordinates

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Fri Aug 22 10:10:47 EDT 2008


On Fri, 2008-08-22 at 07:09 -0400, Robert Shedd wrote:
> I am currently working on a project that it would be helpful to be able 
> to retrieve the x-y coordinates of a set of vector points.  I am 
> generating the map display in a script so interactive features (such as 
> available with d.where) will not work.
> 
> My current basic script is essentially the following:
> 
> export GRASS_TRUECOLOR=TRUE
> export GRASS_WIDTH=800
> export GRASS_HEIGHT=600
> d.mon start=PNG
> d.vect  map="pointvector" type="point" icon="basic/box" size=10 lcolor="black" fcolor="green"
> d.mon stop=PNG
> 
> I am looking to find where each of the points in pointvector plots within the 800x600 png file.

Hi!

Something like "v.report YOURMAP option=coor"? Maybe I do not understand
the problem exactly.

Nikos



More information about the grass-user mailing list