[GRASSLIST:2870] Re: converting point shapefile to text coord pairs

Markus Neteler neteler at itc.it
Mon Mar 8 05:23:59 EST 2004


On Mon, Mar 08, 2004 at 12:26:46PM +1300, Hamish wrote:
> > I have a point shapefile, and corrosponding ArcINFO export (.e00) file
> > of about 80 points. I would like to export the locations of the points
> > as UTM coordinate pairs... Perhaps something like:
> > p1 4000000 270000
> > p2 4000001 270001
> > ...
> > 
> > Is there a way to do this in GRASS, based on the input that I have?
> 
> Yes, it is fairly easy.
> 
> Make a new location of the appropriate type, then ...
> 
> GRASS 5.0/5.3:
>  v.in.shape
>  v.support
>  v.to.sites
>  s.out.ascii
> 
> 
> GRASS 5.7:
>  v.in.ogr
>  ...

Note: We have extended v.in.ogr to be able to generate locations
from vector data which come with projection info (thanks to OGR!).

Cheers

 Markus




More information about the grass-user mailing list