Opened 13 years ago

Closed 13 years ago

#4226 closed enhancement (fixed)

Improve documentation about using /vsistdout/ for writing to standard output

Reported by: peifer Owned by: warmerdam
Priority: normal Milestone: 1.9.0
Component: Docs Version: svn-trunk
Severity: normal Keywords:
Cc:

Description (last modified by peifer)

OGR's BNA, CSV, GeoJSON, GeoRSS, GML, GPX, KML and PGDump seem to be able to use /vsistdout/ as output file for writing to standard output. However, only drv_pgdump.html mentions /vsistdout/. Other relevant driver pages should also mention this option.

Before I forget: consistency of aliases between /dev/stdout and /vsistdout/ could be improved between OGR drivers. As Even R wrote today on gdal-dev: Yes we probably lack consistency in that area. I think the stdout case should be removed (should not affect many people as it was unadvertized feature), and only accept /dev/stdout and /vsistdout/ which are less hacky solutions.

Change History (2)

comment:1 by peifer, 13 years ago

Description: modified (diff)

comment:2 by Even Rouault, 13 years ago

Milestone: 1.9.0
Resolution: fixed
Status: newclosed
r23022 /trunk/ (21 files in 11 dirs): 
OGR drivers: mentions in the doc that BNA, CSV, GPX, KML, GeoRSS, GML, LIBKML,
GeoJSON, PGDump and shapefile (non exhaustive list...) support the VSI File API;
for the ones supporting outputing to standard output (all of the above except
shapefile), accept both /dev/stdout and /vsistdout/ as filenames; remove
'stdout' as a valid alias that could be used in some of them (#4225, #4226)
Note: See TracTickets for help on using tickets.