I've decided on a mix of maven and Eclipse to handle projects. This
API will likely change over time as more functionality is added.
You can check out the gov-fema-hazus-incast-server project and try
'mvn test'. Before you do this, you will need to create a csv file
with buildings with the following column headers
(NUMBER,NAME,ADDRESS,CITY,COUNTY,STATE,ZIP_CODE,LATITUDE,LONGITUDE)
In the University of Utah dataset that was used in these tests, we had
273 buildings with specific names, etc. If some of the tests fail, it
may be because you don't have the same buildings that I do. Feel free
to comment out these tests, or tweak them for a dataset that you
populate. Each test should be responsible to setup and tear down the
dataset.
Unfortunately, I could not provide the University of Utah dataset. Not
that the information is secret, but it is sensitive in some respects,
particularly the lat/lng information. Some of that info is freely
available from other sources, but not this source.
Thanks,
Stuart