cal-itp / data-analyses

Place for sharing quick reports, and works in progress
https://analysis.calitp.org
26 stars 5 forks source link

Epic - Speedmap site performance improvements #729

Closed edasmalchi closed 11 months ago

edasmalchi commented 1 year ago

After receiving a research request, use this template to plan and track your work. Be sure to also add the appropriate project-level label to this issue (eg gtfs-rt, DLA).

Epic Information - Speedmap site performance improvements

Summary

Research required:

Notes, misc:

Pydeck? Deckgl? GeoParquet on the Web / Kyle Barron | Observable (observablehq.com)? PathLayer — pydeck 0.6.1 documentation

Reviewers [Stakeholders]

  1. @KatrinaMKaiser

Issues

Deliverables

edasmalchi commented 1 year ago

Request to better show SHS on site -- will explore if can be a quick improvement or concurrent with more performant mapping...

edasmalchi commented 1 year ago

737 temporarily removes midday speedmap for LA Metro, page once again loads

edasmalchi commented 1 year ago

Working on example of serving speedmap as a geoparquet to browser, based on https://observablehq.com/@kylebarron/geoparquet-on-the-web

geoparquets are about 15% the size of geojson!

edasmalchi commented 1 year ago

Revised approach focusing on .geojson.gz artifacts for each map, with a very minimal SPA to be embedded as iframes into each parameterized nb, see comments on https://github.com/cal-itp/data-infra/pull/2557

edasmalchi commented 1 year ago

also a good time to switch our variance measure to 20%ile-80%ile speed difference