Closed robinkraft closed 12 years ago
Which is the best set of tiles to use? "ecohack" or "newecohack" ?
newecohack has a newer creation date. I'd stick with that for now, but I'm about to upload the tiles to s3. I'll send along a path in a few.
On Nov 12, 2011, at 11:40 AM, Brian Honohan wrote:
Which is the best set of tiles to use? "ecohack" or "newecohack" ?
Reply to this email directly or view it on GitHub: https://github.com/robinkraft/forma-vis/issues/2#issuecomment-2718164
Ok, I'll work with 'newecohack'.
As a heads up, I'm pretty sure in order for Javascript to manipulate/inspect the image data, the JS and the HTML page need to be loaded from the same domain as the tiles. So S3 is fine for pushing everything, but I don't think you'll be able to use it locally unless you use the proxy technique through Node (or similar) that is outlined in the original Visual-Raster Readme file.
Ah good point. So that could be annoying for testing. If you want the full tile set locally, I've uploaded it here:
http://forma.s3.amazonaws.com/ecohacknyc/ecohacknyc.tar.gz
And the public tiles are here:
http://s3.amazonaws.com/forma/ecohacknyc/
I initially set the permissions incorrectly though so it'll take a minute or two for the correct permissions to propagate.
On Nov 12, 2011, at 11:57 AM, Brian Honohan wrote:
Ok, I'll work with 'newecohack'.
As a heads up, I'm pretty sure in order for Javascript to manipulate/inspect the image data, the JS and the HTML page need to be loaded from the same domain as the tiles. So S3 is fine for pushing everything, but I don't think you'll be able to use it locally unless you use the proxy technique through Node (or similar) that is outlined in the original Visual-Raster Readme file.
Reply to this email directly or view it on GitHub: https://github.com/robinkraft/forma-vis/issues/2#issuecomment-2718224
Fix posted to: http://elementstream.com/forma-vis/test_pixel/maps_threshold_NEW.html
... facing issues w/ pushing changes up to github (see note on #4 regarding permissions... may just fork the project)
Brian, I took your changes from elementstream.com and commited them to the master branch - which I then pared down just to the project files we're actually using. There's also an updated readme.
The tiles and HTML/JS files are now on S3:
http://forma-vis.s3-website-us-east-1.amazonaws.com
The cross-domain security policy is really annoying, but this is fine.
The default, initial view of the page on load should show forest (green) and deforestation through 2005 (red). These correspond to image values 0 and 1, respectively.
It might be sufficient just to start the slider at December 1, 2005 and increment by month after that.