[OpenLayers-Users] save Filter
Jimmy Aumard
jimmy.aumard at gmail.com
Wed Dec 16 10:42:21 EST 2009
Hello,
I use filter like that:
var filter= new OpenLayers.Filter.FeatureId({
fids: ["franchises.5"]
});
var filter_1_1 = new OpenLayers.Format.Filter({version: "1.1.0"});
var xml = new OpenLayers.Format.XML();
xml.write(filter_1_1.write(filter));
This give me :"<ogc:Filter
xmlns:ogc="http://www.opengis.net/ogc"><ogc:FeatureId
fid="franchises.5"/></ogc:Filter>"
I save this in my database.
It's possible to change strings to filter? How can save filters?
Cheers
--
Aumard Jimmy
Développeur - http://www.kinaxia.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091216/f88eb854/attachment.html
More information about the Users
mailing list