[OpenLayers-Users] Re: need a little help with this ( user input & wfsprotocol.read )

Bartłomiej Burkot pomiarowiec10 at poczta.onet.pl
Tue Mar 13 04:34:04 EDT 2012


One solution is to add column to attribut table with the same values as 
primary key column. If you use postgresql try something like:
alter table yourattributtable add column duplicatedid default id. Then 
column duplicatedid appears as regular attribut in geoserver.

> *my main problem is with the GeoServer !!
> my filter property is the primary key of my layer and i just found out that
> the GeoServer does not publish primary key attributes as regular feature
> attributes, so i'm keep getting null instead of my id.
>
> is there any solutions for it ? *
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/need-a-little-help-with-this-user-input-wfsprotocol-read-tp4468479p4571521.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
>



More information about the Users mailing list