- m3.large
- 8GB attached volume
- ubuntu server 14.04 LTS
copy server setup script from github
wget https://raw.githubusercontent.com/USGS-OWI/nwis-mapper/master/server-config/server-setup.sh --no-check-certificate
run server setup script
sudo sh server-setup.sh
the nwis mapper application should now be running @ localhost
ESRI ArcGIS Desktop ~10.3.1
Python 2.7
Python Pillow image library
AWS CLI
python 1_getNWISSites.py
- takes about 90 minutes to run (with 16GB RAM Intel Core i7-3720QM)
- queries NWIS site service for sites, adds them to a fileGDB
- fileGDB feature classes are referenced within MXDs for each site type
python 2_generateTileCache.py D:/
- takes about 70 minutes to run (with 16GB RAM Intel Core i7-3720QM)
- this is a wrapper script that generates an ESRI tile cache, cleans it up then converts to TMS tiles
- output can be uploaded directly to s3
python 3_updateS3Bucket.py d:/cache s3://nwismapper
- takes about 8 minutes to run
- loops over each folder in tile cache location, recursively deletes from s3 bucket then re-uploads new cache