New answers tagged

0

So i managed to solve the "problem" using cql. I am using a leaflet script, and by adding cql_filter: 'begin AFTER ' + begin + 'T00:00:00 AND end BEFORE ' + end + 'T00:00:00' to the getMap-Request, with begin and end containing the start and end of the period i am interested in (formatted like YYYY-MM-DD), i can now query exactly what i wanted before.


0

Problem solved. Geoserver had problems with the projection. The tiffs were in EPSG:32633. It works after reprojecting the tiffs to EPSG:3857.


0

Your "missing tiles" are really errors from the server. Normally, when you ask a WMS server for an image, it will reply with an image. But sometimes, if you hit the kartverket servers a tiny bit too quickly, a tiny bit too hard (as you're doing when panning the map too fast), the server will reply with: <?xml version="1.0" encoding="ISO-8859-1" ...


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


0

Ok, i am trying an Arcgis plugin avaible as a standalone .exe. It's called WMS dowloader, avaible here and i'll confirm later if it works but from what i've seen it might do the trick (It has a clear and simple UI at least) After much work and a long download it seems WMS downloader worked alright for the task at hand. But i have to say, seting up that ...


0

If your WMS server allows users to cache data, and all that you require is the Imagery as a Base layer, you should look into using Mobile Atlas Creator I've successfully used MAC to create a mbtiles file, which can be viewed in QGIS, and is as good as an offline basemap, which you can place underneath your data. For more information on how to use Mobile ...


0

My assumption are you are using jetty geoserver (installer) and you have your application on tomcat7 which is accessing WMS. In this situation a better solution is to deploy the geoserver war file in tomcat7 . This solves the root problem you won't need CORS at all ! Update : the problem seems to be in url format check this for more reference ...


0

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


2

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


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


0

I had the same issue on CentOS 7 and found that the files related to EPSG is located in the proj-epsg package. When installed, this package provides the missing epsg file in /usr/share/proj/.


0

this fixed it! mxd = arcpy.mapping.MapDocument("CURRENT") lokaal = r"D:\\Drive\\verwerk_straatkolken_uit_as-built_plannen\\" prjFile = lokaal + "opmeting_straatkolk.prj" prj = arcpy.SpatialReference(prjFile) df = arcpy.mapping.ListDataFrames(mxd)[0] df.spatialReference = prj arcpy.RefreshTOC() arcpy.RefreshActiveView()


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

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

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

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

You can use the env function almost anywhere an expression is allowed in your SLD so your example becomes: <CssParameter name="stroke"> <ogc:Function name="Interpolate"> <ogc:PropertyName>VALUE</ogc:PropertyName> <ogc:Literal>-9999</ogc:Literal> <ogc:Literal>#000000</ogc:Literal> ...


0

I can't find an example WMS that has a layer with two plus named styles, but just using the below example, I always thought that you would be able to select the layer style you wanted through the QGIS Add Layers dialogue window. So in this below example the style is called 'default' (id is 2), but in your example you would have grayscale (id would be 2) and ...


2

Here's a simple tutorial: A Web Map Service (WMS) is a web service that supplies georeferenced images to a client (viewer). The service supplies images based on a request that specifies, the dimensions, the coordinate reference system, the data, the output format and other criteria as required. The client builds a request based on information that is ...


1

One way to do this after WMS is added, if you need several exports, in batch would be: Create polygon grid layer based on desired extent, see link below for options how to do this Creating spatially projected polygon grid with ArcMap Adjust layout height width ratio to be similar to grid layer feature and adjust data frame edges to be flush with layout ...


3

In ArcMap, add the WMS and turn it on then zoom to the region you want to export. Click the File->Export Map... menu. In the General tab, change format to TIFF, adjust resolution if required, tick Write World File (world file not required if GeoTIFF tags are included). In the Format tab, add compression if desired and tick Write GeoTIFF Tags (GeoTIFF ...



Top 50 recent answers are included