Loading GIS and CSV Data to the Model

This is my second post on the NetLogo GIS extension. The GIS map below shows the villages along with the turtle agents that belong to each of the villages. 


The loadVillages procedure is responsible for displaying the village data set. There are 32 zones in the map which holds its corresponding village code as well as the village name.


The openFile procedure loads the data from the CSV file and is used for attribute initialization of the agents.


The createHouseholdsFile procedure assigns the row data to each of the households agents. In order to properly place them on the GIS map, the item on the data with the village code is used with the move-to command.

Share on Google Plus

About SSabal

:)
    Blogger Comment
    Facebook Comment

1 comments: