Bug report #3523
export/add geometry columns does not work if shape is obtained from kml
|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|
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.
#1 Updated by Alexander Bruy over 9 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?