Tag Info

New answers tagged

0

I solved the problem: re-project the wms layer in ArcMap to WGS_1984_Web_Mercator_Auxiliary_Sphere(epsg3857). use this code: var map = new OpenLayers.Map({ maxScale: 1/5000, minScale: 1/500000, projection: new OpenLayers.Projection("EPSG:3857"), displayProjection: new OpenLayers.Projection("EPSG:4326"), ...


0

It sounds like you're on the right track. Services are published by adding relevant datasets to an .MXD and clicking File > Share as a service. http://desktop.arcgis.com/en/desktop/latest/map/publish-map-services/publishing-a-map-service.htm Conversely, its also possible to add data published as services back into ArcMap via the Catalog window after ...


0

You need to clear the WMS Service Group Layer before adding the single WMSMapLayer. wmsMapLayer.Clear(); wmsMapLayer.InsertLayer(newLayer, 0); Note that this will remove all group/map layers from the WMS Service Group Layer, so if you're adding more than one, it might be advisable to not call wmsMapLayer.Clear() in the body of your loop. I haven't tested ...


0

That doesn't quite match what I see in the WKT in the link I sent... and did you try just adding (preferably with corrected lon_0, x_0, and y_0 from WKT mentioned in my comment) # Swiss Transverse Mercator <3847> +proj=tmerc +lat_0=0 +lon_0=15.80827777777778 +k=1 +x_0=1500000 +y_0=0 +ellps=bessel +units=m +no_defs no_defs <> to the epsg file? ...


0

You can use full planet dump and corresponding tools to create a dataset that contains the historic content of OSM and "undos" edits. This can be rendered with the ordinary mapnik rendering stack and published via WMS. There are also some animations out there that shows OSM growth during time (e.g. ITO, geofabrik ...). But as @Jesse mentioned, OSM started ...


1

The thing is that the legend of a wms service is actually an image. Having said that how can you display an image inside the tree? what I usually do is either use the Legend Panel, which i can understand is neither handy or neat or use an event to manually get the legend of the layer and display it somewhere more handy. for example: ...


0

It worked fine for me when I tried it in QGIS, and just with a browser for the GetCapabilities. Most likely you are working in an environment that has an outgoing web proxy, and you haven't configured it for whatever client(s) you are trying.


0

You actually forgot to mention, nor included it in the graph, how you measure "icon size": 1) width/height on the X-axis, 2) pixel area of icon in number of pixels I guess it is 1), based on regular icon sizes. That probably explains your graph: the increase in icon area size as measured in number of pixels is quadratic, each doubling of the width, ...


0

Thanks to Jose garcia, The problem is fixed. here is the detail below There's a bug in 2.10.3 related to the logos, that are not loaded and causes this issue in the harvesters, as require a logo to be defined in each harvester. The solution is to add a custom logo in the System Administration > Logo Management and use that logo for the harvester. This ...


0

So WMS is a raster based output solution. If I were working on this, I would want to use the mapnik tool to control the graphic output. WMS with FME http://fmepedia.safe.com/articles/Samples_and_Demos/Spatial-Image-Serving-Through-WMS-with-FME-Server#heading_toc_j_4 Mapnick with FME ...


0

What you are seeing is the correct behaviour as described by the SLD Spec. If you want to only apply one symbolizer to a feature then you need to provide a filter that selects one (or more) of the symbolizers for each feature. The GeoServer documentation covers how to handle multiple geometries in one column quiet clearly here.


1

Add the hyperlink to the legend in the "Link" box in the Lizmap Plug in. in info button will appear next to the layer and clicking on it will bring up the legend.


1

Using the WMSGetFeatureInfo method, the way to pass along viewparams is by using vendorparams and and assigning the viewparams in the eventlistener before the callback function retrieving the "click result" from the WMS layer click_info = new OpenLayers.Control.WMSGetFeatureInfo({ title: 'Identify features by clicking', layers: ...


0

I solved problem. My layers are created with sql view. When I zoom in level 10 other layers are appearing and one of them is duplicated column name. I get wms request result error like this: Rendering process failed↵java.io.IOException↵null↵ERROR: column reference "name" is ambiguous↵ Position: 117


0

I get Leaflet interactivity in two ways, depending on how big the dataset is. I would recommend against WMS getFeatureInfo, because the styling is all set server-side, which is tedious to configure. So, here's my two ways: If the dataset is small, just load the whole thing as a vector (do the request as JSONP or JSON if you have CORS enabled). For example: ...


0

I made this code for json ftl template, based in a post: This is the code for header.ftl [ This is the code for content.ftl: { "layer": "${type.name}", "features": [ <#list features as feature> { <#list feature.attributes as attribute> <#if !attribute.isGeometry> ...


1

Your problem seems to be investigated on the GeoServer developer mailing list in this thread Summary Cascading WMS from the Polish geoportal is failing because the server does not accept Java as a User-Agent in the http headers. I recommend to contact the administrators of the geoportal because this behavior it preventing the use of the WMS service with ...


2

basically use &TIME=value at the end of the WMS request. For a range of values you need to use &TIME=start/end. If you look in the GetCapabilities response you will see the values of time that will work. See this tutorial for a brief explanation.


3

I believe that the url you provide to the QgsRasterLayer needs to be url encoded. Otherwise it seems that the url parameter which you pass to the QgsRasterLayer splits upon the '&' character. The following snippet demonstrates the creation of a QgsRasterlayer for Cochlearia danica L. wmsService = ...


0

I don't know any printing module demo with several different config.yaml to choose from. I would recommend to start by the examples provided in the mapfish print GitHub repository. I hope it helps.


3

Other than tile size, as noted by @Irssvt, you can also set some timeout and tile retry parameters. Default timeout per connection is in Settings->Options->network->Timeout for network requests Retry in case of timeout is in Settings->Options->network->Max retry in case of tile request errors. I coded the last retry parameters in QGIS, ...


2

Sometime that could occurs with slow connection. You could try to set a tile size for your WMS layer. Change Tile size (e.g 256x256) in WMS Connecition dialog and you see if it works for you: Sometime it helped me for large compositions. Hope this helps.


0

Scrolling down to the map contents section: http://services.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer


2

The chances are your OpenLayers application is requesting data in as a regular WMS request. The following options will let you fix it: Make sure you meet all the requirements listed here: http://docs.geoserver.org/stable/en/user/geowebcache/using.html#direct-integration-with-geoserver-wms - the one you're most likely missing is tiled=true as a parameter ...



Top 50 recent answers are included