WKT
Buggy Pine
buggy.pine at GMAIL.COM
Tue Jan 16 04:58:49 PST 2007
Hi,
I suppose your wkt MULTIPOLYGON syntax is wrong...
your point must form a closed linestring.
The correct syntax could be something like this:
MULTIPOLYGON (((
524947.99381 6255976.17454,
524961.79785 6255959.99561,
524993.41357 6255950.64448,
524964.46961 6255949.7539,
524963.57902 6255939.66062,
524950.51713 6255950.05076,
524924.83864 6255946.93371,
524941.01757 6255959.25345,
524947.99381 6255976.17454
), (
524948.67817 6255972.12025,
524956.67737 6255962.3253,
524944.27044 6255960.69281,
524948.67817 6255972.12025
), (
524929.57803 6255948.77563,
524941.98495 6255957.91758,
524948.51492 6255951.22437,
524929.57803 6255948.77563
)))
Best regards
Ruggero Valentinotti
On 1/16/07, Jeppe Lund Andersen <JXA at cowi.dk> wrote:
>
>
>
> hello
>
> iam trying to use ms_shapeObjFromWkt()
> with this wkt string but I get a error
> is multipolygon not supported or is it a different error ?
>
> wkt="MULTIPOLYGON (((524947.99381 6255976.17454,524961.79785
> 6255959.99561,524993.41357 6255950.64448,524964.46961
> 6255949.7539,524963.57902 6255939.66062,524950.51713
> 6255950.05076,524924.83864 6255946.93371,524941.01757 6255959.25345),
>
> (524948.67817 6255972.12025,524956.67737 6255962.3253,524944.27044
> 6255960.69281),(524929.57803 6255948.77563,524941.98495
> 6255957.91758,524948.51492 6255951.22437)))"
>
> Med venlig hilsen
>
> Jeppe Lund Andersen
More information about the MapServer-users
mailing list