Skip to content

Saving snapshots of a headless simulation centered on a specific agent. #53

Closed Answered by hqnghi88
marvin-the-parrot asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
{14421,12372} is GIS location within GAMA's coordination. I dont know an operator in GAMA for your issue, but i have a solution:
You have the boundary in GAMA : the world.shape, for ex {1000.1000} to {2000,2000}
You have the boundary of your snapshot: {0,0} to {2048,2048}
So doing a simple math , i think you can convert an agent location from GAMA coordinates, to where it state on your snapshot.

Replies: 0 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@marvin-the-parrot
Comment options

Answer selected by marvin-the-parrot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants