[[TOC]] = PostGIS topological editing = '''Goal''': Implement [http://www.postgis.org PostGIS] geometry (simple features and topological) editing functionality in GRASS GIS (wxGUI digitizer and {{{v.edit}}} module) See also [wiki:Grass7/VectorLib/OGRInterface OGR Interface] and [wiki:wxGUIDevelopment#Vectordigitizer wxGUI vector digitizer] roadmap. See also user-oriented [http://grass.osgeo.org/wiki/Working_with_external_data_in_GRASS_7#Vector_data page] at GRASS [http://grass.osgeo.org/wiki User Wiki]. == Tasks == 1. ~~Attribute table (write) access for OGR-linked vectors (direct or linked by {{{v.external}}})~~ (implemented in r47225) 1. ~~Improve OGR interface write access (in progress) - see [wiki:Grass7/VectorLib/OGRInterface OGR Interface]~~ (see r50670) 1. ~~Implement PostgreSQL driver to read PostGIS geometry directly (without using OGR library)~~ - see [source:grass/trunk/lib/vector/Vlib/read_pg.c] 1. ~~Extend PostgreSQL driver to write PostGIS geometry directly (without using OGR library)~~ - see [source:grass/trunk/lib/vector/Vlib/write_pg.c] 1. Implement GRASS-based topology management in PostgreSQL driver 1. Implement PostGIS-based topology management in PostgreSQL driver 1. Add more... == Topology models in GRASS and PostGIS == Topological elements in GRASS (see [http://grass.osgeo.org/programming7/vectorlib.html#vlibTopoManagement API manual]): * Nodes * Lines * Areas * Isles Topological elements in PostGIS (see [http://trac.osgeo.org/postgis/wiki/UsersWikiTopologicalPrimitives PostGIS's wiki]): * Nodes * Edges * Faces == Roadmap == 1. Read access (geometry) 1. Write access (geometry) == References == * [http://postgis.org/documentation/manual-svn/Topology.html PostGIS Topology] * http://strk.keybit.net/blog/2011/10/14/postgis-topology-iso-sqlmm-complete == Pool == * [source:sandbox/martinl/v.topo.pg.out v.topo.pg.out] - converts GRASS topology to PostGIS