Skip to main content
3 votes

how to remove some fields with the WMSGetFeatureInfo function?

If you have control over the geoserver and you use the html format, you could modify the template server side. Otherwise I can think of retrieving the FeatureInfo as GML2 or text and modify if client-...
ulrich's user avatar
  • 1,170
2 votes

How to Import Shapefiles (or any dataset) to a webmap using Openlayers/GeoExt online? WFS-T

You can load the Shapefile into QGIS, then export a webmap (Openlayers or Leaflet) using the qgis2web plugin. It also allows you to upload directly to the web via FTP.
Tom Chadwin's user avatar
  • 5,842
2 votes

GeoServer Exception: No such operation WMS 1.1.0 GetFeature

GeoServer Exception: No such operation WMS 1.1.0 GetFeature That's correct there is no WMS operation called GetFeature. There is a WMS operation called GetFeatureInfo, and there is a WFS operation ...
nmtoken's user avatar
  • 13.4k
2 votes
Accepted

wfs layer is displaying in ol3 but not in openlayers 2

Here's a few things that need checking: Your Geoserver url looks odd. See the documentation on making a wfs request. Try url: http://localhost:8080/geoserver/wfs check your featureNS. That also ...
MappaGnosis's user avatar
  • 33.9k
2 votes

how to remove some fields with the WMSGetFeatureInfo function?

For the specific case of GeoServer you can also add the propertyName vendor option to the request and enumerate the attributes you want to include in the response: http://docs.geoserver.org/latest/en/...
Andrea Aime's user avatar
  • 17.5k
1 vote

set map center to specific layer GeoExt 3.1.0

Change var extentTransform = ol.proj.transform(extent, 'EPSG:4326', 'EPSG:3857'); with var extentTransform = ol.proj.transformExtent(extent, 'EPSG:4326', 'EPSG:3857'); It wasn't giving any ...
Scaramouche's user avatar
1 vote
Accepted

List of all features inside a buffer (Web map)

The short answer to this is to use a WFS call from OpenLayers to GeoServer. The full answer will probably require some experimentation to see what works best for your situation. Use OpenLayers to ...
Ian Turton's user avatar
  • 82k
1 vote
Accepted

WFS GetFeature request blank XML for some FeatureTypes

There isn't a WFS version 1.1.1, (see the OGC Web Feature Service page) so I'm surprised you're getting any results at all; you must specify a valid WFS version in a GetFeature request (it's only in a ...
nmtoken's user avatar
  • 13.4k
1 vote
Accepted

Commiting Changes (WFS-T) Problem with Base Layer (Error Found: outside of (-180.0,180.0))

The solution was actually pretty easy ! All I had to do is set "projection: new OpenLayers.Projection("EPSG:3857")" in the MapPanel section. ... map: { numZoomLevels: 25, controls: controls, ...
Oualid Fouad's user avatar
1 vote

Commiting Changes (WFS-T) Problem with Base Layer (Error Found: outside of (-180.0,180.0))

The most likely issue is projections - OpenLayers sets the projection of the map to match the projection of the base layer. Google and Bing will (always) use epsg:3857 while the OSM server you have ...
Ian Turton's user avatar
  • 82k
1 vote

openlayers and geoext

You can use a maxExtent for your map. In combination with a 3rd-party background-layer this can prevent the problem you described. var extent = new OpenLayers.Bounds(-2003750.34, -2003750.34, 2003750....
Thomas B's user avatar
  • 8,846
1 vote

geoext3 extjs 6 editing grid

I assume you are using OpenLayers 3. You could use WFS-T to request to Geoserver to change data as described in a blog post titled WFS-T with OpenLayers 3.16:
Muke's user avatar
  • 166
1 vote
Accepted

Openlayers Mapfish Fails

I found that the issue was that my "GET" requests exceeded the maximum string length. I had to switch to using a "POST" request which then threw an error due to violating the cross origin rule. The ...
Todd Krueger's user avatar
1 vote

Adding Layers to Heron Template

By definition you can only have one base layer (i.e the bottom layer) enabled at any one time. You can define multiple layers to act as base layers, but only one can be THE base layer at any point in ...
nmtoken's user avatar
  • 13.4k

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