Tag Info

New answers tagged

0

Ok Here is the code for getfeatureinfo and CQL Filter for a layer with EPSG 4326 and Google Maps behind: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <meta ...


2

If you are on Windows, you can export the WMS settings from the registry. For Windows XP and Windows 7, they are stored under HKEY_CURRENT_USER\Software\QGIS\QGIS2\Qgis\connections-wms You can export the key as .reg file, which is human readable, and import it on other computers with the same OS.


6

To share the WMS connections list you can "Save" the XML file (from the form "add WMS/WMTS layer) and "Load" it in every client.


0

There does seem to be something very odd going on there. In a WMS 1.1.1 response such as the one you have given (because it has LatLonBoundingBox) they should exactly match for example here's the output for a UK wide WMS: <LatLonBoundingBox minx="-8.6476" miny="49.8639" maxx="1.76943" maxy="60.8622" /> <BoundingBox SRS="EPSG:27700" ...


0

SM_STP_HRBITOV is part of a group layer called Symboly_typu_pozemku. You can view the layer on its own, but as it appears there aren't many of this type of symbol in the map, you might want to check your query with the group layer... Layers in this group are scale dependent ... <MaxScaleDenominator> 6500 </MaxScaleDenominator> ... Which ...


2

One idea would be to hide the WMSLayer entirely if the map's extent is outside the layers "valid" extent. Based on this answer, one could listen to the map's extent-change event and check if the map's current extent is acceptable: map.on("extent-change", function () { // Check if map.extent is acceptable, otherwise hide the WMSLayer. if ...


0

The service end point for the service is as below, you should use this as the URL you add to any client such as QGIS. http://service.salzburg.gv.at/ArcGIS/services/Geoland_WMS_Land_Salzburg/MapServer/WMSServer? To view the capabilities response from the service you would need to add the following parameters after the question mark: service=WMS& ...


0

One could use OWSLib, an excellent OGC Web Services utility library in python. Install with pip (or download sources from repository): pip install OWSLib Retrieve some info from the the WMS server: >>> from owslib.wms import WebMapService >>> wms = WebMapService("http://sdi.geoportal.gov.pl/wms_prg/wmservice.aspx") >>> ...


0

Far as i know, there is no Open Source solutions for v8 dgn, only way is to convert to another file format. There may be some Bentley products which do it , but I'm not familiar with them. Far as i know , there is no tool in "base" Microstation SELECT 8i to create raster from CAD-file. Solutions for file conversion : Microstation and save to some supported ...


3

You need to select the option Use layer names from the map document in the Add New Service - Capabilities form. Take a look at the OneGeology WMS cookbook Setting up an ArcGIS Server WMS that shows you how to do this.


0

So I eventually got to the bottom of it, a slight bodge perhaps but to request legend images via the previously defined proxy I had to modify the GeoExt LegendImage.js file and modify the setUrl function (see the if statement at the bottom), specifically the el.dom.src = proxyUrl + encodeURIComponent(url) which set the src of the image to the proxy + already ...


0

This issue is now solved in QGIS 2.2, for details see: https://github.com/qgis/QGIS/pull/1081


0

Ciao, GeoWebCache is what you are looking for. Make sure you truncate the cache for that layer everytime you update the back-end data. You might want to do a selective (with BBOX) truncate via REST interface. Check these links: http://geowebcache.org/docs/1.5.1/rest/seed.html#seeding-and-truncating-through-the-rest-api ...


0

Maybe is more intuitive to ask: if (event.features.length != 0) If you don't touch a feature, OpenLayers will set this parameter to 0, because the GeoServer response is "empty". Regards


0

I have previously done this with MS4W, though this only works on Windows


0

The INSPIRE geoportal provides a long list of European geographic datasets. Most of them are published as open WMSs. It is possible to search based on this criteria: Select datasets with a "view service". http://inspire-geoportal.ec.europa.eu/discovery/


0

Maybe, it is too late, bu there is a web where you can find wms using keywords, but is still a bit primitive: http://one-sportdev.rhcloud.com/


1

This can be done using an openlayers stylemap and the "selected" render intent. Your TinyOWS will need to provide the information in a variable called (say) "feature_attribute_variable" var style = new OpenLayers.StyleMap({ 'default' : new OpenLayers.Style({ ..style for when not clicked.. }), 'select' ...


0

I have the same problem, I want to overlay WMS layer in geoserver layer and google does not work. My WMS layer in geoserver is redesigned to 900913 to work with google maps api My code: <!DOCTYPE html> <html lang='en'> <head> <meta charset='utf-8' /> <title>My OpenLayers Map</title> <script ...



Top 50 recent answers are included