CONSTANTS

CONSTANTS

Source:

Members

(static, constant) indicator_date_prefix :string

Source:
See:
  • getTargetDateWithPropertyPrefix

This constant is required to access indicator timeseries values correctly (i.e. DATE_2018-01-01)

Type:
  • string

(static, constant) jStat

Source:
See:

This constant may be used to perform statistical computations. A full-featured API documentation of JStat.js library can be found at http://jstat.org/. This template offers several API methods that utilize JStst.js to implement typical statistical operations. If required a user can implement custom functions, in which this constant can be called directly.

(static, constant) maxLocationsForORSRequest :number

Source:
See:
  • isochrones_byTime
  • isochrones_byDistance
  • distance_matrix_kilometers
  • duration_matrix_seconds

This constant limits the number of allowed locations for requests against Open Route Service This is necessary especially for GET requests, to keep the GET request length within handable sizes

Type:
  • number

(static, constant) openrouteservice_url :string

Source:

This constant contains the target URL for queries against openrouteservice (ORS) instance (version 4.7.2). Per default, it takes the value from the environment variable OPEN_ROUTE_SERVICE_URL, which should be already configured by system administrator. Otherwise users may overwrite it and set an individual target URL. Note, that the methods that internally make use of this constant to perform ORS queries, expect version 4.7.2 without API-Key Authorization.

Type:
  • string

(static, constant) spatialUnitFeatureIdPropertyName :string

Source:

This constant is required to aquire the unique identifier of a certain feature of a spatial unit

Type:
  • string

(static, constant) spatialUnitFeatureNamePropertyName :string

Source:

This constant is required to aquire the unique name of a certain feature of a spatial unit

Type:
  • string

(static, constant) turf

Source:
See:

This constant may be used to perform spatial analysis and geometric operation tasks. A full-featured API documentation of Turf.js library can be found at http://turfjs.org/. This template offers several API methods that utilize Turf.js to implement typical geospatial operations. If required a user can implement custom functions, in which this constant can be called directly.