Bug report #20686
Problem met with QGIS 2.18.21 linked with GRASS 7.4.1 plug-in on Windows 7 and on Linux Ubuntu release 18.04 LTS
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | GRASS | ||
Affected QGIS version: | 2.18.21 | Regression?: | No |
Operating System: | Windows 7 & Linux Ubuntu release 18.04 LTS | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | no timely feedback |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 28506 |
Description
Hi,
I met a bug when I use GRASS plug-in with the v.out.ogr functionality :
I enter the name of the input vector map to export : ex: PARCELLE
Then I choose the format used to write the output file: "ESRI_shapefile"
Then I enter the new name of the vector file with the extension : PARCELLE.shp
Then I keep and tick 'Enregistrer seulement un lien vers l'entité' Logged only one link to the the entity
With QGIS, if I add the new layer of vector Parcelle then I print the properties of the layer PARCELLE with the command layer/properties then in properties of the layer/style the columns cannot appear after the statistical calculation of slope with r.slope command and then with v.rast.stats functionality.
So, the Solution is as follows : we must choose another output format file like "MapInfo File" to write in the output file
=> two output file are created: one of them is PARCELLE.mif and the other one PARCELLE.mid is created.
With Linux Ubuntu prompt terminal I write as follows : ogr2ogr -f "ESRI shapefile" PARCELLE_stat.shp PARCELLE_stat.mif
and then we get all the associated output vector files particularly PARCELLE.shp
And then we check on QGIS in the properties of the layer PARCELLE item Style we can see all the statistical columns: mean, sum, standard deviation, minimum, maximum, number,... calculated with the v.rast.stats functionality.
In this case, all work then!
Cheers for solving this bug!
Regards,
Phoebe from Toulouse
Related issues
History
#1 Updated by Jürgen Fischer almost 6 years ago
- Duplicated by Bug report #20683: QGIS 2.18.21 desktop en interface avec GRASS 7.4.1 added
#2 Updated by Phoebe DeToulouse almost 6 years ago
- Assignee set to Jürgen Fischer
- File PARCELLES_statistiques.shp added
Hi,
I have just added some more details to succeed to solve the bug.
I met a bug when I use GRASS plug-in with the v.out.ogr functionality :
I enter the name of the input vector map to export : ex: PARCELLE
Then I choose the format used to write the output file: "ESRI_shapefile"
Then I enter the new name of the vector file with the extension : PARCELLE.shp
Then I keep and tick 'Enregistrer seulement un lien vers l'entité' Logged only one link to the the entity
With QGIS, if I add the new layer of vector Parcelle then I print the properties of the layer PARCELLE with the command layer/properties then in properties of the layer/style the columns cannot appear after the statistical calculation of slope with r.slope command and then with v.rast.stats functionality.
So, the Solution is as follows : we must choose another output format file like "MapInfo File" to write in the output file otherwise if you choose "ESRI shapefile " output format file it will not add columns with all the statistical columns data: mean, sum, standard deviation, minimum, maximum, number,.. calculated with the v.rast.stats functionality.
=> two output file are created: one of them is PARCELLE.mif and the other one PARCELLE.mid is created.
With Linux Ubuntu prompt terminal I write as follows : ogr2ogr -f "ESRI shapefile" PARCELLE_stat.shp PARCELLE_stat.mif
and then we get all the associated output vector files particularly PARCELLE.shp
And then we check on QGIS in the properties of the layer PARCELLE item Style we can see all the statistical columns: mean, sum, standard deviation, minimum, maximum, number,... calculated with the v.rast.stats functionality.
In this case, all work then!
Cheers for solving this bug!
Regards,
Phoebe from Toulouse
#3 Updated by Jürgen Fischer almost 6 years ago
- Assignee deleted (
Jürgen Fischer)
#4 Updated by Nyall Dawson almost 6 years ago
- Status changed from Open to Feedback
Please test with 3.4 - 2.18 is no longer supported
#5 Updated by Jürgen Fischer almost 6 years ago
Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.
#6 Updated by Giovanni Manghi over 5 years ago
- Resolution set to no timely feedback
- Status changed from Feedback to Closed