Netlogo: Raster not loading in the world - gis

i just have some lines of code to try and import a raster I have but its not working
extensions [ gis ]
globals[datos-mundo]
to setup-mapa
set datos-mundo gis:load-dataset "D:/Geografico/fdsa.asc"
end
I dont know why its not working but im not getting an error, just that the world stays black, any advice will be welcomed. Thanks

You could export your map as an image (PNG) and then open it using import-pcolors. I find this much more straightforward than the GIS extension. I have a video tutorial of this here.
https://youtu.be/VzvgBzO7ls0

Related

cocos2d-x tiledMap create return null?

I am currently following Ray's tutorial on cocos2d-x tile map and my very simple code is not working at all.
So here is my code,
_tileMap = TMXTiledMap::create("TileMap.tmx");
this->addChild(_tileMap);
and according to the debugger, _tileMap is null, which causes a crash on the addChild method.
Do anyone have any idea why this is happening?
p.s _tileMap is declared as a TMXTiledMap* in header, TileMap.tmx is totally filled with stuff and TileMap.tmx along with other things are imported into the resource folder using creating folder reference.
Have you try "Tile layer format" with "Base64(uncompressed) ?
I have same symptom as like you, but I get out from stock by change tile layer format from cvs to Base64(uncompressed).
enter image description here

Create a GIF from an HTML animation

THE PROBLEM
I've created an HTML animation using google web designer, then I need to export my project as a GIF. Google web designer doesn't provide any tool to export as GIF so:
WHAT I'VE TRIED
I've tried to record my screen (using quick time player for MAC) crop and cut the result and then convert the MP4/MOV file to the GIF.
CONCLUSION
I'm not very satisfied with the result, the resulting GIF is very big (HTML is like 20KB and the GIF is 500+KB ) and the quality is mediocre.
Can someone provide me with a better solution or something to improve the quality of the result?

Program to export the code or other shape of a picture

can anyone recommend a program that loads an image , give me back the shape , so to import the code and the image directly in the game I'm doing in libgdx ?
Or a method that can simplify life :)
I do different levels
Thanks to all

Deep Zoom Image - Command Line Tool? Or For Bulk Conversion

I am looking for some kind of command line tool , using which I can create an application to convert input images into Deep Zoom Image.
I have around 500 images. I have used the Deep Zoom Composer to generate Deep Zoom Image[DZI] content one at a time. Was looking for a better way to process multiple images.
It looks like there was a tool SparseImageTool.exe in the Deep Zoom Installed Folder which is no longer available.
Here's a list of tools for creating DZI and similar images:
http://openseadragon.github.io/examples/creating-zooming-images/
Found a command line tool which generates files for Deep Zoom.
https://libvips.github.io/libvips/API/current/Making-image-pyramids.md.html
Example:
vips dzsave some-huge-file.tif my-dzi-name
Will write my-dzi-name.dzi and a directory called my-dzi-name_files/ containing all the image tiles.

Dynamic plots in HTML

I have been developing a software package to plot astronomical data in the form of a movie. It looks like this.
To do this, I export 100 tables of data from Java to gnuplot and use a bash script to turn them into a GIF. I want instead to do it in HTML and maybe Raphael.
I'm thinking that I can use a Python script to iterate through folders and build a hundred plots, and then cycle through them. Any ideas on this? How can I get them to cycle?
You will have to test performance issues, but FLOT might be just the thing for you...
here is an example of flot animating:
http://people.iola.dk/olau/flot/examples/realtime.html
I think a canvas is what you need. Just draw all the points, clear the canvas, and redraw
your code would look something like this pseduo code
for each frame
for each point
canvas.draw point at x, y
end
clear canvas
end
Even I was looking for something similar, I found this one link will be trying it out http://humblesoftware.com/flotr2/