How to make online products on satellite images: Setup your color scheme of NDVI

How to make online products on satellite images: Setup your color scheme of NDVI

You can set up your color scheme by playing with a parameter color=0.03:fcfefcff; 

This parameter consists of pairs of numbers like 0.03:fcfefcff separated by semicolons where:

0.03 - NDVI value from 0 to 1

fcfefcff - HTML colors

Query template

http://sat.owm.io/sql?from=s2&select=b8,b4&where=day=2016-07-10&op=ndvi&polygon={"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[-102.73,34.43],[-102.73,34.49],[-102.57,34.49],[-102.57,34.43],[-102.73,34.43]]]}}&color=0:d93f2aff;0.05:df452cff;0.1:e66c2eff;0.15:e4622dff;0.2:f2b331ff; 0.25:f7d932ff;0.3:eff630ff;0.35:b0f321ff;0.4:80f116ff;0.45:76f013ff; 0.5:74ed17ff;0.55:6cde28ff;0.6:50ab56ff;0.65:317b83ff;0.7:0648b3ff; 0.75:1f46f0ff;0.8:2d45e9ff;0.85:533dcaff;0.9:783bb1ff;1:a342aeff;&appid=9de243494c0b295cca9337e1e96b00e2&APPID={APIKEY}


>> Learn more about our tools for Agriculture applications - http://owm.io/agri

How to make online products on satellite images: Compute NDVI for any date

How to make online products on satellite images: Compute NDVI for any date

We choose one day, October 1, 2016, as an example and calculate NDVI for our polygon.

Query template

http://sat.owm.io/sql?select=b5,b4&where=day=2016-10-01&op=ndvi&polygon={"type":"Feature","geometry":{"type":"Polygon","coordinates":[[[-121.32,37.65],[-121.32,37.72],[-121.11,37.72],[-121.11,37.65],[-121.32,37.65]]]}}&APPID={APIKEY}