Accessing multipoint data from PostGIS via WFS

Hester Viola h.viola at BOM.GOV.AU
Tue Dec 7 22:12:21 EST 2004


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 Multipoint GML
 BUT
6. when accessing the multipoint PostGIS layer via WFS, the GML returned was
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



More information about the mapserver-users mailing list