From 70644b5bef64a21a201cb8d35bccacb08c1a5162 Mon Sep 17 00:00:00 2001 From: Bryce Date: Wed, 3 May 2017 13:51:59 +0000 Subject: [PATCH] fixed path in import_nhd and expanded MineralVicinity in areas.py --- areas.py | 2 +- import_nhd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/areas.py b/areas.py index 90ceea8..794a617 100644 --- a/areas.py +++ b/areas.py @@ -171,7 +171,7 @@ WhiteMountains, Adirondacks, EvergladesKeys, NiagaraFalls] #Mineral-county-centric things -MineralVicinity = Box2d(-116.049,46.6316,-113.303,48.264) +MineralVicinity = Box2d(-117,45,-112,49) Mineral = Box2d(-115.759,46.6966, -114.419,47.4968) Sanders = Box2d(-116.049,47.1207, -114.187,48.264) MissoulaCo = Box2d(-114.797,46.6316, -113.303,47.6003) diff --git a/import_nhd b/import_nhd index ca717bc..bf5f08d 100755 --- a/import_nhd +++ b/import_nhd @@ -9,7 +9,7 @@ export PGPASSWORD=$DB_PASS SETUPCMD="shp2pgsql -p -I -g way -W latin1" IMPORTCMD="shp2pgsql -a -g way -W latin1" DBCMD="psql -q -h $DB_HOST -U $DB_USER -p $DB_PORT $DB_NAME" -TEMPDIR="/mnt/enterprise/Data/Bryce/rendered/temp" +TEMPDIR="/var/local/rendered/temp" SRS="+proj=lcc +lat_1=49 +lat_2=45 +lat_0=44.25 +lon_0=-109.5 +x_0=600000 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs" #SRS="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over" TEMPFILE="$TEMPDIR/temp.shp"