projectmesa / mesa

Mesa is an open-source Python library for agent-based modeling, ideal for simulating complex systems and exploring emergent behaviors.
https://mesa.readthedocs.io
Apache License 2.0
2.54k stars 892 forks source link

GeoMesa kit #367

Closed Corvince closed 7 years ago

Corvince commented 7 years ago

Dear all,

as mentioned on the mailing list, I have been working on a GeoMesa kit to provide basic GIS functionality.

It currently uses shapely to create arbitrary shapes for agents and patches (agents that do not move). Shapes can also be imported from GeoJSON. Adapting any shape-to-shape interaction implemented in shapely will be straight-forward.

I have also written a map visualization that uses leaflet and draws the shapes on top of it. You can click on any shape to get a pop-up of the agents/patches attribute (which are potentially imported from the GeoJSON)

There is still quite a lot to do in terms of feature-completeness, documentation and testing.

However, I won't be able to work on this until September. If someone wants to contribute I have created a branch on my fork of mesa. I don't know if it makes sense at this stage already to pull this into the main repository (as a branch!), but GitHub does not allow to create a pull request for a new branch.

Have fun with it Corvin

example

Corvince commented 7 years ago

I am now working on this in another repository named mesa-geo. Head over there if you want to stay updated.