WFS: Problems with multipolygons
Teemu Makela
teemu.makela at ARBONAUT.COM
Fri May 18 09:55:25 PDT 2007
More information related to this issues.
I tested the same layer through WMS and WFS. Layer works fine through WMS
but WFS omits all execpt one part of the multipolygon. At below you will
also find the mapfiles.
See attached image "MapServer_WMS" which contains a multipolygon (5 parts
with label 10404).
See another attached image "MapServer_WFS_missing_polygons_labels_from_WMS".
On this image only one piece of the multipolygon is visible. Labels are from
WMS layer just to show that there should be more data (label is variable
ID_X from mapfiles).
Is it so that MapServer's WFS just cannot handle multipolygons or am I doing
something wrong?
---- Mapfiles ----
WMS layer drawing polygons:
LAYER
NAME XXXXXX
TYPE POLYGON
STATUS ON
CONNECTIONTYPE oraclespatial
CONNECTION "xxx/xxx at xxx.xxx.com"
DATA "GEOLOC FROM TABLE_X USING UNIQUE ID_X"
PROJECTION
"init=epsg:2393"
END
CLASS
NAME "GEOMETRIA"
STYLE
OUTLINECOLOR 200 200 200
COLOR 255 0 0
END
END
END
WFS layer trying to draw polygons:
LAYER
NAME XXXXXX
METADATA
"wfs_title" "XXXXXXXX"
"wfs_extent" "XXX XXX XXX XXX"
"gml_featureid" "ID_X"
"gml_include_items" "all"
END
TYPE POLYGON
STATUS ON
CONNECTIONTYPE oraclespatial
CONNECTION "xxx/xxx at xxx.xxx.com"
DATA "GEOLOC FROM TABLE_X USING UNIQUE ID_X"
PROJECTION
"init=epsg:2393"
END
DUMP TRUE
CLASS
NAME "GEOMETRIA"
STYLE
OUTLINECOLOR 200 200 200
END
END
END
Teemu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MapServer_WMS.jpg
Type: image/jpeg
Size: 5404 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070518/1bbeabac/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MapServer_WFS_missing_polygons_Labels_from_WMS.jpg
Type: image/jpeg
Size: 3775 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070518/1bbeabac/attachment-0001.jpg>
More information about the MapServer-users
mailing list