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


Ignore:
Timestamp:
Nov 27, 2012, 9:01:12 AM (11 years ago)
Author:
martinl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Grass7/VectorLib/PostGISInterface

    v26 v27  
    5454}}}
    5555
     56To force GRASS to use GRASS-OGR data provider when accessing PostGIS must be specified environmental variable `GRASS_VECTOR_OGR` (before creating a link).
     57
    5658'''Write example:'''
     59
     60{{{
     61# define output vector format
     62v.external.out dsn=PG:dbname=grass format=PostgreSQL
     63# create random points map
     64v.random out=test_points n=1000
     65# access created external data
     66v.info test_points
     67...
     68 |----------------------------------------------------------------------------|
     69 | Map format:      PostGIS (PostgreSQL)                                      |
     70 | DB table:        public.test_points                                        |
     71 | DB name:         grass                                                     |
     72 | Geometry column: geom                                                      |
     73 | Feature type:    point                                                     |
     74 | Topology:        pseudo (simple features)                                  |
     75 |----------------------------------------------------------------------------|
     76...
     77}}}
    5778
    5879For more examples see [http://grasswiki.osgeo.org/wiki/PostGIS wiki page] from GRASS Wiki.