[QGIS-Developer] WKT of a QgsPoint: Point or POINT
Richard Duivenvoorde
rdmailings at duif.net
Sat Jan 8 13:17:19 PST 2022
Hi All,
Using the geom_to_wkt-expression to create a WKT string of my point layer in QGIS I see:
'Point (4.67931032 51.67420959)'
should this not be
'POINT (4.67931032 51.67420959)' ?
that is: all capitals?
That is what I'm used to, what wikipedia shows [0]
Postgis creates with St_AsText: [1]
But according to gis.stackexchange [2] it is define as a OGC standard
06-103r4 [3]
And there there is no notion of caps or not...
Others have an opinion?
Others have seen the QGIS version in the wild, outside of QGIS
Else I would propose to follow the Postgis standard?
Regards,
Richard Duivenvoorde
[0] https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry
[1] https://postgis.net/docs/ST_AsText.html
[2] https://gis.stackexchange.com/questions/48269/where-can-i-find-the-wkt-standard-or-reference
[3] https://portal.ogc.org/files/?artifact_id=25355
https://www.ogc.org/standards/sfa
More information about the QGIS-Developer
mailing list