[postgis-devel] lwgeom parser robustness and niceness
Markus Schaber
schabios at logi-track.com
Mon Jun 7 04:59:14 PDT 2004
Hi,
On Mon, 7 Jun 2004 11:49:53 +0200
strk <strk at keybit.net> wrote:
> -- INVALID geoms
> SELECT 'LINESTRING(0 0)'::lwgeom;
> SELECT 'POLYGON((0 0, 1 1))'::lwgeom;
> SELECT 'POLYGON(0 0)'::lwgeom;
As I see those, I think it would be good to add a call to isvalid()
after parsing a lightweight geometry so that only valid geometries can
be written into the database.
Markus
--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios at logi-track.com | www.logi-track.com
More information about the postgis-devel
mailing list