Changes between Version 86 and Version 87 of CCM2 download and load


Ignore:
Timestamp:
Jun 22, 2018 9:51:15 PM (7 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CCM2 download and load

    v86 v87  
    6161 
    6262See ["CookBook shptopostgres"] the same procedure was applied to obtain : (refer to your version so far Cédric or Céline) 
    63 {{{ 
     63{{{#!sh 
    6464REM Ouvrir ce fichier avec notepad++ et copier coller les commandes dans une invite de commande 
    6565REM================================================ 
     
    125125== change schema to ccm21 == 
    126126Which 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 
    128128CREATE SCHEMA ccm21; 
    129129ALTER TABLE riversegments SET SCHEMA ccm21; 
     
    139139== A PLSQL function to get the upstream segments == 
    140140=== creating indexes === 
    141 {{{ 
     141{{{#!sql 
    142142DROP INDEX IF EXISTS ccm21.indexriversegments_wso_id; 
    143143CREATE INDEX indexriversegments_wso_id 
     
    210210 
    211211=== plpgsql function which returns the id of the primary catchments within the catchment corresponding to the strahler order === 
    212 {{{ 
     212{{{#!sql 
    213213-- it is necessary to create a type to hold the output type 
    214214DROP TYPE IF EXISTS wso1_id; 
     
    372372["Function mycatchment"] 
    373373 
    374 {{{ 
     374{{{#!sql 
    375375--examples of use 
    376376