Changes between Version 86 and Version 87 of CCM2 download and load
- Timestamp:
- Jun 22, 2018 9:51:15 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CCM2 download and load
v86 v87 61 61 62 62 See ["CookBook shptopostgres"] the same procedure was applied to obtain : (refer to your version so far Cédric or Céline) 63 {{{ 63 {{{#!sh 64 64 REM Ouvrir ce fichier avec notepad++ et copier coller les commandes dans une invite de commande 65 65 REM================================================ … … 125 125 == change schema to ccm21 == 126 126 Which can be downloaded at source:eda/EDACCM/ccm21_build.bat [[BR]] open this file with notepad++ and copy / paste to the command batch 127 {{{ 127 {{{#!sql 128 128 CREATE SCHEMA ccm21; 129 129 ALTER TABLE riversegments SET SCHEMA ccm21; … … 139 139 == A PLSQL function to get the upstream segments == 140 140 === creating indexes === 141 {{{ 141 {{{#!sql 142 142 DROP INDEX IF EXISTS ccm21.indexriversegments_wso_id; 143 143 CREATE INDEX indexriversegments_wso_id … … 210 210 211 211 === plpgsql function which returns the id of the primary catchments within the catchment corresponding to the strahler order === 212 {{{ 212 {{{#!sql 213 213 -- it is necessary to create a type to hold the output type 214 214 DROP TYPE IF EXISTS wso1_id; … … 372 372 ["Function mycatchment"] 373 373 374 {{{ 374 {{{#!sql 375 375 --examples of use 376 376