Closed jywarren closed 4 years ago
@tech4gt starting to collect resources!!!
Oh this is great! Also maybe we can schedule a call to discuss this a little more, I still need to wrap my head around it exactly but this looks very promising! :)
For sure!!!
OK, updated in #298 with a more fleshed out architecture plan.
Wow https://npmjs.com/geotiff is seriously amazing work!
Closing this now in favor of https://github.com/publiclab/image-sequencer-app/
We are exploring parallel tracks for cloud-based MapKnitter exporting, and one option is a JavaScript based process. The base idea is to use Image Sequencer, possibly webgl-distort, and to run in Google Cloud.
A more traditional Ruby/ImageMagick/GDAL approach is being explored here: https://github.com/publiclab/mapknitter/issues/258
Basic version would output a combined JPG image at a given scale or pixel size. Advanced versions might cut tiles or output GeoTiffs.
Code to be moved off-app
generate_perspectival_distort
run_export
,distort_warpables
,generate_composite_tiff
,generate_tiles
,generate_jpg
Resources
Non-JS wrappers
https://www.npmjs.com/package/imagemagick
https://github.com/naturalatlas/node-gdal - operate GDAL via JS
https://github.com/geo-data/gdal-docker
https://github.com/googleapis/google-cloud-ruby
https://cloud.google.com/ruby/rails/
https://cloud.google.com/appengine/docs/flexible/ruby/