[OpenLayers-Users] OpenLayers WFS limit

Bart van den Eijnden bartvde at opengeo.org
Tue Sep 4 00:30:46 PDT 2012


The amount of attributes should likely not be the issue here.

Do you have a minified example so that we can reproduce?

Best regards,
Bart

-- 
Bart van den Eijnden
OpenGeo - http://opengeo.org
Expert service straight from the developers.



On Sep 4, 2012, at 9:27 AM, allanlumte <lumtegis at gmail.com> wrote:

> 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.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120904/f4223167/attachment.html>


More information about the Users mailing list