Opened 18 years ago

Last modified 17 years ago

#1201 closed defect (fixed)

ogrinfo --formats: print if drivers are RO or RW or WO

Reported by: Markus Neteler Owned by: warmerdam
Priority: high Milestone:
Component: OGR_SF Version: unspecified
Severity: normal Keywords:
Cc:

Description

Frank,

please add to the output of
ogrinfo --formats
if drivers are RO, WO or RW (such as gdalinfo --formats
does).

thanks

 Markus

Attachments (1)

ogrutils.diff (1.0 KB ) - added by neteler@… 18 years ago.
patch to print rw/ro for ogrinfo --formats

Download all attachments as: .zip

Change History (5)

by neteler@…, 18 years ago

Attachment: ogrutils.diff added

patch to print rw/ro for ogrinfo --formats

comment:1 by neteler@…, 18 years ago

Frank,

I hacked it in myself:

ogrinfo --formats
Supported Formats:
  GRASS (ro)
  ESRI Shapefile (rw)
  MapInfo File (rw)
  UK .NTF (ro)
  SDTS (ro)
  TIGER (rw)
  S57 (rw)
  DGN (rw)
  VRT (ro)
  AVCBin (ro)
  REC (ro)
  Memory (rw)
  CSV (rw)
  GML (rw)
  KML (rw)
  Interlis 1 (rw)
  Interlis 2 (rw)
  SQLite (rw)
  ODBC (rw)
  PGeo (ro)
  OGDI (ro)
  PostgreSQL (rw)

Patch attached.

Best regards

 Markus

comment:2 by warmerdam, 18 years ago

Markus, 

This patch does not address the hard part - write only drivers.  These
are hard to detect since there is no capability about reading. 


comment:3 by neteler@…, 18 years ago

Frank,

right. I had a look at DXF write support but couldn't
find anything testable in the testcapabilities. 

However, this would be already a useful extension...

Markus

comment:4 by neteler@…, 17 years ago

Frank,

to me this issue is resolved:
ogrinfo --formats
Supported Formats:
  -> "GRASS" (readonly)
  -> "ESRI Shapefile" (read/write)
  -> "MapInfo File" (read/write)
  -> "UK .NTF" (readonly)
  -> "SDTS" (readonly)
  -> "TIGER" (read/write)
  -> "S57" (read/write)
  -> "DGN" (read/write)
  -> "VRT" (readonly)
  -> "AVCBin" (readonly)
  -> "REC" (readonly)
  -> "Memory" (read/write)
  -> "CSV" (read/write)
  -> "GML" (read/write)
  -> "KML" (read/write)
  -> "Interlis 1" (read/write)
  -> "Interlis 2" (read/write)
  -> "SQLite" (read/write)
  -> "PostgreSQL" (read/write)
  -> "MySQL" (read/write)

thanks
Markus
Note: See TracTickets for help on using tickets.