Skip to content

Instantly share code, notes, and snippets.

@jisantuc
Created June 20, 2018 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jisantuc/25531f4f12e3dce2731e2d76e305806f to your computer and use it in GitHub Desktop.
Save jisantuc/25531f4f12e3dce2731e2d76e305806f to your computer and use it in GitHub Desktop.
  • goal: pluggability, so that if someone wants to write the akka-http routes, it's easy for them

  • other question: what's the abstraction? Like -- Meta, or En/Decoder, or...

  • Define Tile Fetching Interface

    • based on layer id
    • something that produces a (Int, Int, Int) => Tile
    • also like Extent => Tile, Extent => Geotiff
    • like TileResolver in existing tile server
  • Cacheing interface -- mostly done, failing tests

    • needs a memcached container or something
  • Rendering interface --

    • target is "another scala user using the library"
    • borrow API from chroma.js probably -- to expose useful options like log color scales, wow
    • borrow from package object image in tile/.../image/package.scala
  • MAML lookup store/interface

    • punting to memory for now since we're just doing
  • Instrumentation:

    • kamon + some reporting service (Prometheus, Zipkin, who cares)
  • How routes are handled

  • How is authentication handled:

Short-term TODO:

  • make cacheing tests pass
  • decouple WCS from http4s
  • add authorizer (James/Monday -- always true or always false for PoC)
  • choose a subset of chroma to target with RenderDefinition stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment