Changes between Version 17 and Version 18 of Cookbook gdal


Ignore:
Timestamp:
Jan 29, 2010 11:49:05 AM (15 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified Cookbook gdal

    v17 v18  
    6464 
    6565 
    66 Now most of the time you probably only want to output a subset of your postgis tables rather than all your tables. This code exports only the neighborhoods and parcels tables to a folder called mydatadump in ESRI shapefile format 
    67 ogr2ogr -f "ESRI Shapefile" mydatadump PG:"host=myhost user=myloginname dbname=mydbname password=mypassword" neighborhood parcels  
     66Now most of the time you probably only want to output a subset of your postgis tables rather than all your tables. This code exports only the riversegments and rivernodes tables to a folder called c:/base/basesig/mydatadump in ESRI shapefile format 
     67{{{ 
     68C:\OSGeo4W\bin\ogr2ogr -f "ESRI Shapefile" c:/base/basesig/mydatadump PG:"host=localhost user=postgres dbname=CCM password=postgres port=5433" riversegments rivernodes 
     69}}} 
     70'' Cedric Celui là marche même si il n'y a pas de guillemet" 
    6871= rgdal = 
    6972