Definition at line 324 of file raster2pgsql.c.
References _, POSTGIS_LIB_VERSION, and SRID_UNKNOWN.
Referenced by main().
325 printf(
_(
"RELEASE: %s GDAL_VERSION=%d (r%d)\n"),
POSTGIS_LIB_VERSION, POSTGIS_GDAL_VERSION, POSTGIS_SVN_REVISION);
327 "USAGE: raster2pgsql [<options>] <raster>[ <raster>[ ...]] [[<schema>.]<table>]\n" 328 " Multiple rasters can also be specified using wildcards (*,?).\n" 341 " -s <srid> Set the SRID field. Defaults to %d. If SRID not\n" 342 " provided or is %d, raster's metadata will be checked to\n" 343 " determine an appropriate SRID.\n" 346 " -b <band> Index (1-based) of band to extract from raster. For more\n" 347 " than one band index, separate with comma (,). Ranges can be\n" 348 " defined by separating with dash (-). If unspecified, all bands\n" 349 " of raster will be extracted.\n" 352 " -t <tile size> Cut raster into tiles to be inserted one per\n" 353 " table row. <tile size> is expressed as WIDTHxHEIGHT.\n" 354 " <tile size> can also be \"auto\" to allow the loader to compute\n" 355 " an appropriate tile size using the first raster and applied to\n" 359 " -P Pad right-most and bottom-most tiles to guarantee that all tiles\n" 360 " have the same width and height.\n" 363 " -R Register the raster as an out-of-db (filesystem) raster. Provided\n" 364 " raster should have absolute path to the file\n" 367 " (-d|a|c|p) These are mutually exclusive options:\n" 368 " -d Drops the table, then recreates it and populates\n" 369 " it with current raster data.\n" 370 " -a Appends raster into current table, must be\n" 371 " exactly the same table schema.\n" 372 " -c Creates a new table and populates it, this is the\n" 373 " default if you do not specify any options.\n" 374 " -p Prepare mode, only creates the table.\n" 377 " -f <column> Specify the name of the raster column\n" 380 " -F Add a column with the filename of the raster.\n" 383 " -n <column> Specify the name of the filename column. Implies -F.\n" 386 " -l <overview factor> Create overview of the raster. For more than\n" 387 " one factor, separate with comma(,). Overview table name follows\n" 388 " the pattern o_<overview factor>_<table>. Created overview is\n" 389 " stored in the database and is not affected by -R.\n" 392 " -q Wrap PostgreSQL identifiers in quotes.\n" 395 " -I Create a GIST spatial index on the raster column. The ANALYZE\n" 396 " command will automatically be issued for the created index.\n" 399 " -M Run VACUUM ANALYZE on the table of the raster column. Most\n" 400 " useful when appending raster to existing table with -a.\n" 403 " -C Set the standard set of constraints on the raster\n" 404 " column after the rasters are loaded. Some constraints may fail\n" 405 " if one or more rasters violate the constraint.\n" 406 " -x Disable setting the max extent constraint. Only applied if\n" 407 " -C flag is also used.\n" 408 " -r Set the constraints (spatially unique and coverage tile) for\n" 409 " regular blocking. Only applied if -C flag is also used.\n" 412 " -T <tablespace> Specify the tablespace for the new table.\n" 413 " Note that indices (including the primary key) will still use\n" 414 " the default tablespace unless the -X flag is also used.\n" 417 " -X <tablespace> Specify the tablespace for the table's new index.\n" 418 " This applies to the primary key and the spatial index if\n" 419 " the -I flag is used.\n" 422 " -N <nodata> NODATA value to use on bands without a NODATA value.\n" 425 " -k Skip NODATA value checks for each raster band.\n" 428 " -E <endian> Control endianness of generated binary output of\n" 429 " raster. Use 0 for XDR and 1 for NDR (default). Only NDR\n" 430 " is supported at this time.\n" 433 " -V <version> Specify version of output WKB format. Default\n" 434 " is 0. Only 0 is supported at this time.\n" 437 " -e Execute each statement individually, do not use a transaction.\n" 440 " -Y Use COPY statements instead of INSERT statements.\n" 443 " -G Print the supported GDAL raster formats.\n" 446 " -? Display this help screen.\n"
#define POSTGIS_LIB_VERSION
#define SRID_UNKNOWN
Unknown SRID value.