Changes between Version 85 and Version 86 of WKTRaster/SpecificationWorking01


Ignore:
Timestamp:
Dec 20, 2009, 4:57:45 AM (14 years ago)
Author:
jorgearevalo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking01

    v85 v86  
    3636'''USAGE:'''
    3737
    38 '''gdal2wktraster.py''' -r rasterfile [-r rasterfile] -t [<schema>.]<table> [<options>]
    39 
    40 '''-r''' <rasterfile>  Specifies input raster file. Multiple -r options can be specified for a number of input files or wildcards can be used (? and *). At least one input raster file is REQUIRED.
    41 
    42 '''-t''' <table>  Name of destination table in with or without target schema specified. This parameter is REQUIRED.
     38'''gdal2wktraster.py''' [<options>]
    4339
    4440'''OPTIONS:'''
    4541
    46 '''-s''' <srid>  Set the SRID field. Default is -1.
    47 
    48 '''-b''' <nbband>  Specify the number of band. The number of rasterfile must correspond to this number.
    49 
    50 '''-f''' <field>  Name of target column for raster data. Default column name is ''rast''.
    51 
    52 '''-I''' Create a GiST index on the raster column.
     42
     43''' Source and Destination options: MANDATORY PARAMETERS, ALWAYS REQUIRED '''
     44
     45'''-r''' <RASTERFILE>  Specifies input raster file. Multiple -r options can be specified for a number of input files or wildcards can be used (? and *).
     46
     47'''-t''' [<SCHEMA>].<TABLE>  Name of destination table in with or without target schema specified.
     48
     49
     50''' Raster processing: Optional parameters used to manipulate input raster dataset '''
     51
     52'''-s''' <srid>  Set the SRID field of output raster. Default is -1.
     53
     54'''-b''' <nbband>  Specify the number of band to be extracted from input raster file.
     55
     56'''-k''' <BLOCK_SIZE>  Specify the size of the block of  the input raster, assuming regular blocking mode. Must be specified as WIDTHxHEIGHT.
     57
     58'''-R''' Register the raster as a filesystem (out-db) raster. Absolute path to the raster and georeferencing informations are stored instead of the raster actual data. This storage system is only allowed in SVN trunk version right now.
     59
     60'''-l''' <OVERVIEW_LEVEL> Create overview tables named as o_<LEVEL>_<RASTER_TABLE> and populate it with GDAL-provided overviews. Regular blocking only.
     61
     62
     63''' Database processing: Optional parameters used to manipulate database objects '''
     64
     65'''-c'''  Creates a new table and populates it with raster input file(s), this is the default if you do not specify any options.
     66
     67'''-d'''  Drops the table, then recreates it and populates it with current raster file(s) data.
     68
     69'''-f''' <COLUMN>  Name of target column for raster data. Default column name is ''rast''.
     70
     71'''-F'''  Add a "filename" column containing the original name of the loaded raster file.
     72
     73'''-I'''  Create a GiST index on the raster column.
     74
     75'''-M'''  Issue VACUUM command against all generated tables.
     76
     77'''-V'''  Create RASTER_OVERVIEWS table used to store overviews metadata.
     78
     79
     80''' Miscellanous: Other optional parameters '''
     81
     82'''-e''' <ENDIAN>  Control endianness of generated binary output of raster; specify 0 for XDR (big-endian) and 1 for NDR (little-endian). Only NDR output is supported right now.
     83
     84'''-w''' <VERSION>  Specify version of WKT Raster protocol. Default is 0; only this value is supported right now.
    5385
    5486'''-o''' <file> Output file for generated SQL commands. If not specified, ''stdout'' is assumed.
    5587
    56 '''-R''' Simply register the raster in the database. Absolute path to the raster and georeferencing informations are stored instead of the raster actual data.
    57 
    58 '''-F''' Add a "filename" column containing the original name of the loaded raster file.
    59 
    60 
    61 '''(-d|c)''' Mutually exclusive inserting options:
    62 
    63   '''-d'''  Drops the table, then recreates it and populates it with current raster file data.
    64 
    65   '''-c'''  Creates a new table and populates it, this is the default if you do not specify any options.
    66 
    6788'''-v''' Switch on excessively verbose mode, useful for debugging.
    6889
    6990'''-h''' Display this help screen.
     91
    7092
    7193=== raster2pgsql ===