<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Hi Even,</p>
    <p>I already saw your PR. It is really nice to all our tools talking
      smoothly to each other. Thanks for the improvement.<br>
    </p>
    <p>Seems like quite easy to change QGIS code. The major impact are
      these 15 tests:<br>
    </p>
    <p>        227 - test_core_geometry_circularstring (Failed)<br>
              228 - test_core_geometry_compoundcurve (Failed)<br>
              229 - test_core_geometry_curvepolygon (Failed)<br>
              231 - test_core_geometry_linestring (Failed)<br>
              232 - test_core_geometry_multicurve (Failed)<br>
              233 - test_core_geometry_multilinestring (Failed)<br>
              234 - test_core_geometry_multipoint (Failed)<br>
              235 - test_core_geometry_multipolygon (Failed)<br>
              236 - test_core_geometry_multisurface (Failed)<br>
              237 - test_core_geometry_point (Failed)<br>
              239 - test_core_geometry_polygon (Failed)<br>
              240 - test_core_geometry_quadrilateral (Failed)<br>
              243 - test_core_geometry_triangle (Failed)<br>
              244 - test_core_geometry (Failed)<br>
              245 - test_core_geometrycollection (Failed)</p>
    <p>I'll take a look at them and provide more feedback.</p>
    <p>Regards,</p>
    <p>Jorge<br>
    </p>
    <div class="moz-cite-prefix">On 06/07/24 12:09, Even Rouault via
      QGIS-Developer wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:fd364768-919d-4f5a-81ca-9a86b47bb76e@spatialys.com">
      
      <p>I've went ahead and added support for PointZ like WKT strings
        in OGR in <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/pull/10370" moz-do-not-send="true">https://github.com/OSGeo/gdal/pull/10370</a>,
        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)<br>
      </p>
      <div class="moz-cite-prefix">Le 06/07/2024 à 08:56, Even Rouault
        via QGIS-Developer a écrit :<br>
      </div>
      <blockquote type="cite" cite="mid:1c6da67d-00cc-43db-9351-35815d353e19@spatialys.com">
        Hi,
        <blockquote type="cite" cite="mid:CAB28Ashgv1AX07LMiB74VTuN6d84bQW3751qipwoxh9HNkxPeg@mail.gmail.com">
          <div dir="auto">
            <div dir="auto"><br>
            </div>
            <div dir="auto">Both formats are compliant with the WKT
              specifications.<br>
            </div>
          </div>
        </blockquote>
        <p>Are they? I may have missed something in the Simple Features
          spec, but looking at <a class="moz-txt-link-freetext" href="https://portal.ogc.org/files/?artifact_id=25355" moz-do-not-send="true">https://portal.ogc.org/files/?artifact_id=25355</a>
          , I can't see where it would allow the form
          {geometryTypeName}Z without a space between {geometryTypeName}
          and Z. <br>
        </p>
        <p>For example the BNF at page 56 shows:</p>
        <p><point z tagged text> ::= point z <point z text></p>
        <p>The examples at page 62 also show a space.<br>
        </p>
        <p>Even<br>
        </p>
        <blockquote type="cite" cite="mid:CAB28Ashgv1AX07LMiB74VTuN6d84bQW3751qipwoxh9HNkxPeg@mail.gmail.com">
          <div dir="auto">
            <div dir="auto"><br>
            </div>
            <div dir="auto">Nyall</div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">
              <div class="gmail_quote">
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
                  A minimal example is below. Executing it will return
                  an exception: <br>
                  "RuntimeError: OGR Error: Corrupt data"<br>
                  <br>
                  from osgeo import ogr<br>
                  <br>
                  qgis_geometyry = QgsGeometry().fromWkt("POINT Z (0 0
                  0)")<br>
                  wkt = qgis_geometyry.asWkt() # 'PointZ (0 0 0)'<br>
                  ogr.CreateGeometryFromWkt(wkt)<br>
                  <br>
                  _______________________________________________<br>
                  QGIS-Developer mailing list<br>
                  <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" rel="noreferrer" moz-do-not-send="true" class="moz-txt-link-freetext">QGIS-Developer@lists.osgeo.org</a><br>
                  List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
                  Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
                </blockquote>
              </div>
            </div>
          </div>
          <br>
          <fieldset class="moz-mime-attachment-header"></fieldset>
          <pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:QGIS-Developer@lists.osgeo.org" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
        </blockquote>
        <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
        <br>
        <fieldset class="moz-mime-attachment-header"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:QGIS-Developer@lists.osgeo.org" moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
      </blockquote>
      <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
    </blockquote>
  </body>
</html>