Open HouShikon opened 3 months ago
First find the place in the code where evacuation centers are initialized. Where is it? Is the information correct at this stage? Where is the data being read from?
Depending on whether the information is correct at initialization, the next step of debugging will be different.
After checking with the code, I realized every time I changed the JSON, I need to delete the map cache and rebuild the map. That's where I forgot to do. This issue can be closed
You should not need to delete the map cache manually. This should be done programmatically.
Please check the part of the code that loads the map cache, you should add code to this part of the program to check the timestamp of the map cache file, and the time stamp of the JSON, and if the time stamp of the JSON is newer than the time stamp of the map cache, the map cache should be re-created.
The issue cannot be closed quite yet. :-)
The capacity of evacuation centers stay the same number even if make changes in
evacuation_centers.json
. I changed all thecapacity
inevacuation_centers.json
But the result in
evacuation.csv
shows all theevac_capacity
are still 200I'm not sure it is a bug or I just looked in wrong file.