Changes between Version 25 and Version 26 of Grass7/VectorLib/PostGISInterface


Ignore:
Timestamp:
Nov 27, 2012, 8:56:50 AM (11 years ago)
Author:
martinl
Comment:

read example

Legend:

Unmodified
Added
Removed
Modified
  • Grass7/VectorLib/PostGISInterface

    v25 v26  
    2929GRASS-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).
    3030
    31 '''Export example:'''
     31'''Export GRASS vector data to PostGIS as simple features:'''
     32
     33{{{
     34v.out.postgis input=urbanarea dsn=PG:dbname=grass
     35}}}
    3236
    3337'''Read example:'''
     38
     39{{{
     40# create a link to PostGIS table
     41v.external dsn=PG:dbname=grass layer=urbanarea
     42# access data as normal vector map in GRASS
     43v.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}}}
    3455
    3556'''Write example:'''