spatialwidget icon indicating copy to clipboard operation
spatialwidget copied to clipboard

Utility package to convert R data into JSON for use in htmlwidget mapping libraries

Results 9 spatialwidget issues
Sort by recently updated
recently updated
newest added

- [x] jsonify - https://github.com/SymbolixAU/jsonify/issues/65 (and https://github.com/SymbolixAU/jsonify/issues/64) - [ ] colourvalues - https://github.com/SymbolixAU/colourvalues/issues/63 - [x] geojsonsf - https://github.com/SymbolixAU/geojsonsf/issues/77

In Mapdeck, to use a value from a geojson `property` as a colour it needs to be converted to `sf` first, then run through `spatialwidget`, then back to geojson. This...

Each API function should return the bounding box.

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]

from - https://github.com/SymbolixAU/mapdeck/issues/252 Currently errors if a data.frame has 0 rows. --- ~~return empty json? (check this doesn't cause issues in mapdeck javascript)~~ Nope - deckgl doens't remove the already-plotted...

for example, googleway can accept lines denoted with an 'id' value. ```r df

```r library(quadmesh) library(raster) ## dummy raster rr

return 'lat, lon' in in the geojson (because Google Maps uses Lat/Lng)