-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from aerispaha/dev
Refactoring graphics, build instructions tests and bug fix
- Loading branch information
Showing
19 changed files
with
529 additions
and
650 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
import os | ||
|
||
# This is the swmmio project root | ||
ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) | ||
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) | ||
|
||
#path to the SWMM5 executable used within the run_models module | ||
# path to the SWMM5 executable used within the run_models module | ||
if os.name == 'posix': | ||
SWMM_ENGINE_PATH = os.path.join(ROOT_DIR, 'lib', 'linux', 'swmm5') | ||
else: | ||
SWMM_ENGINE_PATH = os.path.join(ROOT_DIR, 'lib', 'windows', 'swmm5_22.exe') | ||
|
||
#path to the default geodatabase. used for some arcpy functions and parcel calcs | ||
GEODATABASE = r'C:\Data\ArcGIS\GDBs\LocalData.gdb' | ||
|
||
#feature class name of parcels in geodatabase | ||
# feature class name of parcels in geodatabase | ||
PARCEL_FEATURES = r'PWD_PARCELS_SHEDS_PPORT' | ||
|
||
#name of the directories in which to store post processing data | ||
# name of the directories in which to store post processing data | ||
REPORT_DIR_NAME = r'Report' | ||
|
||
#path to the basemap file used to create custom basemaps | ||
BASEMAP_PATH = os.path.join(ROOT_DIR,'swmmio','reporting','basemaps','index.html') | ||
BETTER_BASEMAP_PATH = os.path.join(ROOT_DIR,'swmmio','reporting','basemaps','mapbox_base.html') | ||
# path to the basemap file used to create custom basemaps | ||
FONT_PATH = os.path.join(ROOT_DIR, 'swmmio', 'graphics', 'fonts', 'Verdana.ttf') | ||
|
||
# path to the default geodatabase. used for some arcpy functions and parcel calcs | ||
GEODATABASE = r'C:\Data\ArcGIS\GDBs\LocalData.gdb' | ||
|
||
# path to the basemap file used to create custom basemaps | ||
BASEMAP_PATH = os.path.join(ROOT_DIR, 'swmmio', 'reporting', 'basemaps', 'index.html') | ||
BETTER_BASEMAP_PATH = os.path.join(ROOT_DIR, 'swmmio', 'reporting', 'basemaps', 'mapbox_base.html') | ||
|
||
#path to the basemap file used to create custom basemaps | ||
FONT_PATH = os.path.join(ROOT_DIR,'swmmio','graphics','fonts','Verdana.ttf') |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.