[QGIS-Developer] WKT, but is EWKT an unwanted (Q)GIS family member?
Richard Duivenvoorde
rdmailings at duif.net
Fri Jan 7 02:46:46 PST 2022
Hi Devs/Community,
Currently I receive csv data in which the geometry is encodes as EWKT:
"SRID=4326;POINT (4.679683985851895 51.67410641976929)"
instead of WKT:
"POINT (4.679683985851895 51.67410641976929)"
The normal csv/delimited text provider does not handle this (?)
And QgsGeometry does not have export/import methods for it [0]?
Ale's QuickWKT plugin can handle it though, just by removing the SRID part [1]
So Question: is EWKT something to be discouraged?
OR is it something that is worth to add to QGIS?
(In the csv provider it would set the crs automagicaly)
Any input appreciated.
Regards,
Richard Duivenvoorde
[0] https://qgis.org/pyqgis/master/core/QgsGeometry.html
[1] https://github.com/elpaso/quickwkt/blob/master/QuickWKT.py#L229-L234
More information about the QGIS-Developer
mailing list