Skip to content

Frontend Api Requirements Start Scenario

Lucas-Nan edited this page May 8, 2024 · 2 revisions

General scenarios

Get List of Data Sets

Get Data Set

  • Give whole Data Set / Give Parts of Data Set
  • Corresponds to long latt + display value

Get Data Set Visualization Properties

  • Show single points / interpolate
  • Coloring? -> Type of Data to determine visualizatiom
  • Marker Icons

Get search suggestions

Get Data for Area (Polygon) / Address (Transformed to longlatt) / Identifier ("Bavaria") / Longitude, Lattitude

  • Specific Data as a result of the currently show map, (small data visualize?)
  • General Data applicable to this area / long+latt
  • Special Callbacks/Commands applicable for this area / long+latt

Do "command" (from special capabilities) and retrieve result

  • Types?
  • Show Data
  • Return pdf
  • (mini ui for decision making)

Starting scenario

Basic Start:

  1. Application starts
  2. Default Map opened, default Location evaluated
  3. (Last Map(s) are opened as tabs, Location is the last marked, data shows last marked)

Internal:

  1. Default Data Set requested -> Supplied via paginated Rest Requests or Geo Server
  2. Visualization Properties for specific Data Set requested: -> a. Show as Heatmap/Marker/Areas b. Show values in map c. Colors -> Type of data dependent
  3. Show Visualized Data Set -> Show Map
  4. Default Location requested (or determine from client) -> Mark on Map
  5. Request Data for Mark:
    • Input:
      • Long/Latt, Or Polygon with long/latt Pairs OR area identifier
      • Currently open Data Set(s)
    • Output:
      • (Optional) Data Set Specific Data
      • General Data (key value pairs?)
      • Callback Identifiers -> Show Data for Mark in Data View