[mapserver-users] WFS Layers not visualized and big size?

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Sat Apr 4 02:11:44 EDT 2009


Hi,

What client are you using for visualizing?  I guess many clients have been designed to handle only one feature type at a time.  If GetFeature packet contains features from several featuretypes the client should in any case split them to separate layers before rendering.  Big size in not a surprise, files are containing all the coordinates and attribute data in text format.

Consider WFS as data transfer system and think again if few seconds per request is long or not with the amount of data you get with your requests.  Your client is receiving all the data, both the coordinates and attributes and thus the situation corresponds to downloading the data as shapefiles or something.  I don't mean to say that you should be happy with the speed, it may well be extraordinary slow.  But WFS is always slower that WMS.  For speeding up the system the WFS requests should not be bigger than reasonable (not the whole featuretype if area of interest is just the screen size), no unnecessary attributes should be included with the data, and the client should cache the received data and not ask the server to resend everything again if user is just zooming and panning on the already visited area.


-Jukka Rahkonen-


-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users-bounces at lists.osgeo.org puolesta: mehmet
Lähetetty: la 4.4.2009 1:44
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: [mapserver-users] WFS Layers not visualized and big size?
 

Hi !

I got a WFS server with two layers inside  -nothing special. But now something weird happens:
When I try to build them in in a wms/wfs client together they are not shown. If there is only one layer embed in the client it works without any problems.

Anybody knows why ?


And another strange thing is the size of files (xyz.tmp.gml and xyz.tmp.gfs) which are created in the tmp-folder. The size of them is about 4 - 11MB, and that's why every request lasts a few second (too long I think.. because the data isn't that large). Or is this case normal?


(Mapserver: 4.10)

thank you
kind regards
m.sirin
-- 
View this message in context: http://n2.nabble.com/WFS-Layers-not-visualized-and-big-size--tp2583277p2583277.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list