Tag Info

Hot answers tagged

4

This is not possible with WMS. WFS gives the data itself (READ only), and WFS-T is a transactional extension of WFS that allows you to CREATE/UPDATE/DELETE data through the WFS protocol. In your case, for what you need, you can't use WMS / GetFeatureInfo but you need WFS-T or to use a different approach like JDBC to edit the content of your postgis tables.


1

After loading all the datas in vector layer we have to redraw vector layer. map.getLayersByName(vectorlayerName)[0].redraw(); Thank you @iant. :)


1

The vertices function might help you, as documented in the GeoServer manual. I used this to show cadastral survey points.


1

I got the solution. If you want, just do the following... //Styles to switch off the roads var stylez = [{ "featureType" : "road", "stylers" : [{ "visibility" : "off" } ] } ]; //Satellite var ghyb = new OpenLayers.Layer.Google( "Google Hybrid", { ...


1

I created a shapefile with attributes of type string, integer, double, and date. Then I converted the shapefile into KML with GDAL 2.0-dev version. ogr2ogr -f kml type.kml typetest.shp Resulting KML file contains schema definitions in the end of the file. <?xml version="1.0" encoding="utf-8" ?> <kml xmlns="http://www.opengis.net/kml/2.2"> ...


1

I ended up writing a Leaflet plugin, Leaflet.draw.topology, to accomplish this task. The only thing not implemented in the plugin is geometry validation, though in the future it certainly could be. It is currently handled server side with PostGIS.



Only top voted, non community-wiki answers of a minimum length are eligible