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@inwind.it
Di Sorbo Alessandro a.disorbo@inwind.it
Ragni Domenico domrag@inwind.it
Romano Enrico enr.omano@genie.it
Serino Antonio antoseri@libero.it
supervised by Professor Giuliano Antoniol (antoniol@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