Hot answers tagged

7

In the generic Web Map Service configuration (that is before you have chosen a workspace), you get options (at the bottom of the page) to configure the Allowed MIME types for a GetMap request, and also Allowed MIME types for a GetFeatureInfo request.


6

No you can't (in any sensible way). WMS services serve images not data (see here) to the user. While you could use some fancy image processing software to edit the images I don't think that's what you're after. There is almost certainly a better way to achieve whatever objective you're aiming at. One way or another you're going to want to get hold of the ...


6

You can set up GeoWebCache to request WMS layers from any WMS server. This may be easiest with a standalone install of GWC but should be possible in the integrated version too. You need to edit the configuration file, see the manual for more detail. Alternatively you can use the GeoServer WMS datastores to cascade requests to the MapServer instance and the ...


5

For a reference of the GeoServer WMS services: https://docs.geoserver.org/stable/en/user/services/wms/reference.html Get server capabilities: https://maps.rissac.hu:6443/arcgis/services/dosoremi_web_mercator/MapServer/WMSServer?service=WMS&version=1.1.1&request=GetCapabilities The server returns an XML file, open it with a web browser. ...


5

I think there may be an issue with your app_code and app_id. I was able to add that service as an XYZ Tile in QGIS using my App_id/App_code, but not with yours. Is yours restricted to a domain? And: If you are adding this as an XYZ Tile, you have to put the z,x,y parameters in place of actual values: https://2.aerial.maps.api.here.com/maptile/2.1/...


5

As Stefan mentioned, L.map has the option for setting minZoom and maxZoom. var map = L.map('map', { center: [9.34, 76.55], zoom: 20, maxZoom: 25 //(or even higher) }); In your example, L.tileLayer.wms has that option, too: Countries: L.tileLayer.wms('https://demo.boundlessgeo.com/geoserver/ows?', { ...


4

The data in the map is coming from a WMS server. Just add the URL to QGIS using the "Add WMS/WMTS Layer button". URL: https://maps.rissac.hu:6443/arcgis/services/dosoremi_web_mercator/MapServer/WMSServer?LAYERS=4&PROJECTION=EPSG%3A3857&TRANSPARENT=TRUE&VERSION=1.1.1


3

That server was deprecated in 2016. https://www.usgs.gov/news/usgs-national-map-orthoimagery-map-services-transition-and-other-map-service-changes The official announcement includes links to the replacememt services.


3

I have fixed this problem. Previously at the time of publishing the layer, I had selected Tile Image Formats: JPEG. Whereas Map legend supports only PNG format. So NOW, I have selected Tile Image Formats to PNG and I am getting map legend in GWC WMS.


3

You are mixing an SLD 1.1.0 file (or Symbology Encoding) with the SLD 1.0.0 format so GeoServer is filtering out the 1.1.0 elements to make it compliant with 1.0.0. You need to set the content-type to application/vnd.ogc.se+xml as is documented in the manual though it would help if QGis made it clearer that it was exporting SE not SLD.


3

That's not a WMS or ArcGisFeatureServer URL, it's an ArcGIS MapServer URL. To connect, in the browser panel, right click on ArcGISMapServer and select "New Connection...". Enter a name, i.e Six Maps and paste in your URL.


3

Among the basemaps provided by the QuickMapServices plugin is a set of basemaps called "TianDiTu." According to the Wikipedia article for Tianditu, this is "China’s first official free web mapping service," created and provided by the government. That seems as solid a local solution as you could possibly get without a VPN. The QuickMapServices plugin ...


3

That's the link to the metadata page, not the service URL. To add this layer as a Web Map Service, you need to use the WMS service URL. Get the WMS service URL by right clicking on the "WMS" in the upper left of the metadata page, and choose "copy link address". (If you're using a Mac, do whatever the Mac equivalent of a right click is. Probably command-...


3

To add a WMS layer into Scene Viewer first add the WMS layer as an Item under My Content > Add Item > From the Web Then Add the WMS layer item either through the item> open in Scene Viewer or in Scene Viewer Add Layer > My Content WMTS requires the same workflow and can be added through the item but currently not from the URL. From URL supports adding ...


3

Generally speaking a WMS gives singular images (or videos) on request (GetMap), so output formats will be normally, image/png, image/jpeg, image/tiff. A caveat would be use of WMS to serve MapBox vector tiles. A WMS is not a streaming service. The data the WMS converts into its output can be vector or raster, or some combination of those. The attribute ...


2

Okay, we figured this out. It turns out that the tile bounding box (the bbox of the 256 x 256 tile you are rendering) needs to be in EPSG:900913 (Spherical Mercator), even if geoserver's underlying SRS is Lat/Lng. Also, Spherical Mercator uses meters as units, so we needed to convert degrees to meters using the code below, which we found on the web. ...


2

GeoServer is drawing that line because it's in your data. There is currently no way to eliminate that line automatically, but if you are willing to code or sponsor changes, the project is open to everyone's contributions. In case you just want to get it done without code changes, I guess you can extract the polygon outlines, turn that into a line layer, ...


2

Looking at the service response for your snippet, it says: <ServiceException code="OperationNotSupported"> Only 1 layer may be requested </ServiceException> Seems like they only allow you to specify one single layer in the visibleLayers, for example: visibleLayers:['VAGUES_MFWAM_R0000_GLOB05/u0']


2

Standalone GeoWebCache http://geowebcache.org/docs/current/index.html does not try to read GetCapabilities. All it requires in the configuration is the GetMap url and the name of the WMS layer that should be cached http://geowebcache.org/docs/current/configuration/layers/examples.html#minimal-configuration It is not possible to add layers to integrated ...


2

The easiest way I can imagine is to write a static XML file that has a valid GetCapabilities structure and access that static capabilities with any WMS client. GetCapabilies response contains also the URL to use for GetMap requests. See for example https://demo.geo-solutions.it/geoserver/wms?service=wms&version=1.3.0&request=GetCapabilities For ...


2

You can use MapProxy for that. I do use MapProxy to provide proper Capabilities documents to clients (like OpenLayers or QGIS). I also use it to reproject tile services (like OpenStreetMap tile server). Use http://yourserver/mapproxy/demo url for testing and check the Capabilities document. Configure you MapProxy with something like: services: demo: ...


2

Thanks for all your help! This is the solution: map.on('singleclick', function(evt) { document.getElementById('info').innerHTML = ''; var viewResolution = view.getResolution(); var url = jeziora.getSource().getGetFeatureInfoUrl( evt.coordinate, viewResolution, view.getProjection(), {'INFO_FORMAT': '...


2

You are asking (in all these questions) for an image that is 200k*100k pixels in size - that is 20,000,000,000 or 20 billion pixels each with 3 bands so 60 billion bytes (or worse floats or doubles) so it is going to be a big file unless you add some compression. If you are basing it on the WMS request then asking for more than 1500 by 3000 pixels is a ...


2

Ian's answer is correct, but to rephrase the same concept, it's because when you enable time, time filtering is always present, even if you don't specify it in the request, and if you don't specify it, it's using the default time value.


2

First off, adding Google Maps tiles via a tile template goes against Google's terms of use. I encourage you to have a look at GoogleMutant. Second: calls to bringToFront will change the z-index of the tilelayers. Dig a bit into Leaflet's source code. Calls to bringToFront and bringToBack will change the z-index of the TileLayer based on the TileLayers ...


2

Using the URL https://geoinfo.frankfurt.de/mapproxy/luftbilder_2018/service? and the signature.. you can load the WMS tiles into QGIS easily


2

OpenLayers needs to make the request for the WMS image in the projection of your map, by adding the line projection: 'EPSG:4269' to your layer you are over ruling it but it doesn't know and so uses the bounding box of the map which will be in meters (EPSG:3857 is the default map projection) so your map is drawn just very small and down by the equator.


2

You are reading the longitude and latitude in wrong order from the EPSG:4326 BoundingBox. If you read the whole response from that server you should notice that WMS version 1.3.0 tries to give this information explicitly with the GeographicBoundingBox so that users would not need to know the official axis order of each CRS. WMS 1.3.0 also recommends to show ...


2

If query by airport ID is a requirement then WFS is the only solution. WMS and WCS does not support queries by attributes. WMS GetFeatureInfo supports only query by a point and even then some tweaking would be needed for making it to work with lat/lon coordinates. WCS is all wrong service for your needs because it can only deliver coverages (usually raster ...


2

Since the problem was solved by upgrading from OL4 to OL5, I'll write this answers for somebody who would want to stick with OL4. OL4 wraps popup in a div container with css class ol-selectable, which looks like this: .ol-selectable { -webkit-touch-callout: default; -webkit-user-select: auto; -moz-user-select: auto; -ms-user-select: auto; user-...


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