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.


2

I believe that layergroup behaves like a one layer and therefore you can't use two CQL_FILTERs which are separated with semicolon as if you were asking two layers. What you can do is to ask two layers with one request and give different CQL_FILTERS for those two as a list. This request is selecting New York from topp:states and point named "fire" from ...


2

I didn't play with it but I remember seeing Bjørn Sandvik from Thematic Mapping playing with Three.js and WMS. The recipe is available on this blog post.


1

Just see this official demo example http://openlayers.org/en/v3.0.0/examples/wms-image.html Some others WMS samples are available. You will just need to change ServerType to mapserver (link for reference) Edit for completing with solution Without proj4js, you can always use the recipe from this other official example Declare an object ol.proj.Projection ...


1

Sure you can. Its as easy as loading the map. See this example: http://dev.openlayers.org/examples/osm-google.html Code: (Place this after the OpenLayers map) var gmap = new OpenLayers.Layer.Google("Google Streets"); map.addLayer(gmap); and load the folowing javascript: <script ...


1

CQL filter is a vendor parameter provided by GeoServer, therefore you have to include the cql_filter in the params string object. OpenLayers 3's ol.source.TileWMS object only supports options you can see in the corresponding API page. Also, in OpenLayers 2 you had to include cql_filter in the params object. Because of its limited input options, you didn't ...


1

According to this link it is not yet possible: http://ehc.ac/p/geoserver/mailman/message/32091487/


1

This is covered in THIS answer which asks how to return a tile for a Java Application. You can load a single tile by sending a completely formatted WMS url which includes the bounds that you want. See the answer from iant for more details.


1

It's not possible to add a WMS layer as a non baselayer for the moment. The workaround here is to do it client side, loading the visualization using cartodb.js and then using a WMS layer with leaflet, google maps, open layers or whatever library you are using. Seems like a shame when there's a lovely WMS endpoint just sitting there ready to be exercised ...


1

With the admin utility you can select allowed formats from the WMS settings page. GetFeatureFormats can be selected from "Allowed MIME types for a GetFeatureInfo request". Leave only text/html and text/plain left. You must also disable vector formats from "Allowed MIME types for a GetMap request" for preventing KML and perhaps SVG and some other ...


1

The scale limits which are used in SLD should be converted automatically into MinScaleDenominator/MaxScaleDenominator with WMS 1.3.0 and into ScaleHint in WMS 1.1.1. You can read examples from this demo server: http://demo.opengeo.org/geoserver/wms?service=WMS&request=GetCapabilities&version=1.3.0 ...


1

As far as I can see, the example in the documentation is working, but not with the NASA JPL service. It says that NASA has stopped providing WMS support. You just have to look for another WMS service and fill in the required parameters: urlWithParams = ...


1

Here is a working code for your problem: http://jsfiddle.net/GFarkas/rkhzfguz/1/ Some explanations on the wrong lines: var crs = L.CRS.proj4js('EPSG:3301', '+proj=lcc +lat_1=59.33333333333334 +lat_2=58 +lat_0=57.51755393055556 +lon_0=24 +x_0=500000 +y_0=6375000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs', new L.Transformation(1, -40500, -1, ...



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