On 10/10/22 17:11, Alexandre Neto via QGIS-Developer wrote:
Hi,
Not sure of a feature or a bug, but shouldn't disabling the "use curves" in the
Import DWG\DXF tool output non-compound curve geometries?
I am getting curves even with the option turned of.
Mmm, seeing this message... could the following be maybe related?
Recently I created a Polygon with a hole, and copied one feature (WKT output),
and also was presented with a 'CompoundCurve' part in it (while all was
square)...
MultiPolygon (((6.13102839454553816 52.75093214925507823, 6.130964672425808
52.74717640996099277, 6.14539911649133597 52.7466899769035038,
6.14536915982601872 52.75123707754761426, 6.13102839454553816
52.75093214925507823), CompoundCurve ((6.13427151349723498
52.75005518140639538, 6.13467440942566444 52.7482075319318966,
6.14346286447305268 52.7477566482503093, 6.14241109067726665
52.74974024139419271, 6.13427151349723498 52.75005518140639538))))
For reference: I created a quick MultiPolygon type Memory layer, as 2
rectangles(!)
This is above feature as GeoJson:
{"features":[{"bbox":[6.130965,52.74669,6.145399,52.751237],"geometry":{"coordinates":[[[[6.131028,52.750932],[6.130965,52.747176],[6.145399,52.74669],[6.145369,52.751237],[6.131028,52.750932]],[[6.134272,52.750055],[6.134674,52.748208],[6.143463,52.747757],[6.142411,52.74974],[6.134272,52.750055]]]],"type":"MultiPolygon"},"id":-9,"properties":null,"type":"Feature"}],"type":"FeatureCollection"}
Could this be related?
Regards,
Richard Duivenvoorde
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer