[GRASS-user] Export To PostGIS (with attributes)
Moritz Lennert
mlennert at club.worldonline.be
Wed Sep 10 08:43:07 EDT 2008
On 10/09/08 05:09, gridcell wrote:
> Hi,
>
> I was wondering if there is a way to perform the following:
>
> 1) Import a table from PostGIS (geometry and attributes)
v.in.ogr
> 2) Clean the geometry (example: overlapping polygons)
v.clean
> 3) Export the geometry back to PostGIS (topology layer, no overlaps)
v.out.ogr
> 4) Export attributes back to PostgreSQL (potentially more than one row
> linking to a single geometry, i.e. because of the overlaps)
v.out.ogr already exports attributes, but if you ever only need to move
around tables, you have db.copy / db.in.ogr / db.out.ogr.
Moritz
More information about the grass-user
mailing list