Hi Even,
I already saw your PR. It is really nice to all our tools talking
smoothly to each other. Thanks for the improvement.
Seems like quite easy to change QGIS code. The major impact are these 15
tests:
227 - test_core_geometry_circularstring (Failed)
228 - test_core_geo
I've went ahead and added support for PointZ like WKT strings in OGR in
https://github.com/OSGeo/gdal/pull/10370, but it would be probably
better that QGIS writes conformant WKT by default (I suspect that fixing
this has the potential of breaking a number of tests though)
Le 06/07/2024 à 08:56
Il 06/07/2024 10:33, Jorge Gustavo Rocha via QGIS-Developer ha scritto:
>>> import shapely
>>> shapely.to_wkt(shapely.Point(0, 0, 0))
'POINT Z (0 0 0)'
>>> shapely.from_wkt('POINT Z (0 0 0)')
Anyway, it looks like also "PointZ" and "PointM" (besides "POINT Z" and
"POINT M") are recognised
Hi Nyall,
I would say that the focus (on the examples in 6.1.2.6.4) is the
LocateAlong and LocateBetween methods and the examples used are less
carefully written. Next to each other, examples on 6.1.2.6.3 and
6.1.2.6.4 seem written by different contributors.
Page 52 says: "The Well-known Tex
On Sat, 6 July 2024, 4:56 pm Even Rouault,
wrote:
> Hi,
>
>
> Both formats are compliant with the WKT specifications.
>
> Are they? I may have missed something in the Simple Features spec, but
> looking at https://portal.ogc.org/files/?artifact_id=25355 , I can't see
> where it would allow the fo
Hi,
I second Even argument and I would prefer to change QGIS implementation.
It does not make sense to have QGIS WKT strings not compatible with
other Python tools (based on GEOS/JTS, like shapely, for example) and ogr.
>>> import shapely
>>> shapely.to_wkt(shapely.Point(0, 0, 0))
'POINT Z (0
Hi,
Both formats are compliant with the WKT specifications.
Are they? I may have missed something in the Simple Features spec, but
looking at https://portal.ogc.org/files/?artifact_id=25355 , I can't see
where it would allow the form {geometryTypeName}Z without a space
between {geometryType
On Thu, 4 July 2024, 11:19 pm Ivan Barsukov via QGIS-Developer, <
qgis-developer@lists.osgeo.org> wrote:
> Hi everyone!
>
> Could you please tell me why the QgsGeometry::asWkt method returns the
> names of geometry types with the Z coordinate without a space (PointZ
> instead of Point Z, etc.)? Th
Hi everyone!
Could you please tell me why the QgsGeometry::asWkt method returns the
names of geometry types with the Z coordinate without a space (PointZ
instead of Point Z, etc.)? This value is not compatible with ogr.
A minimal example is below. Executing it will return an exception:
"Runt