Opened 15 years ago
Last modified 6 years ago
#790 new task
update files
Reported by: | martinl | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 8.0.0 |
Component: | Default | Version: | svn-trunk |
Keywords: | update files/maps | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
see http://lists.osgeo.org/pipermail/grass-dev/2009-October/046747.html
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 v.info test -t | grep points points=1000 v.random out=test n=1000 --u v.info test -t | grep points points=2000
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
PS: Patch which implements '--u' flag (currently works only for vector maps: Vect_open_new() -> Vect_open_update()) available for testing.
Attachments (1)
Change History (12)
by , 15 years ago
Attachment: | update.diff added |
---|
comment:1 by , 9 years ago
Milestone: | 7.0.0 → 7.1.0 |
---|
comment:4 by , 8 years ago
Milestone: | 7.2.1 → 7.2.2 |
---|
comment:5 by , 7 years ago
Milestone: | 7.2.2 → 7.4.0 |
---|
comment:7 by , 6 years ago
Milestone: | 7.4.1 → 7.4.2 |
---|
comment:8 by , 6 years ago
Milestone: | 7.4.2 → 7.6.0 |
---|
comment:11 by , 6 years ago
Milestone: | 7.6.2 → 8.0.0 |
---|
update files