Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WFSFeatureStoreCreateFromURLOptions

An object literal which contains the settings for WFSFeatureStore, to be created with WFSFeatureStore.createFromURL

Hierarchy

  • WFSFeatureStoreCreateFromURLOptions

Overview

Properties

Optional codec

codec: Codec

The Codec which will be used to convert the server response to LuciadRIA feature instances. The default codec assumes a server response in GeoJson format. Replace the codec if you want to support another format. The codec must only support the decode method as this is a read-only Store implementation.

Optional credentials

credentials: boolean

Indicates whether credentials should be included with every HTTP request. See credentials for more information. Default value: false

Optional geometryName

geometryName: string

A geometry property name used in the BBOX OGC filter when querying a WFS service. The spatial filter can contain an optional geometry property name, which refers to the property that should be used to retrieve a feature geometry. Default value: null

Optional methods

methods: string[]

An array of HTTP methods that can be used to communicate with the server. The store supports GET and POST. Default value: ["GET","POST"]

Optional outputFormat

outputFormat: string

Configures the outputFormat parameter on the request. For HTTP GET requests, the default outputFormat parameter is JSON, for HTTP POST requests, the default is application/json. Use this parameter if the server expects a different outputFormat parameter to respond with GeoJSON encoded data or if you want to support another format.

Optional reference

The reference in which the data corresponding to the specified type name is defined. The preferred reference takes precedence before the reference defined in featureType.defaultReference. If omitted, the reference from the capabilities object is used.

Optional requestHeaders

requestHeaders: {} | null

An object literal that represents headers (as a key-value map) to send with each HTTP request. If set (and not empty), an XHR with the specified headers will be performed. See requestHeaders for more information. Default value: null

Optional requestParameters

requestParameters: {} | null

An object literal that represents the request parameters (as a key-value map) to send with each HTTP request. If set and not empty), an XHR with the specified headers will be performed instead of creating an Image. See requestHeaders for more information.

since

2021.0

Optional serviceURL

serviceURL: string

The location of the WFS service endpoint. Use this option to override the URL in the capabilities object.

since

2021.0.04

Optional swapAxes

swapAxes: string[]

Indicates whether this Store should swap the axis ordering of coordinates for the specified reference identifier(s) in the OGC BBOX filter when querying the WFS service. If undefined, the axis ordering dictated by the model reference is respected. For each specified reference, the order will be reversed. This is needed for EPSG:4326 data that is encoded in longitude-latitude order instead of latitude-longitude, for example.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method