[OpenLayers-Users] OpenLayers WFS limit

allanlumte lumtegis at gmail.com
Tue Sep 4 00:27:32 PDT 2012


Hi all,
I've created an openlayers wfs layer from a shapefile with 50 attribute
fields, the layer is invisible on the
base map while the firebug shows - Uncaught RangeError: Invalid array
length,
Question is, is there a limit of attribute fields that openlayers wfs can
handle ?
The layer code is as below :

wfs_layer = new OpenLayers.Layer.Vector("Counties", {
        strategies: [new OpenLayers.Strategy.BBOX()],
        protocol: new OpenLayers.Protocol.WFS({
                     version: "1.1.0",
                     url: "http://localhost/geoserver/wfs",
                     featureType: "counties",
                     featureNS: "http://www.opengeospatial.net/cite",
                     srsName: "EPSG:4326"
        })
});







--
View this message in context: http://osgeo-org.1560.n6.nabble.com/OpenLayers-WFS-limit-tp4999611.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list