A gmf.externalDatasource.OGC
extends a gmf.datasource.OGC
and
adds some properties that are proper to GMF and external dataSource only.
Options.
The legend object.
The attributes of the data source.
Note: attributes
is not using the conventionnal getter/setter due
to: See: https://github.com/google/closure-compiler/issues/1089
The dimensions configuration for the data source.
The dimensions applied by filters configuration for the data source.
The filter condition to apply to the filter rules (if any).
A list of filter rules to apply to this data source using the filter condition.
Whether the data source is filtrable or not. When null
, that means
that we do not know if the data source if filtrable or not, yet. In
that case, the value of the property needs to be determined from an
external way.
A data source is considered 'in range' when it is synchronized to
a map view and the resolution of that view is within the range of
the maxResolution
and minResolution
. These 2 properties are
required for the inRange
property to be dynamic, otherwise its
value is always true
by default.
The synchronization is made in the import('ngeo/datasource/DataSource').DataSources
service.
Time lower value.
Time upper value.
Whether the data source is visible or not, i.e. whether its is ON or OFF.
Defaults to false
.
The url to use for (WFS) requests.
Active dimensions
A data source can't be combined to other data source to issue a single WFS request if:
Whether the data source can be combined to an other data source to fetch features in a single WFS request.
A data source can't be combined to other data source to issue a single WMS request if:
Whether the data source can be combined to an other data source to fetch features in a single WMS request.
Copyable
Current dimensions to use for this data source
Filter condition
Filter condition
Id
Identifier attribute
Maximum resolution
Minimum resolution
Name
Returns the ogc attributes of only the WFS layers of this data source that are queryable.
Returns the ogc attributes of only the WMS layers of this data source that are queryable.
OGC image type
OGC server type
OGC type
Whether the data source is queryable or not. For an OGC data source to be queryable, it requires the support of WFS or WMS and at least one ogc layer to be querable.
The queryIconPosition
Snappable
Snapping to edges
Snapping tolerance
Snapping to vertices
To be able to do advanced operations on a data source, such as editing or filtering, a data source must be bound to 1 set of attributes. These attributes are the ones defined by an ogcLayer. This means that to be considered to support having attributes defined, you either need to define them directly when creating the data source, or if you let the querent service get them for you using a WFS DescribeFeatureType request, the data source must have only 1 ogcLayer set, which must be queryable.
Supports attributes.
Whether the data source supports a dynamic inRange
property or not, i.e. whether it can be calculated.
Whether the data source supports making WFS requests or not.
Whether the data source supports making WMS requests or not.
Whether the data source supports making WTMS requests or not.
Time attribute name
Time property
WFS feature namespace
WFS feature prefix
WFS format.
WFS output format
WFS url
WMS info format
WMS is single tile
WMS url
WMTS layer
WMTS url
Collect the ogc attributes that are shared among the given layers, i.e. only the attributes that are in all the given layers are returned.
Among the attributes, geometry columns are returned as well. Therefore, if there are no attributes with a geometry name returned, then the Filter tool have the possibilily to filter the data source using spatial filters.
List of layer names
Returns the filtrable WFS layer name.
Although a data source may contain multiple WFS wfs layers, only the first one is returned. We don't need to return more than one, since in that case a group is used in the WMS GetMap query, and each queryable layers will end up being used in WFS GetData queries sent.
WFS layer name.
Returns a list of WFS layer names that are in range of a given resolution. If there's no WFS layers defined, an empty array is returned.
Resolution.
Whether to additionally check if the
WFS layer is queryable as well or not. Defaults to false
.
The WFS layer names that are in range.
Compare active dimensions filters of two data sources. As OpenLayers WFS format does not allow constructing multiple typenames GetFeature request with different filters we need to combine data sources depending on active dimensions filters.
Remote data source to compare with this one.
Whether the two data sources have the same active dimensions filters. If both have no dimensions, they are considered to be sharing the same dimensions filters.
Check if there's at least one OGC layer in range of a given resolution.
Resolution.
Whether to additionally check if the
OGC layer is queryable as well or not. Defaults to false
.
At least one OGC layer is in range.
Attributes
Legend for external layers