[GRASS5] v.in.ogr - test for existing map error
Radim Blazek
blazek at itc.it
Wed Jan 26 04:36:48 EST 2005
otto dassau wrote:
> Dear list,
>
> using v.in.ogr to import data and create a new location in one step fails if
> a map with the same name exists in the current location.
>
> v.in.ogr dsn=roads out=roads loc=new
> -> Error: map roads already exists in current location
>
> I guess a test for the parameter location would fix this bug.
>
> thanks
> Otto
>
Unfortunately existence of the vector is checked by parser. I have added
a hack to v.in.ogr. I guess that r.in.gdal has the same problem?
Somebody working on rasters can fix that?
Radim
More information about the grass-dev
mailing list