Bug report #3523
export/add geometry columns does not work if shape is obtained from kml
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | Otto Dassau | ||
Category: | Processing/QGIS | ||
Affected QGIS version: | Regression?: | ||
Operating System: | All | Easy fix?: | |
Pull Request or Patch supplied: | Resolution: | wontfix | |
Crashes QGIS or corrupts data: | Copied to github as #: | 13583 |
Description
This is not always true, but there are cases where saving a shpefile from a KML leads to a vector where the "export/add geometry columns" produce X and Y columns with just zeros. Attached an example.
History
#1 Updated by Alexander Bruy over 13 years ago
If you examine attached shapefile with ogrinfo, you will see that it has MULTIPOINT geometry type
$ogrinfo -al teste.shp Layer name: teste Geometry: Multi Point Feature Count: 50
Single MULTIPOINT geometry can contain several points, so it is impossible to extract coordinates into one row. So I think this is invalid. Any objections to close ticket?
#2 Updated by Giovanni Manghi over 13 years ago
Well spotted. We can definitely close this ticket. I believe that it would also be better to add a note to the documentation. Saving the layer as singlepart it works ok.
#3 Updated by Giovanni Manghi over 13 years ago
- Resolution set to wontfix
- Status changed from Open to Closed
#4 Updated by Giovanni Manghi over 7 years ago
The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.