Changes between Version 30 and Version 31 of WKTRaster/SpecificationWorking01


Ignore:
Timestamp:
06/02/09 06:48:21 (16 years ago)
Author:
mloskot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking01

    v30 v31  
    2525== '''Objective 0.1.6c - Being able to load rasters in the database ''' ==
    2626
    27 
    28 '''gdal2wktraster.py -''' A prototype of the translation utility implemented in Python and with use of [http://www.gdal.org/ GDAL] and its bindings to Python. Create an SQL commands output to create a table of raster. As input raster file, all GDAL formats are accepted. The script is available as [http://svn.refractions.net/postgis/spike/wktraster/scripts/gdal2wktraster.py gdal2wktraster.py] script.
    29 
    30 '''Open Questions:'''[[BR]]
    31 [[BR]]
    32  1. Should we change names of options to strictly follow those used by raster2pgsql and shp2pgsql?[[BR]][[BR]]  Pierre: Yes! We should follow PostGIS tracks as much as possible in everything we do in this project.[[BR]][[BR]]
     27=== gdal2wktraster ===
     28
     29A prototype of the translation utility implemented in Python and with use of [http://www.gdal.org/ GDAL] and its bindings to Python. Create an SQL commands output to create a table of raster. As input raster file, all GDAL formats are accepted. The script is available as [http://svn.refractions.net/postgis/spike/wktraster/scripts/gdal2wktraster.py gdal2wktraster.py] script.
     30
     31'''Open Questions:'''
     32
     33 1. Should we change names of options to strictly follow those used by raster2pgsql and shp2pgsql?
     34    Pierre: Yes! We should follow PostGIS tracks as much as possible in everything we do in this project.
    3335 1. How can I import all the bands from a multiband TIFF?
    3436
    35 '''USAGE:'''[[BR]]
     37'''USAGE:'''
     38
    3639'''gdal2wktraster.py''' -r rasterfile [-r rasterfile] -t [<schema>.]<table> [<options>]
    3740
    38 '''-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.[[BR]]
     41'''-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.
    3942'''-t''' <table>  Name of destination table in with or without target schema specified. This parameter is REQUIRED.
    4043
    4144
    42 '''OPTIONS:'''[[BR]]
     45'''OPTIONS:'''
     46
    4347'''-s''' <srid>  Set the SRID field. Default is -1.[[BR]]
    4448'''-b''' <nbband>  Specify the number of band. The number of rasterfile must correspond to this number.[[BR]]
     
    5761'''-h''' Display this help screen.
    5862
    59 ----
    60 '''raster2pgsql.exe -''' Should be as much similar to [http://postgis.refractions.net/documentation/manual-svn/ch04.html#id3009010 shp2pgsql.exe] as it is possible.
     63=== raster2pgsql ===
     64
     65Should be as much similar to [http://postgis.refractions.net/documentation/manual-svn/ch04.html#id3009010 shp2pgsql] as it is possible.
    6166
    6267 * For Beta 0.1: TIFF only, only the first band, options for tiling.
    6368
    6469
    65 '''Open Questions:'''[[BR]]
     70'''Open Questions:'''
     71
    6672[[BR]]
    6773 1. Pierre: Should there be an option to be able to write directly to the database instead of writing a .sql file by default?[[BR]][[BR]]