Changes between Version 77 and Version 78 of Cookbook gdal
- Timestamp:
- Jun 9, 2010 6:11:32 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Cookbook gdal
v77 v78 187 187 Message d'avis : 188 188 le package 'sp' a été compilé avec la version R 2.10.1 189 > readOGR(dsn="PG:host=localhost dbname= CCM user=postgres password=postgres port=5433",layer="riversegments")189 > readOGR(dsn="PG:host=localhost dbname=eda2.0 user=postgres password=postgres port=5433",layer="ccm21.riversegments") 190 190 Erreur dans ogrInfo(dsn = dsn, layer = layer, input_field_name_encoding = input_field_name_encoding) : 191 191 Cannot open file … … 194 194 so we will try this with ogrinfo (which is found at the same place than ogr2ogr 195 195 {{{ 196 C:\OSGeo4W\bin\ogrinfo -f "PostgreSQL" PG:"host=loca host user=postgres dbname=CCM password=postgres port=5433"196 C:\OSGeo4W\bin\ogrinfo -f "PostgreSQL" PG:"host=localhost user=postgres dbname=CCM password=postgres port=5433" 197 197 }}} 198 198 which returns 199 199 {{{ 200 C:\base\basesig>C:\OSGeo4W\bin\ogrinfo -f "PostgreSQL" PG:"host=locahost user=po 201 stgres dbname=CCM password=postgres port=5433" 200 C:\base\basesig>C:\OSGeo4W\bin\ogrinfo -f "PostgreSQL" PG:"host=localhost user=postgres dbname=CCM password=postgres port=5433" 202 201 Usage: ogrinfo [--help-general] [-ro] [-q] [-where restricted_where] 203 202 [-spat xmin ymin xmax ymax] [-fid fid]