<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><span style="font-family: Helvetica, Arial;">Sounds good to me. Is "wkbVariantOGC" the variant currently implemented ? Is </span><span><br>our 3D support really compliant with an OGC standard ?<span class="Apple-converted-space"> </span></span></blockquote></div><p>Not really anymore, since SFSQL 1.2 defined OGC into sync with ISO. We’re in compliance with the old guidance that was passed and promptly forgotten in the period between SFSQL 1.1 and 1.2. Nothing wrong with that, we can call it something else (I guess?)</p><div><div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><span>> It also seems the wkb reader/writer have little handling for empty geometry<span class="Apple-converted-space"> </span><br>> types. I’d like to add some in, if that’s OK.<span class="Apple-converted-space"> </span><br><br>Are you sure about that ?<span class="Apple-converted-space"> </span></span></blockquote></div><p>Nope, you’re right. The empty support is implicitly tied to the understanding that numPoints == 0 means empty and numRings == 0 means empty and numGeoms == 0 means empty, rather than an IsEmpty() test.</p><p>The GeoPackage document actually specifies a representation for POINT EMPTY, "In GeoPackages these points SHALL be encoded as a Point where each coordinate value is set to an IEEE-754 quiet NaN value”.</p><p>P</p></div></body></html>