Tag Info

Hot answers tagged

3

You need to write a custom control that does that thing. Ive written a tutorial on the topic, so check it out :) http://codentonic.net/2015/04/02/custom-openlayer-control/ if you have any questions feel free to ask me


2

WMS servers can typically serve images in many formats (jpeg, 8-bit png, 24-bit png etc.). Jpeg format, while it gives a good compression rate for natural looking imagery like aerial photos or satellite images, has a drawback that it does not support transparency. If you need WMS layers with transparency, use png instead of jpeg as an outputformat. For ...


1

The X and Y coordinates in the GetFeatureInfo query mean the pixel coordinates of the image that is created with the GetMap parameters which are included in the request. You can't change the BBOX parameters independently from the X and Y parameters and suppose that the result would be the same. In your first case the request contains these parameters for ...


1

This is the solution: <!-- mapserver template --> [metadata_variable_name] = [item name="value_0" precision="1"] [metadata_unit]<br>


1

I think you are mixing up a couple of things. When you install Geoserver, it comes with a lite distribution of OpenLayers. That is used to preview the data once you publish some. But this functionality is only suitable for previewing, and not as a production front-end. If you want a Production quality front end, you need to develop that yourself. You can ...


1

Just use the OpenLayers.Control.GetFeature: var your_control = new OpenLayers.Control.GetFeature({ protocol: OpenLayers.Protocol.WFS.fromWMSLayer(your_wms_layer), box: true, hover: true, multipleKey: "shiftKey", toggleKey: "ctrlKey" }); ...



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