[GRASS-dev] Vectlib: delete broken vectors upon creation failure?

Glynn Clements glynn at gclements.plus.com
Mon Jul 3 11:52:09 EDT 2006


Markus Neteler wrote:

> Huidae had added the nice feature in v.in.dxf (now functional, I guess)
> that a broken vector map is immediately removed when import wasn't
> successful and is not left behind.
> 
> This is an issue which affects various modules. I think we should
> add this somehow to the vector library since broken vector maps
> aren't really useful. The tmp file approach of raster maps is
> more failsafe here. Since tmp doesn't exist for vector maps,
> any ideas how to implement that?

SQL transactions, on back-ends which support them.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list