[GRASS-user] Retrieving Vector Point Screen Coordinates
Robert Shedd
Robert.Shedd at noaa.gov
Fri Aug 22 10:42:55 EDT 2008
That is close to what I need, but v.report YOURMAP option=coor reports
the coordinates in lat-long coordinates. I am trying to find the x-y
location where those lat-long coordinates actually plot on the output
image relative to the top left or bottom left corner of the graphic.
Nikos Alexandris wrote:
> 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
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080822/c0b4b3d3/attachment.html
More information about the grass-user
mailing list