Changes between Initial Version and Version 1 of PATE France


Ignore:
Timestamp:
Mar 30, 2012 5:29:21 PM (13 years ago)
Author:
celine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PATE France

    v1 v1  
     1back to first page[..][[BR]] 
     2 
     3Integrate roe_pate_france.csv (from Virginie 23 mars 2012) into access data and export ODBC link 
     4 
     5{{{ 
     6#!sql 
     7alter table "PATE_France" rename to pate_france; 
     8alter table pate_france set schema rht; 
     9 
     10alter table rht.pate_france rename column "nomCart" to nomCart; 
     11alter table rht.pate_france rename column "nomTopo" to nomTopo; 
     12alter table rht.pate_france rename column "commNom" to commNom; 
     13alter table rht.pate_france rename column "Id_ROE" to Id_ROE; 
     14alter table rht.pate_france rename column "Nom" to Nom; 
     15alter table rht.pate_france rename column "XL93" to XL93; 
     16alter table rht.pate_france rename column "YL93" to YL93; 
     17alter table rht.pate_france rename column "typeNom" to typeNom; 
     18alter table rht.pate_france rename column "stypeNom" to stypeNom; 
     19alter table rht.pate_france rename column "staNom" to staNom; 
     20alter table rht.pate_france rename column  "deptNom" to deptNom; 
     21alter table rht.pate_france rename column "note_fr_Anguille" to note_fr_Anguille; 
     22 
     23alter table rht.pate_france add column a_conserver boolean default TRUE; 
     24 
     25 
     26SELECT AddGeometryColumn ( 'rht','pate_france','the_geom',3035,'POINT',2); 
     27update rht.pate_france set the_geom=obstacle.the_geom from roe_v3.obstacle 
     28 where obstacle.id_roe=pate_france.id_roe;  
     29 
     30select count(*) from rht.pate_france where the_geom is null;  ---0 
     31}}}