Changes between Version 11 and Version 12 of CookBook pgsql2shp


Ignore:
Timestamp:
Nov 4, 2010 5:41:20 PM (14 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CookBook pgsql2shp

    v11 v12  
    3636== ccm21.riversegments_bretagne == 
    3737{{{ 
    38 C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\Documents and Settings\cedric\Mes documents\Migrateur\eda\exports_shape\riversegments_bretagne" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 ccm21.riversegments_bretagne 
     38C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\eda\exports_shape\riversegments_bretagne" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 ccm21.riversegments_bretagne 
    3939}}} 
    4040== ccm21.catchments_bretagne == 
    4141{{{ 
    42 C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\Documents and Settings\cedric\Mes documents\Migrateur\eda\exports_shape\catchments_bretagne" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 ccm21.catchments_bretagne 
     42C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\eda\exports_shape\catchments_bretagne" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 ccm21.catchments_bretagne 
    4343}}} 
    4444== clc.clipped_bretagne1 == 
    4545{{{ 
    46 C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\Documents and Settings\cedric\Mes documents\Migrateur\eda\exports_shape\clipped_bretagne1" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 clc.clipped_bretagne1 
     46C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\eda\exports_shape\clipped_bretagne1" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 clc.clipped_bretagne1 
    4747}}} 
    4848== ccm21.riversegments_france == 
    4949A query selecting a reduced area 
    5050{{{ 
    51 C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\Documents and Settings\cedric\Mes documents\Migrateur\eda\exports_shape\riversegments_france" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 "select * from ccm21.riversegments where wso_id in (select wso_id from france.wso where area='France');" 
     51C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\eda\exports_shape\riversegments_france" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 "select * from ccm21.riversegments where wso_id in (select wso_id from france.wso where area='France');" 
    5252}}} 
    5353== ccm21.catchments_france == 
    5454 
    5555{{{ 
    56 C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\Documents and Settings\cedric\Mes documents\Migrateur\eda\exports_shape\catchments_france" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 "select * from ccm21.catchments where wso_id in (select wso_id from france.wso where area='France');" 
     56C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\eda\exports_shape\catchments_france" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 "select * from ccm21.catchments where wso_id in (select wso_id from france.wso where area='France');" 
    5757}}} 
    5858== clc.surf_area_final == 
    5959{{{ 
    60 C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\Documents and Settings\cedric\Mes documents\Migrateur\eda\exports_shape\surf_area_final" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 select clc.surf_area_final 
     60C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\eda\exports_shape\surf_area_final" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 select clc.surf_area_final 
    6161}}} 
    6262== percentage urban == 
    6363{{{ 
    64 C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\Documents and Settings\cedric\Mes documents\Migrateur\eda\exports_shape\p_surf_urb_up" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 "select r.gid, c.gid as c_gid, CASE WHEN up_catchment_area=0 THEN 0 WHEN up_catchment_area IS NULL THEN 0 ELSE up_art_11_13/up_catchment_area END as psurf, c.the_geom from ccm21.riversegments r join ccm21.catchments c on c.wso1_id=r.wso1_id where r.wso_id in (select wso_id from france.wso where area='France');" 
     64C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:eda\exports_shape\p_surf_urb_up" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 "select r.gid, c.gid as c_gid, CASE WHEN up_catchment_area=0 THEN 0 WHEN up_catchment_area IS NULL THEN 0 ELSE up_art_11_13/up_catchment_area END as psurf, c.the_geom from ccm21.riversegments r join ccm21.catchments c on c.wso1_id=r.wso1_id where r.wso_id in (select wso_id from france.wso where area='France');" 
    6565}}} 
     66 
     67== roe_ccm_300 == 
     68{{{ 
     69C:\"Program Files"\PostgreSQL\8.4\bin\pgsql2shp -f "C:\eda\exports_shape\roe_ccm_300" -p 5433 -u postgres -P postgres -g the_geom -r -k eda2.0 "select r.gid, c.gid as c_gid, CASE WHEN up_catchment_area=0 THEN 0 WHEN up_catchment_area IS NULL THEN 0 ELSE up_art_11_13/up_catchment_area END as psurf, c.the_geom from ccm21.riversegments r join ccm21.catchments c on c.wso1_id=r.wso1_id where r.wso_id in (select wso_id from france.wso where area='France');" 
     70}}} 
     71