qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.69k stars 3.02k forks source link

Geometry constructors (EWKT/EWKB) #16617

Open qgib opened 11 years ago

qgib commented 11 years ago

Author Name: Denis Rouzaud (@3nids) Original Redmine Issue: 7706

Redmine category:vectors


Right now, only WKT/WKB can be used to import/export geometries.

It would be great to have EWKT and EWKB import/export methods, to avoid complex stuff as in [0]

[0] https://github.com/elpaso/quickwkt/blob/73870168d09589a9ab8d54f7d695e548c26e7751/QuickWKT.py#L144

qgib commented 11 years ago

Author Name: Matthias Kuhn (@m-kuhn)


I discussed this topic a while ago on IRC with jef.

The main point for not including this was, that the SRID must not be lost within this process. When loading as geometry column in a layer, this information is preserved in the layer SRID, but the geometry itself has no such variable.

I see two approaches to this:

qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)