Module: UserController

User controller (methods for getting data related to current user)

Source:

Methods

(method HttpDelete) DeleteCustomGeometry(d) → {ActionResult}

Delete custom geometry

Parameters:
Name Type Description
d int

Id of the custom geometry

Source:
Returns:
  • Result of the operation
Type
ActionResult

(method HttpGet) GetCustomGeometry(route_key) → {ActionResult}

Get custom geometry created by the user, as FeatureCollection

Parameters:
Name Type Description
route_key string

Route key

Source:
Returns:
  • Custom geometry
Type
ActionResult

(method HttpGet) GetFieldBoundaries(srid, extent) → {ActionResult}

Get field boundaries

Parameters:
Name Type Description
srid int

Srid

extent string

Extent

Source:
Returns:
  • Boundaries
Type
ActionResult

(method HttpGet) GetGeometryTypeProperties() → {ActionResult}

Get geometry type properties

Source:
Returns:
  • Geometry type properties
Type
ActionResult

(method HttpGet) GetIndicatorLegend(indicatorId) → {ActionResult}

Get indicator legend

Parameters:
Name Type Description
indicatorId int

Indicator id

Source:
Returns:
  • Indicator legend
Type
ActionResult

(method HttpGet) GetIndicatorValues(indicatorId, dataSourceId) → {ActionResult}

Get indicator values

Parameters:
Name Type Description
indicatorId int

Indicator id

dataSourceId int

Data source id

Source:
Returns:
  • Indicator values
Type
ActionResult

(method HttpGet) GetIndicatorsForDataSource() → {ActionResult}

Get indicators for data source

Source:
Returns:
  • List of routes
Type
ActionResult

(method HttpGet) GetIndicatorsTable() → {ActionResult}

Get indicators table

Source:
Returns:
  • Indicators table
Type
ActionResult

(method HttpGet) GetLandUseBoundaries(srid, extent) → {ActionResult}

Get land use boundaries

Parameters:
Name Type Description
srid int

Srid

extent string

Extent

Source:
Returns:
  • Boundaries
Type
ActionResult

(method HttpGet) GetNutsBoundaries(level, srid, zoom, extent, indicatorId, dataSourceId) → {ActionResult}

Get boundaries

Parameters:
Name Type Description
level int

Level

srid int

Srid

zoom int

Zoom

extent string

Extent

indicatorId int

Indicator id

dataSourceId int

Data source id

Source:
Returns:
  • Boundaries
Type
ActionResult

(method HttpGet) GetPointHistory(pointId, indicatorId) → {ActionResult}

Get point history

Parameters:
Name Type Description
pointId int

Point id

indicatorId int

Indicator id

Source:
Returns:
  • Point history
Type
ActionResult

(method HttpGet) GetSitePoints(id) → {ActionResult}

Get site points

Parameters:
Name Type Description
id int

site id

Source:
Returns:
  • Result of the operation
Type
ActionResult

(method HttpGet) GetSitesForDataSource() → {ActionResult}

Get shapes for data source

Source:
Returns:
  • Sites for data source
Type
ActionResult

(method HttpGet) GetTileLayers(srid) → {ActionResult}

Get tile layers

Parameters:
Name Type Description
srid int

Srid

Source:
Returns:
  • Tile layers
Type
ActionResult

(method HttpPost) SetPoint(d) → {ActionResult}

Update point

Parameters:
Name Type Description
d Dictionary.<string, string>

id

Source:
Returns:
  • Result of the operation
Type
ActionResult

(method) UserController()

Constructor

Source: