Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
River simulation web application framework for selecting and preparing data for input into 1-D and 2-D river models
Python JavaScript Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
requirements
riversim
static
templates
utils
.gitignore
README
__init__.py
manage.py
settings.py
urls.py

README

## Custom SRID

DWR LiDAR data comes in a slightly modified NAD83 projection, make sure this is loaded

TODO: Automate this?

  insert into spatial_ref_sys (srid, auth_name, auth_srid, proj4text, srtext) values (50000, 'DWR', 1, '+proj=utm +zone=10 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=ft +no_defs', '');

## Loading new models

Generate PostGIS data from SHP files with shp2pgsql:

  shp2pgsql shapefile.shp -g the_geom [-s SRID] > shapefile.sql

Generate Django-mappings and model using ogrinspect command:

  ./manage.py ogrinspect shapefile.shp modelname --mapping
Something went wrong with that request. Please try again.