Tag Info

New answers tagged

4

This is not possible with WMS. WFS gives the data itself (READ only), and WFS-T is a transactional extension of WFS that allows you to CREATE/UPDATE/DELETE data through the WFS protocol. In your case, for what you need, you can't use WMS / GetFeatureInfo but you need WFS-T or to use a different approach like JDBC to edit the content of your postgis tables.


0

I tried to debug OpenLayers code. I found that for IFrame module, gutter is not being considered while positioning in GetImage function. This consideration happens in image module. I tried to use same code in IFrame > GetImage and it works fine. Not sure this is the only way to do it but I couldn't find any other. I have done following changes in IFrame > ...


1

CQL filter is a vendor parameter provided by GeoServer, therefore you have to include the cql_filter in the params string object. OpenLayers 3's ol.source.TileWMS object only supports options you can see in the corresponding API page. Also, in OpenLayers 2 you had to include cql_filter in the params object. Because of its limited input options, you didn't ...


1

According to this link it is not yet possible: http://ehc.ac/p/geoserver/mailman/message/32091487/


0

Esri can recieve a json request with a perimeter like so http://mapservices/arcgis/rest/services/Mypoints/MapServer/0/query?geometry=0,0,60,20&geometryType=esriGeometryEnvelope&outFields=*&f=json 0,0,60,20 is the 4 points in the parimeter To send json in your app, call like so: var queryURL = ...


-2

First use global mapper and save as a shape file than u will open in qgis with all vector information like In Ms. Save dgn then Open.in global mapper After that in global mapper export in vector file And then save as shape file now u can open in qgis with all info.like as a road building etc. For more info mail Akashsinha41@Gmail.com


0

Yes it's possible. I have followed successfully this documentation. At the end you will have a layer (the layer group) exposed in the geoserver wms service. create a layerGroup as explained in the example post; check if it is all right in the "layer preview" section; Pick out wms with the Virtual OWS Services.


1

I don't know any web client with an out of the box time slider for WMS-T layers. WMS dimension is strangely a property of the WMS protocol that is lacking in many tools I used. I developed a solution to handle all dimensions (time and others) based on OpenLayers. You can find it here : WMS dimension example The layer in this example is defined in Mapserver ...


0

For anyone else who comes through here researching this, it seems Google Maps Engine (GME) doesn't expose individual layers as WMS assets. If I'm wrong, I hope someone will correct me in the comments. Rather, you have to create and publish a map asset to include the layer(s) you want, then publish the map. Then, the map's "access links" will include a WMS ...


0

MapStore http://mapstore.geo-solutions.it/mapstore/ by GeoSolutions seems to have all the necessary components but perhaps they have not been packaged to a readily available installation package. From the demo gallery this weather portal has a time slider http://geoportale.lamma.rete.toscana.it/MapStore/public/?locale=en This one has calender views for ...


0

Most time sliders aren't animating bitmap map images from a WMS or tile server. They are animating points that are being rendered as points (markers, SVG, Canvas) on the client side. For an animation to be effective the client needs to have all of the data available before it begins the animation. If it has to go back to the server for anything it the delay ...


2

You can try this, http://lib.heron-mc.org/heron/1.0.3/examples/timeslider/index.html This example has an amazing slider, Hope it meets all your requirements. UPDATE : Another Good Example: http://timemap.googlecode.com/svn/tags/2.0.1/examples/kenya.html


1

My original answer is below the line but I am having second thoughts about it. This is because the ArcGIS Server 10 Help page entitled Customizing a WMS GetFeatureInfo response says: ArcGIS Server comes with XSLT templates for the supported formats listed in the WMS's capabilities files. For example, if you open the directory of these templates at ...


1

Edit the bounding boxes of the layer manually with the GeoServer admin utility to cover some reasonable area. The BBOX that is automatically calculated from data for a single point is also just a point and that's the reason for your trouble. You can either feed a new Lat/Lon Bounding Box directly or alternatively enter numbers into Native Bounding Box and ...


1

SOLVED So here's what I did, and it finally works. yay First, I created a sld file and saved it to the some folder in PHP: $sld = "sld_here.."; $temp_link = sys_get_temp_dir()."/"; $tmpfname = tempnam($temp_link, $map_name); file_put_contents($tmpfname, $sld); echo $tmpfname; Then the file url is passed to JS using AJAX and set it to the layer using ...


1

In OpenLayers 2 when you define a new OpenLayers.Layer object, it will be handled as one layer independently from how many layers you requested from the WMS server. If you would like to get two separate layers to make different operations on them, you must separate the two layers into two OpenLayers.Layer objects. var nasa_glob = new OpenLayers.Layer.WMS( ...


1

The problem seems to be that the reading of the geolocation on load of the page doesn't work, probably because the geolocation isn't available yet. (especially if the browser asks the user first) But you can read out the position inside a eventhandler. (tracking needs to be turned on). I call this eventhandler handler in the following examples. Examples ...


2

Well, you can try CQL-filters for attribute-based queries on WMS. Look this thread for how to filter features of a wms. Afterwards you may select features from your WFS obtained from this WMS. BTW.: the GetFeature-control is designed for selecting features by mouse rather then by any query. To select a feature you may use the SelectFeature-control. Loop the ...



Top 50 recent answers are included