Changes between Version 25 and Version 26 of Grass7/VectorLib/PostGISInterface
- Timestamp:
- Nov 27, 2012, 8:56:50 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Grass7/VectorLib/PostGISInterface
v25 v26 29 29 GRASS-PostGIS provider allows to read and write PostGIS data stored as simple features on ''level 1'' (without topology) and also on ''level 2'' (in this case a pseudo-topology is built over simple features). 30 30 31 '''Export example:''' 31 '''Export GRASS vector data to PostGIS as simple features:''' 32 33 {{{ 34 v.out.postgis input=urbanarea dsn=PG:dbname=grass 35 }}} 32 36 33 37 '''Read example:''' 38 39 {{{ 40 # create a link to PostGIS table 41 v.external dsn=PG:dbname=grass layer=urbanarea 42 # access data as normal vector map in GRASS 43 v.info map=urbanarea 44 ... 45 |----------------------------------------------------------------------------| 46 | Map format: PostGIS (PostgreSQL) | 47 | DB table: public.urbanarea | 48 | DB name: grass | 49 | Geometry column: geom | 50 | Feature type: polygon | 51 | Topology: pseudo (simple features) | 52 |----------------------------------------------------------------------------| 53 ... 54 }}} 34 55 35 56 '''Write example:'''