GeoTIFF / geoblaze

Blazing Fast JavaScript Raster Processing Engine
http://geoblaze.io
MIT License
181 stars 28 forks source link

129 #131

Closed DanielJDufour closed 6 years ago

DanielJDufour commented 6 years ago

Type of PR

What is the Goal of the PR?

Allow you to pass in a string to geoblaze's raster calculator. For example, return a > 100 ? 1 : 0;

What is the Motivation for the PR?

Want this string to func conversion logic to be in geoblaze not geotiff.io, because other users might want to pass in a string. It also makes sense because the band arithmetic parses a string.

What Tests are Included?

Test if can convert raster to 1s and 0s with string as lower case and upper case input.