Dave
Dave
some applications will need values in [0,1], so could divide the colour vector / value by 255.0 (only applicable to rgb values) for example, mapdeck / deck.gl binary data needs...
Add arguments to specify the range of the palette you want to use For example ```r colour_values( 1:256, begin = 0.0, end = 0.75 ) ``` will only use rows...
have a `create_interleaved()` function --- TODO - [x] if `is_hex()` it needs to be repeated for each coordinate, in each geometry
[this](https://github.com/SymbolixAU/spatialwidget/blob/master/inst/include/spatialwidget/colour/colour.hpp#L141) needs to be overwritable, because interleaving is in [0,1]
```r library(quadmesh) library(raster) ## dummy raster rr
I see [here](https://github.com/walkerke/mapboxapi/blob/master/R/maps.R#L47), for example, you look for `Sys.getenv("MAPBOX_SECRET_TOKEN")`. Would you consider something a bit more generic that looks for any string with `"mapbox"` in the environment? Similar to what...
This isn't an issue, but I found this repo after your issue on `jsonify` and thought another of my libraries may be of use - [`sfheaders`](https://github.com/dcooley/sfheaders) like `rapidjsonr` and `jsonify`...
Because it is for each row (geometry), not the collection
similar to how [geojsonsf](https://github.com/SymbolixAU/geojsonsf) encodes GeoJSON - use the same 'geojson_to_` code, but at each iteration of extracting lon/lat, encode it into a polyline. It would replace this workflow ```...