Skip to content

johnewart/riversim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

## 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', '');

Add to epsg file:

# DWR Projection
<50000> +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

About

River simulation web application framework for selecting and preparing data for input into 1-D and 2-D river models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published