[Qgis-developer] Add ST_MakeValid functionality to QgsGeometry?
Jürgen E. Fischer
jef at norbit.de
Wed Sep 19 00:57:41 PDT 2012
Hi Larry,
On Mon, 17. Sep 2012 at 14:15:42 -0600, Larry Shaffer wrote:
> Recently there have been several labeling-related issues where the
> conclusion is that a label is not shown because the geometry is
> invalid (generally polygons). I noticed Sandro Santilli's work for
> PostGIS 2.0 with the new ST_MakeValid function [0]. I'm no geometry
> whiz, but it appears to be based solely off of GEOS (and some other
> PostGIS internals).
The functionality is in PostGIS. It just uses GEOS calls, but the
actual fixing is done in PostGIS (in lwgeom_geos_clean.c).
But we could adapt the code there for inclusion in QgsGeometry.
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