[GRASS5] Postgrass

Radim Blazek blazek at itc.it
Tue Jun 18 04:44:53 EDT 2002


Hi all,

finally, full featured PostGIS support is available in grass51 for
vectors. This work was done by group of students at the 
University of Sannio (Benevento - ITALY):
Di Simone Alessio       a.disimone at inwind.it
Di Sorbo  Alessandro    a.disorbo at inwind.it
Ragni Domenico          domrag at inwind.it
Romano Enrico           enr.omano at genie.it
Serino Antonio          antoseri at libero.it

supervised by Professor Giuliano Antoniol (antoniol at ieee.org)
Home page of this project: 
http://www.rcost.unisannio.it/antoniol/students/PostGrass/

Many thanks to them all!


Now, the functionality of PostGIS in GRASS51 is the same as 
for native format. That means that you can read and write both
geometry and categories. Everything is hidden in vector library
and modules do not know about any difference.

Quick start:
- install PostGIS (http://postgis.refractions.net/) in your postgress
- start grass51
- create postgis database: postgisdb -c test
- create directory for vector directory (like: $MAPSET/vector/test/)
- copy 'head' from some other vector
- write 'frmt' file in vector directory:
FORMAT: postgis
DATABASE: test
GEOM_TABLE: testg
CAT_TABLE: testc
- run v.in.ascii, d.vect, d.what.vect

Radim



More information about the grass-dev mailing list