Accessing multipoint data from PostGIS via WFS (re-posted)

Hester Viola h.viola at BOM.GOV.AU
Mon Jan 24 17:26:02 EST 2005


Hi,

This question regards reading a PostGIS table of type MULTIPOINT into
MapServer and providing a WFS, containing the Multipoint data type within
GML <gml:MultiPoint>.

I have undertaken the following steps

1. Created a multipoint shapefile
2. Loaded the multipoint shapefile into PostGIS as a MULTIPOINT table
3. Read and displayed the shapefile into MapServer as a POINT layer
4. Read and displayed the PostGIS MULTIPOINT table into MapServer as a POINT
layer
5. Accessed the multipoint shapefile layer via WFS and successfully received
back <gml:MultiPoint> data with many <gml:Point> entries.
 BUT
6. When accessing the MULTIPOINT PostGIS layer via WFS, the GML returned was
unfortunately not MULTIPOINT GML. It returned only the first point in each
section of data as a single point entry <gml:Point>, so that most of the
data was missing from the WFS output (even though it all displayed ok when
visualised in MapServer).

If anyone can help with a solution to this or with any information, it would
be appreciated. I would like to know if it is possible to work around this
or if it is a bug that could be fixed.

Thank you for your time
Hester
h.viola at bom.gov.au



More information about the mapserver-users mailing list