Issue in showing the agents on top of the topography layer in repast!

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issue in showing the agents on top of the topography layer in repast!

Meshal Al-Harbi
Hi all,

I have imported a topography layer in my model in repast. I did it basically through the display wizard without any coding and it worked well. However, when I try to insert an agents on top of it, the agents become visible but the topography disappeared?

This is my code for inserting the agents on top of the topography layer in the GIS display.

for(int i=ydim;i>0;i=i-5)

{

for(int j=0; j<xdim;j=j+5)

{

    

      Buis agent=new Buis();

context.add(agent);

Coordinate coord = new Coordinate(-1.47954899486 + j*0.08301709075 , 1.47954899486 + i * 0.0346653639);

Point geom = fac.createPoint(coord);

geography.move(agent, geom);

}

}


Note: The agents give me the same shape that I want but the only one problem the topography layer doesn't show up.


any help please?


Thank you in advance.





------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest