[postgis-devel] SVN trunk parser modifications stage 2
David Fuhry
dfuhry at acm.org
Mon Oct 27 12:48:02 PDT 2008
Obe, Regina wrote:
> Yap that's what I was expecting, but what I was thinking is if the
> natural behavior is to not check the validity of the geometry, then you
> can load all the invalid geometries to your hearts content :)
Right, if the default behavior is not to validate, then it will load
just fine. But I have been assuming that the default behavior will be
to validate, since all of Mark's comments point in this direction:
On 2008-10-20, Mark Cave-Ayland wrote:
> 0 - No checking; all checks are disabled
> 1 - OGC level checking; check for minimum numbers of points and
> closure of polygons
> 2 - GEOS level validation; check input geometries are valid as
> per the GEOS IsValid() function
>
> The first time the parser/unparser is invoked then we check to see if
> this setting is present; if it is then the current parser check level is
> set this value. Otherwise a default value of 1 is chosen.
On 2008-10-18, Mark Cave-Ayland wrote:
> SELECT postgis_enable_parser_checks()
> - This will re-enable ALL checks performed by the parser. Note
> that all checks enabled will remain the default.
-Dave
More information about the postgis-devel
mailing list