Questions tagged [web-feature-service]

The Open Geospatial Consortium Web Feature Service Interface Standard (WFS) provides an interface allowing requests for geographical features across the web using platform-independent calls.

The Open Geospatial Consortium Web Feature Service Interface Standard (WFS) provides an interface allowing requests for geographical features across the web using platform-independent calls.

Source: Wikipedia

46 questions
1
vote
0 answers

OpenLayers webapplication stopped working in IE11

A few years ago we developed an OpenLayers webapplication. Everything worked fine until a few weeks ago. The application stopped working in IE11, became very slow in Edge. No problems with other browsers. When I try to debug (by pressing F12) IE…
1
vote
2 answers

How to make a function in JS

This is a code that is repeating in my script couple of times so I would like to make it as function. I would like it to be the most basic function that can be. Also I would very much appriciate if some one would give me an example how can I call a…
mycupoftea
  • 361
  • 1
  • 3
  • 8
1
vote
0 answers

Display multiple WFS layers with popup

I want to display multiple WFS layers and display popup only for top layer. I wan't to disable all the base layer popup. Or if i wan't to display one features from all the layer (combine all layer features in one popup ).I have done some code but i…
1
vote
1 answer

GML layer is displying in changed rotation

I created GML WFS layer from Geo-server and using in Open Layer 3,but in output showing map rotations are changed .On my PC showing the GML but in fiddle doesn't showing output.Is there any mistake in my code . I want to create GML or GML2 format…
1
vote
0 answers

Geoserver Cross-layer filter in OpenLayers 2 for WFS protocol

I need to execute a spatial INTERSECTS query between layers of type Point and Polygon, to find points that intersect with a polygon of attribute fclass == park. CQL Query: INTERSECTS(geom,…
1
vote
1 answer

Adding Vector Data - GML format with WFS Transport (possible bug?)

I'm trying to add features to my OpenLayers map, by querying a publicly available WFS server which serves GML data. // initalize the map var map = new ol.Map({ layers: [ new ol.layer.Tile({ // OpenLayers public map server …
1
vote
1 answer

Leaflet Popup GetContent (Convert meters to feet)

I am creating an app using leaflet and I have near zero javascript experience so bear with me... I have the leaflet map up and running and have a web feature service containing USGS stream flow data however all of the information is in meters and I…
Judson
  • 73
  • 1
  • 1
  • 4
1
vote
1 answer

FeatureJSON using CompositeFeatureCollection

I'm making use of FeatureJSON from org.geotools:gt-geojson:15-SNAPSHOT dependency in a Maven project and I'm able to serve GeoJSON for instances of SimpleFeature and SimpleFeatureCollection without any problems. However I find myself wanting to…
Wolfgang
  • 155
  • 9
1
vote
1 answer

Converting Web Feature Service Geographical Markup Language data into a shape with R

I'm trying to convert Web Feature Service layers that are in XML/GML into a shapefile using R, I'm not quite there and would appreciate any help. The WFS link is:…
1
vote
1 answer

Insert transaction from demo does not work for me (docker kartoza)

I'm new to geoserver and I'm trying to understand the basics. So expect (I do) that I missed an obvious detail :-/. I have a problem with the Insert Transaction request in the Demos available in the geoserver web interface. Simply, it does not show…
MastroGeppetto
  • 598
  • 1
  • 5
  • 10
1
vote
1 answer

Using wfs-t in OpenLayers 3?

I'm using OpenLayers-3.6.0 in a web application. I have wfs layer as follow: var url="http://localhost:8080/geoserver/wfs?&" + "service=wfs&version=1.1.0&request=GetFeature&typeNames=usa:states"; var format = new ol.format.WFS({}); var source…
1
vote
1 answer

Add a WFS service in a Leaflet map and need to control the current scale

I need to load a WFS service (points) in my Leaflet map. I know how to load a WFS service in my map but I've to check dinamically the map current scale / extent because I've to limit the number of features I've to request to the server and to render…
Cesare
  • 1,629
  • 9
  • 30
  • 72
1
vote
2 answers

Geoserver: WFS does not return nodes for columns with null values

GeoServer 2.3 does not return an empty XML node for columns with null values. For example, this is a snippet taken from a WFS response to a CQL query:
Klaus Nji
  • 18,107
  • 29
  • 105
  • 185
1
vote
2 answers

Publishing geospatial data with Plone

I am setting up a new site on plone using collective.geo.bundle, but I need to make the data accessible to desktop GIS. Two obvious ways of doing this are to use a postgres/postgis database, or to publish the data through a WFS service. The…
aquavitae
  • 17,414
  • 11
  • 63
  • 106
0
votes
1 answer

How do I use a input value from select option form to filter features in openlayers 7.3.0?

I have a select filter form. I want to use the input value from options to filter features and return with a specific file. The return style will not work inside the event handler. How do I solve this thanks for your help. const funStyle = (feature)…