Issue with Displaying "Individuals" in GAMA Simulation

23 views
Skip to first unread message

adawal urbain

unread,
Sep 5, 2025, 12:05:04 AMSep 5
to GAMA

Dear Team,

I am encountering a problem with the display of the "Individuals" species in my GAMA simulation. After importing my geographical data, I successfully positioned my agents in various houses, but I notice that the Individuals do not appear when I start the simulation.

Here are some excerpts from the code for your reference:

//import shapefile

file route_shape <- file("../includes/routes.shp");

file maison_shape <- file("../includes/maison.shp");

geometry shape <- envelope(route_shape);


create route from: route_shape;

create maison from: maison_shape;

create Individual number: initial_S {

state <- "S";

location <- any_location_in(one_of(maison));

display map {

species route aspect: geom;

species maison aspect: geom;

species Individual aspect: default;

}




I would appreciate any guidance or suggestions to help resolve this issue.

Thank you for your assistance.

Best regards,
[Your Name]

Arnaud Grignard

unread,
Sep 9, 2025, 8:59:00 AMSep 9
to gama-p...@googlegroups.com
Dear Adawal,

We cannot run your model without the shapefile and the entire model. Would it be possible for you to share the entire project it in a .zip file or at least the full model.gaml? 

Also what did you write in the aspect default of your species Individual? What is the initial value of initial_S?

Best,

Arnaud

--
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 view this discussion visit https://groups.google.com/d/msgid/gama-platform/e25c9f23-7bbe-48d4-b86f-1cff78974a86n%40googlegroups.com.
Message has been deleted

Arnaud Grignard

unread,
Sep 16, 2025, 11:56:02 AM (14 days ago) Sep 16
to gama-p...@googlegroups.com
Dear Adawal,

It seems that the problem is coming from your shapefile that seems to be very large in terms of distance compare to the reality. Where did you get those shapefile? Did you build it by yourself?

So actually the species people are effectively drawn but they are so small that you can see it one way to see it is to increase the size of the circle to 100 000 for instance as shown in the screenshot but it doesn't really make sense.

I would suggest to rebuild you GIS to be sure it is in the right scale

best 

Arnaud

On Fri, 12 Sept 2025 at 14:29, adawal urbain <adawa...@gmail.com> wrote:
Dear Arnaud 
 That's possible. The project is attached. Thank you
  ADAWAL

Sans virus.www.avast.com

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/2YJCnP4IPP4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gama-platfor...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gama-platform/CAP%2Br1fm50fGJWTVqzVcA-g1p7aP%2B%3Diqr7FZ_xGZSJaC_ciFMSw%40mail.gmail.com.


--
Très cordialement, 
ADAWAL URBAIN
Chercheur en Informatique(IA, SMA)
PLEG  Info-Fonda 
Tel: 690739858/674950592

--
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.
Screenshot 2025-09-16 at 17.54.24.png
Reply all
Reply to author
Forward
0 new messages