[postgis-devel] PostGIS 1.4 SVN geometry parser hints

Paul Ramsey pramsey at cleverelephant.ca
Wed Oct 15 13:29:17 PDT 2008


On Wed, Oct 15, 2008 at 1:22 PM, Mark Cave-Ayland
<mark.cave-ayland at siriusit.co.uk> wrote:
> Paul Ramsey 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.
>
> Hmmm that looks like an incorrect pointer, perhaps somewhere in the pointer
> arithmetic :(  Unfortunately I can't re-create that here - which platform
> are you working on? Does stepping through pg_parser_errhint() in lwgeom_pg.c
> yield anything obvious?

OS/X 10.5, Intel. I'll step through it later today when I get a moment.

P.



More information about the postgis-devel mailing list