Changes between Version 1 and Version 2 of Writing catchment_area into postgre


Ignore:
Timestamp:
Nov 25, 2010 3:38:46 PM (14 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Writing catchment_area into postgre

    v1 v2  
    33Some problem with the function import colum or with the calcuation into postgre or R with area/1e6[[BR]] 
    44The area of some upstream segment are null so the up_ in the clc or the up_catchment are not calculated and give "NA" 
     5 
     6Use :[[BR]] 
     7{{{ 
     8ccm<-loaddb_all(ccm) 
     9ccm@data$c_area<-ccm@data$area/1000000 
     10import_column(ccm,newcolumn="c_area",newcolumntype="numeric",display=FALSE) 
     11}}} 
     12 
     13to verify !