On 19/03/12 17:13, alessandro marrone wrote: > hello > I'm mapping some feature contained in a postgis db, when i call getId() from > the mapping file, it returns a value like this:<table name>.<key value> > I checked the examples in the documentation and it should return just the key > value.
Where in the documentation? That might be a mistake. CQL getId() creates a feature id (e.g. gml:id) which must be an NCName (cannot be a number). Because keys are commonly integers, for a simple source feature GeoServer prepends the table name (and a ".") to make a unique gml:id that is a valid NCName. Kind regards, -- Ben Caradoc-Davies <[email protected]> Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
