irregular grid cells

31 views
Skip to first unread message

Chris Harvey

unread,
Dec 12, 2018, 11:27:27 AM12/12/18
to GAMA
Hello everyone,

I have a vector shapefile that I use as an environment species.  The shapefile was created from a lattice of points that are at non-uniform distances.  Points closer to one side of the lattice are much closer together than those at the other side .  From this I created Thiessian polygons and imported that polygon shapefile to GAMA and created a species called 'environment' from it.  The environment species characterizes the physical and biological conditions in each agent.  I am interested in displaying this species in 3D, with the z axis varying with an attribute value that I calculate at each time step.  I tried this, and the results were the cells did indeed move up and down the z axis, but did not provide that 'draped' effect I was looking for. 

I'm thinking that the 'draped' effect (looks like a table cloth draped over something or a lumpy blanket) is only possible with a grid. 

So, my first question is - Is there a way to make a species agents that form an irregular topology from a shapefile, move up and down the z-axis based on an attribute value giving that 'draped' effect?  My second question is - can I create a grid species with an irregular cell size?  Meaning some grid agents would be larger than other grid agents and since the shapefile was formed using Theissian polygons, how the cells connect also varies...which I suspect would be a problem.


Chris

Srirama Bhamidipati

unread,
Dec 16, 2018, 2:03:28 PM12/16/18
to GAMA
Hi

To my understanding, irregular sized AND irregular shaped (non-orthogonal sided) polygons (cells) like in your case, is not possible to be modeled "as a grid". Irregular sized spatial cells/ polygons can still be managed like you are doing or in a little complex way (perhaps multi-level modeling) or by not using a grid and making the polygons themselves as agents.

In general spatial modeling, draping can be solved as a TIN because the points can be irregularly placed thereby forming irregular sized (polygons) cells to create a TIN surface: created from z at irregularly located (x,y). If only displaying the result as a draped surface is the requirement, then my guess would be to create a TIN.

Not sure if this helped.

Srirama

Benoit Gaudou

unread,
Dec 16, 2018, 11:30:59 PM12/16/18
to gama-p...@googlegroups.com
Hi 
To complete Srirama's answer, I can mention the model: Data Importation / Contour Lines.gaml .
You can see this draped effects, without a grid. but you have to notice that it has been built at hand...

cheers

Benoit

--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To post to this group, send email to gama-p...@googlegroups.com.
Visit this group at https://groups.google.com/group/gama-platform.
For more options, visit https://groups.google.com/d/optout.

Chris Harvey

unread,
Dec 17, 2018, 8:46:20 AM12/17/18
to gama-p...@googlegroups.com
Thank you both, I will try the TIN.

You received this message because you are subscribed to a topic in the Google Groups "GAMA" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gama-platform/7mOhmFtDkzA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gama-platfor...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages