Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MyPolygon

 MyPolygon

Ignite presentation in the WCMC informatics' Ignite session. A framework to get statistics from polygons drawn in a map

Avatar for Miguel Torres

Miguel Torres

August 07, 2013

Other Decks in Programming

Transcript

  1. Gets Pica's polygons and stats requests Sends requests to RasterStats

    and CartoDB Gets stats from RasterStats and CartoDB Sends them back to Pica Magpie
  2. For an error < 1% For a processing time <

    1s What should be the resolution of an image? Problem to solve
  3. 0 1 2 3 4 5 6 7 8 0

    1000000 2000000 3000000 4000000 5000000 6000000 7000000 f(x) = 915083.71x - 428453.84 R² = 0.99 Time (s) Pixels Processed Almost Perfect Correlation
  4. When number of pixels to process take less then 1

    second : Choose Highest resolution! Solution
  5. Future Create an alternative to Starspan Use in new beautiful

    apps Use more data to test Error vs. Speed on RasterStats