Module @luciad/ria/ogc/filter/FilterFactory

A module with static functions to create Expression instances or Identifiers instances.

This class can for example be used in combination with a WFSFeatureStore. It allows to create a filter which is interpreted by the WFS server as shown below:

  var geoReference = ...;
var wfsStore = new WFSFeatureStore({
serviceURL: "http://localhost:8080/LuciadLightspeedOGC/wfs",
typeName: "rivers",
reference: geoReference
} );
var wfsModel = new FeatureModel(wfsStore, {reference: geoReference} );

var ogcFilter = FilterFactory.eq(
FilterFactory.property("SYSTEM"),
FilterFactory.literal("Mississippi"));

var wfsLayer = new FeatureLayer(wfsModel, {
label: "WFS Layer",
selectable: true,
loadingStrategy: new LoadEverything( {query: {filter: ogcFilter}} )
});

Index

Classes

Interfaces

Functions