Ticket #3523 (closed bug: wontfix)

Opened 2 years ago

Last modified 2 years ago

export/add geometry columns does not work if shape is obtained from kml

Reported by: lutra Owned by: dassau
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: fTools Version: Trunk
Keywords: Cc:
Platform Version: Platform: All
Must Fix for Release: Yes Awaiting user input: no

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.

Attachments

teste_shp.zip Download (3.0 KB) - added by lutra 2 years ago.

Change History

Changed 2 years ago by lutra

Changed 2 years ago by borysiasty

  • component changed from Python plugins and bindings to fTools

Changed 2 years ago by alexbruy

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?

Changed 2 years ago by lutra

  • owner changed from cfarmer to dassau

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.

Changed 2 years ago by lutra

  • status changed from new to closed
  • resolution set to wontfix
Note: See TracTickets for help on using tickets.