Hot answers tagged

2

It appears as though the INFO_FORMAT parameter was also required. The following works: Request: ...


1

What you want is not possible. The info or id tool you use to get a single value for the point you clicked on the map is sending a GetFeatureInfo Request for this coordinate to the server and the server sends back an xml/html file(which is in general optional, as well as the "elevation-awareness" of this wms from ESRI). But only for this single point. Even ...


1

You can use GrassGis which is installed alongside with Qgis. There is the tool r.in.wms which will do the work. It is in the background creating a textfile with the GetMap queries and replaces the extent for each tile. So you set it up with the correct region, the size of the tiles you want to have, the imagetype (depending what the wms offers) and thats ...


1

To read various file formats for rendering GeoTools uses a DataStoreFinder mechanism that allows you to call it with a Map of keys & parameters and then it searches all the available DataStoreFactories to see which one can process those parameters. For your file based stores all you need to do is: HashMap<String, Object> params = ...


1

1) The OSM Layer (that is, the one named osm) is added to the map, but because you have added the Mapquest layer (the one named openstreetmap) as well, the osm layer is hidden beneath it. And because you haven't added osm as one of the basemaps in your layer control, you have no way to turn off the other layers and reveal it. 2) The precipitation layer ...


1

Yes, I think accessing the WMS or WFS services of the Nationaal Georegister is the way to go. Just for reference, here is the link to the WMS service: https://geodata.nationaalgeoregister.nl/napinfo/wms? I had no trouble accessing it in QGIS, and using the Identify button, I could access the true NAP data for points. Your question is not so much about ...


1

You are making a GetFeatureInfo request to a WMS service, the WMS is required by the standard to return information about the point you have clicked on. If there is more than one feature at the point then it may return information about all the features (up to featureCount) that are there. You seem to be asking for information about a raster so the request ...


1

There is a link where time support for GetMap in Geoserver is described, which seems to be available from version 2.2. You could check, if using time parameter for GetFeatureInfo on a time-enabled wms will work, too. Otherwise, I am pretty sure, there is time support with the thredds WMS/ ncWMS, where you can expose netCDF files containing time series data. ...


1

Try this: var FilterWMSlayer= L.tileLayer.wms("http://Server.com/geoserver/Workspace/wms", { layers: 'Workspace:Layer', format: 'image/png', transparent: true, CQL_FILTER:'NAME=Leeds' }); EDIT In case you want to query more params: CQL_FILTER:'param=value&param1=value1&...' EDIT 2 I've updated your ...


1

Before adding the WMS to the project again, I increased the value of 'Feature Limit for GetFeatureInfo' from 10 to 50 in the WMS connection settings. This solved the problem. The 'identify feature' tool now returns the details of overlapping features in a single WMS layer. Thanks @user30184!


1

Problem solved. There was a wrong row in the "spatial_ref_sys" table of the SQL Server database, which was referring to an unexisting SRS. I've replaced it with the following row for WGS84 SRS. srid:4326 auth_name:EPSG auth_srid:4326 srtext:GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS ...


1

I know this question is really old now, but if anyone get the same problem as he got, maybe this could be helpful ! Your piece of code seems to be good in theory. As I used arcGIS/Leaflet in exactly the same way. But yea, problem could come from missing spatial reference (or maybe incorrect format (image/png or image/jpeg). For the spatial reference, here ...



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