payame_noor Posted August 23, 2014 Report Share Posted August 23, 2014 (edited) I have a layer in geoserver and I want to get this layer with WMS in OpenLayers. population = new OpenLayers.Layer.WMS("population","http://localhost:8080/geoserver/world/wms",{'layers': 'population', transparent: true, format: 'image/png'},{isBaseLayer: false}); I get the property of feature with OpenLayers.Control.WMSGetFeatureInfo. featureInfo = new OpenLayers.Control.WMSGetFeatureInfo({queryVisible: true,layers: [population],output: 'features',infoFormat : 'application/vnd.ogc.gml',format: new OpenLayers.Format.GML,eventListeners: {getfeatureinfo: showInfo}}); I want to edit the property of some features. How can i do? Edited August 23, 2014 by payame_noor Quote Link to comment Share on other sites More sharing options...
serenada Posted December 25, 2014 Report Share Posted December 25, 2014 I think you are not able to edit online, Publish it to WFS instead of WMS. cmiiw Quote Link to comment Share on other sites More sharing options...
mounaimGeo Posted January 7, 2015 Report Share Posted January 7, 2015 i confirm what serenada told you Publish it to WFS Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.