WFS – WebFeatureService

GeoServer WFS

We host an OGC Web Feature Service, available under https://ows.terrestris.de/geoserver/osm/wfs , that serves several OSM datasets you can test and check out. Currently available are the following featuretypes:

  • Country borders
  • Busstops
  • Gas stations

Have a look at the capabilities-document for details:

 

Country borders WFS

The country borders of this WFS are served as polygons.

Example request for country borders (whitespace and linebreaks have been added for better readability):

Calling the …

EXAMPLE URL:
https://ows.terrestris.de/geoserver/osm/wfs?service=WFS&version=1.1.0&request=GetFeature&typeName=osm:osm-country-borders&maxFeatures=2&outputFormat=text/xml;%20subtype=gml/3.1.1

… leads to the following output (whitespace and linebreaks have been added for better readability):

 

Busstops and Gas stations WFS

This WFS serves busstops and gas stations based on OpenStreetMap, the geometry is of type point.

Example request for busstops (whitespace and linebreaks have been added for better readability):

Calling the …

EXAMPLE URL:
https://ows.terrestris.de/geoserver/osm/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=osm:osm-busstops&maxFeatures=2&outputFormat=text/xml;%20subtype=gml/3.2

… leads to the following output (whitespace and linebreaks have been added for better readability):

 

Example request for gas stations (whitespace and linebreaks have been added for better readability):

Calling the …

EXAMPLE URL:
https://ows.terrestris.de/geoserver/osm/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=osm:osm-fuel&maxFeatures=2&outputFormat=json
… leads to the following output (whitespace and linebreaks have been added for better readability):