Tag Info

New answers tagged

1

You have probably hit a side effect of heavy work what was done with GeoServer GetFeatureInfo to return info from what is exactly rendered on the map. With the style used in your map there is nothing rendered between the markers. You can have a try by adding a buffer vender parameter into your GetFeatureInfo request. The default value is 3, try to add ...


3

Definitely that's not an obvious way of loading a WMS. This is what have worked for me (QGIS v.2.8.1): urlWithParams = "url=http://maps.itu.edu.tr:8082/geoserver/sf/wms&format=image/png&layers=sfdem&styles=&crs=EPSG:26713" rlayer = QgsRasterLayer(urlWithParams, 'DEM', 'wms') rlayer.isValid() # Returns True this time ...


1

MapSurfer.NET || Closed || Freeware


0

You have asked for an image of the whole world (-180->180,-90->90) to be drawn in a 256x256 image. I'm not surprised that it looks a bit pixelated. There are two problems here: 256x256 is very small so I suspect that the App is upSampling the image to fill the screen. This will make your image look blocky. WMS servers are not allowed to assume that you ...


1

Well, you can use the geoserver curl interface to add the layers that you want. You can write simple commands to run against that, targeting your server. If it's a shapefile, upload it to the place where you want (possibily the same server as GeoServer) and use cURL. After that, you can use management command in geonode called updatelayers. It pools ...


1

You may use geoconfig python module: gsconfig is a python library for manipulating a GeoServer instance via the GeoServer RESTConfig API. Documentation Here is a similar Q/A that may help too: Python Geoserver gsconfig create resource from Postgis store table


1

A common reason for such an error is the Same-Origin-Policy. If your Webserver is serving on Port 80 and Geoserver on Port 8080 for example then your request can be blocked because of a violation of the Same Origin Policy. If that's the reason in your case just add a proxy.cgi, adapt it to your needs (correct settings/path for the python shebang, add ...


0

If you look at the GetCapabilities document for the WMS you will see that many of the layers specify a maximum and minimum scale that they will be displayed at: <Layer queryable="1"> <Name>RE007TOP_top100</Name> <Title>Rústic. Toponímia 1:100.000</Title> <Abstract> Toponímia 1:100000 de Menorca. Aquesta capa s'ha creat a ...


1

You can check the code out of the repository and do pretty much anything you like with it. You might also want to look at the GeoTools code that underlies much of the GeoServer code. GeoServer code is licensed under the GPL - so there are some restrictions on what you can do with it, mostly related to releasing programs without releasing your changes to ...


0

Just try to pass the viewparams as part of the WMS_URL: var viewparams = [ 'x1:' + startCoord[0], 'y1:' + startCoord[1], 'x2:' + destCoord[0], 'y2:' + destCoord[1] ]; var baseURL="http://192.168.0.34:8080/geoserver/wms"; var better_BaseURL=encodeURI(baseURL+"?viewparams="+viewparams.join(';')); var myLayer = ...


0

If you look at the http://openlayers.org/en/v3.6.0/apidoc/ol.source.TileWMS.html documentation carefully, at the end of the params option it says WIDTH, HEIGHT, BBOX and CRS (SRS for WMS version < 1.3.0) will be set dynamically. To change your tile dimensions you need to set the a tilegrid to the tilegrid option, but 256x256 is the default so you ...


0

If you installed the packages correctly you now need to decide what web server you want to use for your QGIS server. Windows has its own IIS, but I'm guessing you're using the provided apache. First of all you need to theck if that qgis_mapserv.fcgi.exe is even working (the .exe file is used to respond to your requests). You can simply go to that folder hold ...


0

You should take a look at this plugin : https://github.com/heigeo/leaflet.wms It allows you to get info on a popup for each 'feature' of a wms layer.



Top 50 recent answers are included