Skip to content

Vector Feature Chart Model #5

@BryonLewis

Description

@BryonLewis

Purpose:

A way to connect vector features on a map with charts data that can be displayed over time.

Notes:

  • Would be nice to be able to support any type of numerical data. IE some tabular data and being able to filter that data and convert any rows/columns into a graph that is automatically generated.
  • There may be some visualization options to these fields. I.E you have dates and flow levels inside the data and you want to turn this into a vector data that the client can use.
    • This could maybe be done through a system where the endpoint for vector-tiles allows you to add data from the chart into the vector tile so it can be filtered on and visualized
      • You decide to add the Date and Flow values from the chart data for each vector point and then you can filter by date and have the color be associated with the flow.

Technical:

  • TabularData
    • vectorFeatureId foreign key
    • jsonField, that has multiple tables in a single JSON object with tableName, columns, and then a large array of rows.
      • This allows for multiple tables in an array that can be indexed
  • Endpoints
    • Get a summary for a VectorFeatureId. This summary includes a list of tables with their column headers, the column data types (numerical, boolean, string) and if they are numerical it returns back their min/max values. For categorical string values if it is less than X values it will return an array of the categorical values
    • Graphing Endpoint - This endpoint will take in parameters (multiple columns) and will return back the values so the client can graph them. This would need to support both simple X/Y line graphs, scatter, and maybe multi variable graphs that are comparing multiple similar values.
    • Multi Graph endpoint - Ability to take an area or multiple vector featureIds and graph all of those on a single graph to do comparison of the data values.
    • VectorTile endpoint that includes indexer and values and will create new vectorFeatures for the client based on the indexer that include all the values that are reference. I.E you may use Date as an indexer and use water temperature and water flow as values. This would create a new point/geometry for each date where it has the temperature and flow as property on the field. This means you can then use water temperate and flow to color a point while you slide across time for the data.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions