Metadata Requests

Maxar provides access to feature metadata via the Web Feature Service (WFS). WFS is used to obtain the metadata that corresponds to imagery that was returned from a WMTS or WMS request, or to discover all available images at a particular location perhaps prior to submitting an imagery request.

The WFS returns imagery metadata in the GML format by default.

For additional information on the GML format, please refer to Geography Markup Language (GML).

Maxar offers the following feature types:

  • DigitalGlobe:FinishedFeature
    • All of the strips and mosaics
    • Orthorectified 1:12,000 to 1:50,000
    • Acquisition Date and Feature ID are critical attributes
  • DigitalGlobe:ImageInMosaic
    • Shows Seamlines of a mosaic of a FinishedFeature
    • Acquisition Date and parentFeatureID is provided
  • DigitalGlobe:TileMatrixFeature
    • Metadata for a tile identified by the tile matrix set, row, and column

FinishedFeature

The following is a basic WFS call using a HTTPS POST for DigitalGlobe:FinishedFeature feature type. This can be done in parallel with a raster call for a defined geographical extent. The following URL is an example of a WFS FinishedFeature request:

https://evwhs.digitalglobe.com/catalogservice/wfsaccess?connectId=<CONNECTID>&featureProfile=Global_Currency_Profile&showTheRasterReturned=true&width=1200&height=800

The following GML is included as the body of the HTTP request:

Copy
<?xml version="1.0" encoding="utf-8"?>
<GetFeature xmlns="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" service="WFS"
            version="1.1.0" outputFormat="text/xml; subtype=gml/3.1.1" maxFeatures="100" handle="">
    <Query typeName="DigitalGlobe:FinishedFeature" srsName="urn:x-ogc:def:crs:EPSG:4326">
        <ogc:Filter>
            <ogc:Intersects>
                <ogc:PropertyName>geometry</ogc:PropertyName>
                <gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:4326" xmlns:gml="http://www.opengis.net/gml">
                    <gml:lowerCorner>37.80811 -122.41276</gml:lowerCorner>
                    <gml:upperCorner>37.81163 -122.40817</gml:upperCorner>
                </gml:Envelope>
            </ogc:Intersects>
        </ogc:Filter>
    </Query>
</GetFeature>

This GML is used to specify the geospatial coordinates of a bounding box in the context of the EPSG:4326 Coordinate Reference System (CRS). The order of the coordinates in EPSG:4326 is longitude/latitude. If you specify WFS1.1 as a version the order of coordinates is latitude/longitude.

It is not necessary to specify the parameters of the request as GML in the body of the request. WFS accepts many request parameters that can be specified in the URL to achieve the same result as what would otherwise be specified in the body of a request. When the request parameters are included in the URL rather than as a GML payload in the request body, then an HTTP GET request may be used for the request instead of a POST request.

Maxar has added a width and height parameters to the WFS protocol to enable scale to be defined. It is recommended that developers include width and height with every request to ensure what is the resulting data is correct based on the scale defined by the width and height.

The "showTheRasterReturned" request parameter must be included in the request if the desire is to obtain imagery metadata that corresponds to a given raster output from WMS. The absence of this parameter results in all imagery metadata for that area being returned, which is what you would want if you plan to support multi-temporal.

TileMatrixFeature

A TileMatrixFeature is an easy way to obtain the metadata associated with an equivalent imagery tile request from WMTS. By being able to refer to a specific WMTS tile, it is not necessary to convert the geometry of a tile to that of a BBOX, width, and height as would otherwise be required by the standard WFS request syntax. It is recommended that this be done only on demand within the user interface, otherwise you have too many corresponding requests for a typical tiled viewport.

The following URL is an example of a WFS TileMatrixFeature request for the EPSG:3857 tile in row 58685 and column 39235 at zoom level 17:

https://evwhs.digitalglobe.com/catalogservice/wfsaccess?request=GetFeature&typeName=DigitalGlobe:TileMatrixFeature&SERVICE=WFS&VERSION=1.1.0&connectId=<CONNECTID>&CQL_FILTER=layer='DigitalGlobe:ImageryTileService'and%20tileMatrixSet%20=%20'EPSG:3857'%20and%20tileMatrix%20=%20'EPSG:3857:17'%20and%20row%20=%2058685%20and%20column%20=%2039235

Stacking Profiles, Filters, and Result Sorting

WFS API Resources

This document is not intended to be a comprehensive guide for the use of the Maxar WFS service. Please refer to WFS for a complete description of request parameters, CQL filters, and additional examples of WFS requests.