Tag Info

New answers tagged

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 ...


0

According to the WMS specification, the value part of name=[value]& parameter pairing is case sensitive, so the correct format here is actually: http://demo.opengeo.org/geoserver/wms?Service=WMS&Request=GetCapabilities&


3

I'll like to answer your real question, instead of what you have asked here. The WMS standard as such, does not talk about tiling, or the size of the images that should be requested. It says that a WMS service should return whatever image, in whatsoever size that is requested. What you have seen in OpenLayers, is that by default, it will call for small ...


2

I have successfully served thousands of aerial images using firstly GDAL to either transform and mosaic original orthophoto-data and create pyramids, and then Geoserver with the "Image Mosaic" plugin to serve the images and Geowebcache to create fast tile requests. In my opinion, there is hardly a better solution. ...


0

I've followed carefully your steps and I think that, if you want to see both layers in the same time, not separatelly, you need to make an additional first step: to go to the project properties and to enable the on-the-fly CRS transformation. Only after this step is completed you can properly add and see together your wms and shapefile layers, otherwise ...


2

I was able to use EPSG:31467 (DHDN / Gauss-Kruger zone 3) in QGIS 2.2.0. I did this by using the Change button under Coordinate reference System (8 available), then in the Coordinate Reference System Selector used '31467' as a filter, selecting the result and clicking OK.



Top 50 recent answers are included