[GRASS-dev] OGR write access

Michael Barton michael.barton at asu.edu
Thu Oct 15 11:43:13 EDT 2009


On Oct 15, 2009, at 3:40 AM, grass-dev-request at lists.osgeo.org wrote:

> Date: Thu, 15 Oct 2009 11:09:11 +0200
> From: Martin Landa <landa.martin at gmail.com>
> Subject: [GRASS-dev] OGR write access
> To: GRASS developers list <grass-dev at lists.osgeo.org>
> Message-ID:
>        <f8fe65c40910150209v49be8404xe616a7dc9922c323 at mail.gmail.com>
> 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


More information about the grass-dev mailing list