[Mapserver-users] Really, Really Strange Behaviour - WFS & PostGIS
Keith Campbell
scoota at supanet.com
Mon Apr 19 12:07:36 PDT 2004
Hi All,
I've posted this one a couple of times without response, so I thought
I'd try once more, this time with some links.
Here's a map based on a couple of shape files (don't bother with the
controls -they don't work):-
http://andrea-ws.scit.wlv.ac.uk/cgi-bin/mapserv?map=/home/stud/0/c0051956/public_html/Project/MapServer/firstwlvWFS.map
Here's a WFS request for the same mapfile:-
http://andrea-ws.scit.wlv.ac.uk/cgi-bin/mapserv?map=/home/stud/0/c0051956/public_html/Project/MapServer/firstwlvWFS.map&service=WFS&version=1.0.0&request=GetFeature&TypeName=UrbanAreas,Motorways
(Sorry, it could be a bit slow)
OK so far, but note that there are several features from both UrbanAreas
and Motorways. Now if the data is loaded into PostGIS, here's the map:-
http://andrea-ws.scit.wlv.ac.uk/cgi-bin/mapserv?map=/home/stud/0/c0051956/public_html/Project/MapServer/wlvWFS_pg.map
Still OK. Now, the WFS request with the same mapfile (not so slow):-
http://andrea-ws.scit.wlv.ac.uk/cgi-bin/mapserv?map=/home/stud/0/c0051956/public_html/Project/MapServer/wlvWFS_pg.map&service=WFS&version=1.0.0&request=GetFeature&TypeName=UrbanAreas,Motorways
Only one feature from UrbanAreas and nothing at all from Motorways -
anybody know what's going on?
Regards,
Keith
More information about the MapServer-users
mailing list