Skip to main content

Seamlines WFS

Overview

Seamline data is available for Vivid Basemaps from the basemaps/v1/seamlines endpoint of the Streaming - Basemap API. While seamlines can be returned from WMS or WMTS in raster format, vector seamlines from WFS are more performant and provide the relevant data about the seamlines.

Authentication

All OGC services accept an API key or a bearer token for authentication.

Bearer tokens

Maxar Oauth bearer tokens can also be used to authenticate API requests. Bearer tokens have a brief duration and must be refreshed frequently.

To authenticate with a bearer token, use the Authorization header:

Authorization: Bearer <Oauth2 token>

Learn about OAuth2 bearer tokens

API keys

API keys can be passed using query parameters or in a custom header. No Authorization header is needed when using API keys.

To use the query parameter method, include this query parameter in your request:

maxar_api_key=<your API key>

The custom Maxar header takes the form of:

maxar-api-key: <your API key>

API keys expire 180 days from creation by default. A custom expiration date can be set but cannot exceed 180 days.

Learn about API keys

Services

NameDescriptionRequest URL
Get CapabilitiesDescribes the capabilities available for WFS.https://api.maxar.com/basemaps/v1/seamlines/wfs?request=GetCapabilities
Describe Feature TypeReturns the properties available for each supported feature type.https://api.maxar.com/basemaps/v1/seamlines/wfs?request=DescribeFeatureType
GetFeatureReturns image features and their attributes.https://api.maxar.com/basemaps/v1/seamlines/wfs?request=GetFeature

WFS Get Capabilities

Returns a list of services and operations supported by the WFS.

Request URL

https://api.maxar.com/basemaps/v1/seamlines/wfs?service=WFS&request=GetCapabilities&version=2.0.0

Query parameters

NameRequired/OptionalDescriptionValue
servicerequiredThe 3-letter acronym for the requested OGC service.wfs
requestrequiredThe name of the WFS request typeGetCapabilities
versionrequiredThe version number of the serviceAccepts 1.0.0, 1.1.0, 2.0.0

Response

Response output format: XML

Successful status code: 200 OK

Exceptions may also return a 200 OK, with an error in the response body.

WFS Describe Feature Type

Returns a description of feature types supported by the WFS service. For online imagery, use the Feature type "seamline".

This example shows the Seamline description from the "DescribeFeatureType" response. Each line is an attribute of the feature type.

Feature Type: Seamline
<xsd:complexType name="seamlineType">
<xsd:complexContent>
<xsd:extension base="gml:AbstractFeatureType">
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="seamline_geometry" nillable="true" type="gml:GeometryPropertyType"/>
<xsd:element maxOccurs="1" minOccurs="0" name="create_date" nillable="true" type="xsd:dateTime"/>
<xsd:element maxOccurs="1" minOccurs="0" name="gsd" nillable="true" type="xsd:decimal"/>
<xsd:element maxOccurs="1" minOccurs="0" name="accuracy" nillable="true" type="xsd:decimal"/>
<xsd:element maxOccurs="1" minOccurs="0" name="acq_time_earliest" nillable="true" type="xsd:dateTime"/>
<xsd:element maxOccurs="1" minOccurs="0" name="acq_time_latest" nillable="true" type="xsd:dateTime"/>
<xsd:element maxOccurs="1" minOccurs="0" name="acq_time" nillable="true" type="xsd:dateTime"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sensor" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="ona" nillable="true" type="xsd:decimal"/>
<xsd:element maxOccurs="1" minOccurs="0" name="ona_avg" nillable="true" type="xsd:decimal"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sunel_avg" nillable="true" type="xsd:decimal"/>
<xsd:element maxOccurs="1" minOccurs="0" name="sun_az_avg" nillable="true" type="xsd:decimal"/>
<xsd:element maxOccurs="1" minOccurs="0" name="target_az_avg" nillable="true" type="xsd:decimal"/>
<xsd:element maxOccurs="1" minOccurs="0" name="vehicle_name" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="product_name" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="product_create_time" nillable="true" type="xsd:dateTime"/>
<xsd:element maxOccurs="1" minOccurs="0" name="catid" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="block_name" nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="0" name="active" nillable="true" type="xsd:boolean"/>
<xsd:element maxOccurs="1" minOccurs="0" name="block_base_name" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>

Request URL

https://api.maxar.com/basemaps/v1/seamlines/wfs?service=WFS&request=DescribeFeatureType&version=2.0.0

Query parameters

NameRequired/OptionalDescriptionValue
servicerequiredThe requested OGC service.wfs
requestrequiredThe name of the WFS request typeDescribeFeatureType
versionrequiredThe version number of the service. We recommend using the latest version, which is 2.0.0.Accepts 1.0.0, 1.1.0, 2.0.0
typenamerequiredThe desired layer typename.seamline
outputFormatoptionalThe desired response output format.json

Response

Response output format: XML

Successful status code: 200 OK

Exceptions may also return a 200 OK, with an error in the response body.

WFS Get Feature

Returns metadata for Vivid Basemap seamlines.

Request URL

URL path with required parameters:

https://api.maxar.com/basemaps/v1/seamlines/wfs?service=WFS&request=GetFeature&version=2.0.0&typename=seamline&outputFormat=json&crs=EPSG:4326&cql_filter=product_name='VIVID_STANDARD_30' AND BBOX(seamline_geometry,39.906477,-105.010843,39.918031,-104.991939)

Query parameters

NameRequired/OptionalDescriptionValue
servicerequiredThe requested OGC service.wfs
requestrequiredThe service request type.GetFeature
versionrequiredThe OGC version to use for the request.2.0.0
bboxrequiredThe geographic extents of the features to return.Example: 39.7530,-104.9962,39.7580,-104.9912
srsNameoptionalThis parameter is used to specify the spatial reference system to encode feature geometries in.Accepts EPSG:4326 only.
typeNamesrequiredTo obtain the detailed metadata for one or more Features contained in a tile, use the WFS getFeature request, with a typeName of seamline.seamline
outputFormatoptionalResponse output format. Default is text/xml; subtype=gml/3.1.1.See Supported Output Formats.

Example WFS Get Feature request URL

https://api.maxar.com/basemaps/v1/ogc/wfs?service=wfs&request=GetFeature&version=2.0.0&typeNames=Maxar:FinishedFeature&cql_Filter=BBOX(featureGeometry,39.7530,-104.9962,39.7580,-104.9912)AND(productName LIKE 'VIVID%')&sortBy=latestAcquisitionTime D&count=10

Supported output formats

The response to a WFS Get Feature query can be returned in a variety of formats. The default format is text/xml; subtype=gml/3.1.1.

Supported output formats
text/xml; subtype=gml/3.1.1
GML2
KML
SHAPE-ZIP
application/vnd.google-earth.kml xml
application/vnd.google-earth.kml+xml
csv
gml3
gml32
json
text/csv
text/xml; subtype=gml/2.1.2
text/xml; subtype=gml/3.2

The list of supported output formats for a WFS Get Feature request can also be found in the WFS Get Capabilities response.

Feature Type

The following WFS feature types are supported:

Feature Type NameResults
Maxar:seamlineReturns seamline metadata for features of any Vivid product type.
Maxar:VividAdvanced15SeamlineReturns seamline metadata for Vivid Advanced features.
Maxar:VividStandard30SeamlinesReturns seamline metadata for Vivid Standard 30 features.

This table describes the metadata associated with feature type Maxar:Seamline. A Feature can be produced from a single image or multiple images. To programmatically get a list of feature metadata, make a WFS "Describe Feature Type" request.

FieldDescriptionAllowed Values
create_dateThe date and time the mosaic was created in Zulu time.YYYY-MM-DDTHH:MM:SSSZ
gsdThe spatial resolution of the image, stated in meters.number
accuracyThe spatial accuracy of the image, stated in meters.number
acq_time_earliestThe earliest date and time of acquisition of the image swath, in Zulu time.YYYY-MM-DDTHH:MM:SSSZ
acq_time_latestThe latest date and time of acquisition of the image swath, in Zulu time.YYYY-MM-DDTHH:MM:SSSZ
acq_timeThe date and time the satellite acquired the image in Zulu time.YYYY-MM-DDTHH:MM:SSSZ
sensorThe sensor that acquired the image.wv01 wv02 wv03_vnir ge01 qb02 lg01 lg02 lgO3 lg04
onaOff-nadir angle: the angle from the sensor between nadir (straight down) and the scene center. Measured in degrees.0-90
ona_avgAverage off-nadir angle (as described above).0-90
sunel_avgThe average sun elevation: the angle from the tangent of the scene center point to the sun. Measured from the horizon in degrees.0-90
sun_az_avgThe average sun azimuth: from the scene center point on the ground, this is the angle between truth north and the sun. Measured clockwise in degrees.0-360
target_az_avgThe average target azimuth: from the scene center point on the ground, this is the angle between truth north and the satellite. Measured clockwise in degrees.0-360
vehicle_nameThe satellite that acquired the image.worldview-01 worldview-02 worldview-03 geoeye-01 quickbird-02 legion-01 legion-02 legion-O3 legion-04
product_nameThe name of the mosaic product.string
product_create_timeThe date and time the image mosaic was created in Zulu time.YYYY-MM-DDTHH:MM:SSSZ
catidCatalog ID of the image.string
block_nameName of the production block.string
activeActive statustrue, false
block_base_nameBase name of the production blockstring