Bug #5435

Fixes name temporary SHP when runs v.* GRASS Algorithm

Added by Salvatore Larosa about 1 year ago. Updated about 1 year ago.

Status:Closed Start Date:04/22/2012
Priority:High Due date:
Assigned to:Victor Olaya % Done:

0%

Category:Backend/GRASS
Target version:-
Patch supplied:Yes

Description

Hi,
I noticed that the execution of grass alg (v.*) creates a named SHP blabla.shp.shp and fails to load.
The SHP should be saved with a temporary name blabla.shp!
Well by applying the attached patch solves the issue and everything works as expected!
This is because in v.out.ogr (olayer parameter) requires only the name of file without the extension!

fixes_name_temp_SHP_grassAlg.patch (746 Bytes) Salvatore Larosa, 04/22/2012 02:20 am

History

Updated by Giovanni Manghi about 1 year ago

related/duplicate of #5406 ?

Updated by Victor Olaya about 1 year ago

  • Status changed from New to Resolved

Was already fixed in SVN (along with another bug cuased by names staritng with a number, something not allowed for vector layers in GRASS, aprently)

Updated by Salvatore Larosa about 1 year ago

Victor Olaya wrote:

Was already fixed in SVN (along with another bug cuased by names staritng with a number, something not allowed for vector layers in GRASS, aprently)

Victor, I did test it with r138!

Updated by Victor Olaya about 1 year ago

Ooops, I detected the bug...but fixed it in a different place (thus, not fixing it, and even adding abug when generating raster layers!!)

Sorry, it is now fixed in r139

Updated by Salvatore Larosa about 1 year ago

Victor Olaya wrote:

Sorry, it is now fixed in r139

Thanks!

Updated by Paolo Cavallini about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF