WKT
Jeppe Lund Andersen
JXA at COWI.DK
Tue Jan 16 06:35:04 PST 2007
Hi
I have stored the wkt string in the Database and connect to it through
ODBC
and this way it shows the multipolygon fine, but it will not with the
function
ms_shapeObjFromWkt()
so I was hoping someone could test it and see if it is a bug or not.
for me it looks like a bug, but iam not sure.
Jeppe
> -----Original Message-----
> From: UMN MapServer Users List
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Mateusz Loskot
> Sent: Tuesday, January 16, 2007 3:08 PM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] WKT
>
> Jeppe Lund Andersen wrote:
> > Hi
> >
> > ms_shapeObjFromWkt( "MULTIPOLYGON(((10 10, 10 20, 20 20, 20 15, 10
> > 10)),((60 60, 70 70, 80 60, 60 60)))" );
> >
> > this does not work either
>
> Jeppe,
>
> It's strange to me, because following should be considered as
> valid WKT:
>
> MULTIPOLYGON
> (
> (( first polygon coords)),
> (( second polygon coords ))
> )
>
> May be there is a bug in WKT parser.
>
> Cheers
> --
> Mateusz Loskot
> http://mateusz.loskot.net
>
>
>
More information about the MapServer-users
mailing list