-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exporting with gis:patch-dataset #14
Comments
Hey Sean, This works for me:
However, for large worlds it takes a very long time since it queries each patch, so I wonder if there is something that is closer to the reverse of "apply-raster" in terms of speed. |
Thanks for looking at this. Previously (v5.3) I used the
without being inside of the The Netlogo 6 editor flags that as incorrect (specifically the editor then believes the method is no longer in observer context and doesn't like that the tick command is present) If I add the Thanks |
Agreed- I had been playing around with syntax before stumbling on the |
Update, Sean- as you mentioned, each patch was being asked to create the entire map. However, I tried using
|
Thanks for posting this, sorry it has taken me so long to respond. This was a bug introduced in NetLogo 6. The |
Indeed, thanks for the work around! It has been working flawlessly. Cheers! |
Thanks guys, glad it works! |
Just wanted to provide an update on this. The problem is in NetLogo, so the fix will come in the next version of NetLogo instead of a new release of the GIS extension. Progress can be tracked on that fix here. I expect to merge the changes in within the week and they should be usable immediately after merge if you're interested in running NetLogo from source. Thanks so much for reporting this! |
Awesome, thank you for the heads-up. Cheers! |
I'm not sure whose error this (Netlogo vs the extension)- and forgive me if I'm missing something obvious.
In my model which works in 5.3 I create a map to export with:
let output-map gis:patch-dataset arrival-date
arrival-date is a patch variable. This works great (Thanks for creating and maintaining this extension) in 5.3.
In version 6 of Netlogo I now receive an error because I'm trying to access a patch variable from an observer context. I can't seem to run this one piece of code without the editor flagging it - no matter where I put it.
Thanks!
Sean Bergin
The text was updated successfully, but these errors were encountered: