Changes between Version 58 and Version 59 of Noeud - parcours RHT


Ignore:
Timestamp:
Jan 24, 2012 12:05:52 PM (13 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Noeud - parcours RHT

    v58 v59  
    503503}}} 
    504504 
     505 
     506== ERS_FULL == 
     507{{{ 
     508#!sql 
     509DROP TABLE IF EXISTS bdmap2009.ers_full_france; 
     510CREATE TABLE bdmap2009.ers_full_france 
     511( 
     512  id_drain integer, 
     513  st_id character varying(8), 
     514  op_cd__moyenprospection integer, 
     515  ef_fishingmethod integer, 
     516  ef_nbpas character varying(10), 
     517  annee numeric 
     518 ); 
     519copy bdmap2009.ers_full_france from 'D:/CelineJouanin/workspace/EDAData/dataEDArht/ers_full_France.csv' with csv header delimiter as ';'  ---23312 lignes 
     520 
     521SELECT AddGeometryColumn ( 'bdmap2009','ers_full_france','the_geom',3035,'POINT',2); 
     522update bdmap2009.ers_full_france set the_geom=sub.the_geom from ( 
     523select st_codecsp, id_drain, the_geom from bdmap2009.bdmap_rhtvs2 ) as sub 
     524where sub.id_drain=ers_full_france.id_drain;   ---23312 lignes modifiées 
     525}}}