[Qgis-developer] QgsGeometry.fromWkt fails if WKT contains SRID
Jürgen E. Fischer
jef at norbit.de
Sat Dec 22 02:11:24 PST 2012
Hi Matthias,
On Fri, 21. Dec 2012 at 19:06:22 +0100, Matthias Kuhn wrote:
> I see two solutions: change the postgres provider to read WKT instead of
> EWKT for subsequent geometry columns, or teach QgsGeometry to understand
> EWKT (preferred IMHO).
Or simply strip of the SRID, if you want to feed it into fromWkt. The SRID
isn't kept in QgsGeometry anyway.
Jürgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
committ(ed|ing) to Quantum GIS IRC: jef on FreeNode
--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
More information about the Qgis-developer
mailing list