[GRASS-dev] API to read latitude and longitude of vector.

Helmut Kudrnovsky hellik at web.de
Thu Sep 14 10:32:52 PDT 2017


CM Reddy wrote
> Hi All,
> 
> We are new to Grass GIS and it's implementation. We have downloaded and 
> compiled the Grass 7.2 version and trying to add new modules.
> 
> We had already imported a vector map using v.in.ogr command. Imported 
> map has nodes or points (four nodes) . We would like to read the 
> latitude and longitude of those points from map programmatically. In 
> case, any program or command is already available, it would be helpful 
> for us.
> 
> We would like to know the API's to be used to read the above information.

on the module level:
v.to.db - Populates attribute values from vector features. 
https://grass.osgeo.org/grass73/manuals/v.to.db.html

coor: point coordinates, X,Y or X,Y,Z



-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html


More information about the grass-dev mailing list