[postgis-devel] PostGIS 1.4 SVN geometry parser hints
Paul Ramsey
pramsey at cleverelephant.ca
Wed Oct 15 12:24:17 PDT 2008
Parse errors near the front lose context... and the position number is
off a bit.
postgis2=# select 'MULTIPOYGON(((0 0, 0 0, 0 0,0 0),(0 0, 0 0, 0 0,0
0),(0 0, 0 0, 0 0,0 0),(0 0, 0 0, 0 0,0 0),(0 0, 0 0, 0 0,0
0)))'::geometry;
ERROR: parse error - invalid geometry
HINT: "" <-- parse error at position 0 within geometry
On Wed, Oct 15, 2008 at 12:22 PM, Paul Ramsey <pramsey at cleverelephant.ca> wrote:
> Why does this error start with "...?gs"?
>
> postgis2=# select 'MULTIPOLYGON(((0 0, 0 0, 0 0,0 0),(0 0, 0 0, 0 0,0
> 0),(0 0, 0 0, 0 0,0 0),(0 0, 0 0, 0 0,0 0),(0 0, 0 , 0 0,0
> 0)))'::geometry;
> ERROR: parse error - invalid geometry
> HINT: "...?gs, 0 0,0 0),(0 0, 0 0, 0 0,0 0),(0 0, 0 ," <-- parse
> error at position 103 within geometry
>
> P.
>
More information about the postgis-devel
mailing list