Changes between Version 101 and Version 102 of CookBook join BDMAP_CCM


Ignore:
Timestamp:
Sep 1, 2010 3:05:03 PM (15 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CookBook join BDMAP_CCM

    v101 v102  
    55 
    66== 1. Load the BDMAP database, it will be saved by Laurent using a Talend work == 
     7{{{ 
     8SELECT AddGeometryColumn('bdmap', 'station','the_geom', 27572,'POINT',2)  
     9UPDATE bdmap SET the_geom=PointFromText('POINT(' || st_abcisse || ' ' || st_ordonnee || ')',27572); 
     10ALTER TABLE bdmap.station ADD CONSTRAINT geometry_valid_check CHECK (isvalid(the_geom));  
     11SELECT ST_Transform(the_geom,3035) FROM bdmap.station; 
     12}}} 
     13 
    714== 2. Load the codier_csp table (it is also necessary for R treatments),the following code will create the table and copy it from the csv file (here located in base) == 
    815    I had to make a utf8 file