Ticket #408 (closed enhancement: fixed)
Catch "Exception in LWGEOM2GEOS" in ST_IsValid
| Reported by: | ddegasperi | Owned by: | strk |
|---|---|---|---|
| Priority: | medium | Milestone: | |
| Component: | postgis | Version: | 1.4.X |
| Keywords: | Cc: |
Description
i've got following Exception:
NOTICE: IllegalArgumentException: point array must contain 0 or >1 elements, ERROR: Exception in LWGEOM2GEOS
by executing this query (or try to do anything else on it, except for numpoints or geometrytype):
SELECT isvalid('0105000020E0670000010000000102000020E06700000100000016DA52BA62A04141FFF3AD290B735241');
ST_IsValid should catch this Exception and return an appropriate result (false)
Change History
Note: See
TracTickets for help on using
tickets.
