I am displaying 100 000 points in a layer via WFS protocol. I need about 5 minutes. However, 100 000 does not seems so much...
My points are stored in PostGIS, in a column defined this way : AddGeometryColumn('records','position', 4326, 'POINT', 2)
My GeoServer server tell me almost instantly this:
outputFormat = text/xml; subtype=gml/3.1.1
resultType = results
So I think it it OK for reading in PostGIS, and send the response to my browser.
But my Firefox/Chrome are very long to display it, so much that it tells me that the page is unresponsive many times. So maybe it is my JavaScript or my browser who is long to display. Here is my JavaScript with OpenLayers:
var wfs = new OpenLayers.Layer.Vector("Record2", {
strategies: [new OpenLayers.Strategy.Fixed()],
protocol: new OpenLayers.Protocol.WFS({
version: "1.1.0",
url: "http://localhost:8080/geoserver/wfs",
featurePrefix: "cite",
featureType: "record",
featureNS: "http://www.openplans.org/cite",
srsName: "EPSG:4326",
geometryName: ""
})
});
map.addLayers([world, wfs]);
map.zoomToMaxExtent();
Do you have an idea of the reason for this?