On Oct 15, 2009, at 3:40 AM, [email protected] wrote:

Date: Thu, 15 Oct 2009 11:09:11 +0200
From: Martin Landa <[email protected]>
Subject: [GRASS-dev] OGR write access
To: GRASS developers list <[email protected]>
Message-ID:
       <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I am thinking how to implement direct write access to OGR datasources
from the user point of view. One approach would be to implement global
flag '--u' for updating existing vector map (i.e. OGR datasource).
E.g.

v.out.ogr input=test dsn=. type=point -n
v.external dsn=. layer=test output=test
v.random out=test n=1000 --u

this could work also for native format

v.edit map=test tool=create
v.random out=test n=1000 --u

Or to add new parameters 'dns/format' which would be used only for OGR
format, not for the native one.

v.random out=test n=1000 format=ESRI_Shapefile dns=.

Any ideas?

Martin

Might this be worth considering integrating with the data catalog mentioned yesterday?

http://lists.osgeo.org/pipermail/grass-gui/2009-October/000679.html

Michael
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to