Adds a 'distance' parameter to 'lat-lon-map-cell-list' view as well as both
of the lat/lon data views, which defaults to 0 (current behavior).
Removes the now obsolete 'lat-lon-map-cell-distance-list' view
Demo
API response:
Notes
I changed the dataset attribute from a scalar to a list. I discussed this a with with @CloudNiner - while in reality it's unlikely that the same map cell is used for more than one dataset, it is technically possible according to our data model, and the SQL queries led to a list type more naturally than a scalar type.
Testing Instructions
scripts/update
scripts/server
Verify that the new distance parameter is working correctly on the Map Cell, Scenario, and Indicator views
Verify that the docs build and have updated content
Checklist
[x] Does the python linter pass?
[x] Do tests pass?
[x] Has the API documentation been updated, or does this PR not require it?
Overview
Demo
API response:
Notes
I changed the
dataset
attribute from a scalar to a list. I discussed this a with with @CloudNiner - while in reality it's unlikely that the same map cell is used for more than one dataset, it is technically possible according to our data model, and the SQL queries led to a list type more naturally than a scalar type.Testing Instructions
scripts/update
scripts/server
distance
parameter is working correctly on the Map Cell, Scenario, and Indicator viewsChecklist
Closes #860 Closes #861