Statistics
| Revision:

gvsig-raster / org.gvsig.raster / branches / org.gvsig.raster.2.4 / org.gvsig.raster / org.gvsig.raster.gdal / org.gvsig.raster.gdal.provider / src / main / resources / org / gvsig / raster / gdal / provider / NewRasterGdalStoreParameters.xml @ 6332

History | View | Annotate | Download (12.2 KB)

1
<?xml version="1.0"?>
2
<definitions>
3
  <version>1.0.0</version>
4
  <classes>
5

    
6
    <class namespace="dal" name="NewRasterGdalStoreParameters">
7
      <extends>
8
        <class namespace="dal" name="ProviderParameters" />
9
      </extends>
10
      <description>Store the parameters needed to create a new gdal file
11
      </description>
12
      <fields>
13
        <field name="file" type="file" mandatory="true" group="Basic">
14
          <description>Raster Gdal file to be created</description>
15
        </field>
16
      </fields>
17
    </class>
18

    
19
    <class namespace="dal" name="NewRasterGdalStoreParameters_GTiff">
20
      <extends>
21
        <class namespace="dal" name="NewRasterGdalStoreParameters" />
22
      </extends>
23
      <description>Store the parameters needed to create a new gdal file using
24
        GTiff driver
25
      </description>
26
      <fields>
27
        <field name="compress" type="string" mandatory="false" group="CreateOptions">
28
          <description>Property given to GTiff driver to indicate compress type
29
          </description>
30
          <availableValues>
31
            <value label="NONE">NONE</value>
32
            <value label="LZW">LZW</value>
33
            <value label="PACKBITS">PACKBITS</value>
34
            <value label="JPEG">JPEG</value>
35
            <value label="CCITTRLE">CCITTRLE</value>
36
            <value label="CCITTFAX3">CCITTFAX3</value>
37
            <value label="CCITTFAX4">CCITTFAX4</value>
38
            <value label="DEFLATE">DEFLATE</value>
39
            <value label="LZMA">LZMA</value>
40
          </availableValues>
41
        </field>
42
        <field name="predictor" type="integer" mandatory="false" group="CreateOptions">
43
          <description>Predictor Type</description>
44
        </field>
45
        <field name="jpeg_quality" type="integer" mandatory="false"
46
          group="CreateOptions" minval="1" maxval="100" defaultValue="75">
47
          <description>JPEG quality</description>
48
        </field>
49
        <field name="zlevel" type="integer" mandatory="false" group="CreateOptions"
50
          minval="1" maxval="9" defaultValue="6">
51
          <description>DEFLATE compression level 1-9 </description>
52
        </field>
53
        <field name="lzma_preset" type="integer" mandatory="false" group="CreateOptions"
54
          minval="0" maxval="9" defaultValue="6">
55
          <description>LZMA compression level 0(fast)-9(slow)</description>
56
        </field>
57
        <field name="nbits" type="integer" mandatory="false" minval="1" maxval="31" group="CreateOptions">
58
          <description>BITS for sub-byte files (1-7), sub-uint16 (9-15), sub-uint32 (17-31)</description>
59
        </field>
60
        <field name="interleave" type="string" mandatory="false" group="CreateOptions"
61
          defaultValue="PIXEL">
62
          <description>Property given to GTiff driver to indicate interleave
63
          </description>
64
          <availableValues>
65
            <value label="BAND">BAND</value>
66
            <value label="PIXEL">PIXEL</value>
67
          </availableValues>
68
        </field>
69
        <field name="tiled" type="boolean" mandatory="false" group="CreateOptions">
70
          <description>Switch to tiled format</description>
71
        </field>
72
        <field name="tfw" type="boolean" mandatory="false" group="CreateOptions">
73
          <description>Write out world file</description>
74
        </field>
75
        <field name="rpb" type="boolean" mandatory="false" group="CreateOptions">
76
          <description>Write out .RPB (RPC) file</description>
77
        </field>
78
        <field name="blockxsize" type="integer" mandatory="false" group="CreateOptions">
79
          <description>Tile Width</description>
80
        </field>
81
        <field name="blockysize" type="integer" mandatory="false" group="CreateOptions">
82
          <description>Tile/Strip Height</description>
83
        </field>
84
        <field name="photometric" type="string" mandatory="false" group="CreateOptions">
85
          <description>Property given to GTiff driver to indicate photometric
86
          </description>
87
          <availableValues>
88
            <value label="MINISBLACK">MINISBLACK</value>
89
            <value label="MINISWHITE">MINISWHITE</value>
90
            <value label="PALETTE">PALETTE</value>
91
            <value label="RGB">RGB</value>
92
            <value label="CMYK">CMYK</value>
93
            <value label="YCBCR">YCBCR</value>
94
            <value label="CIELAB">CIELAB</value>
95
            <value label="ICCLAB">ICCLAB</value>
96
            <value label="ITULAB">ITULAB</value>
97
          </availableValues>
98
        </field>
99
        <field name="sparse_ok" type="boolean" mandatory="false" group="CreateOptions"
100
          defaultValue="false">
101
          <description>Can newly created files have missing blocks?
102
          </description>
103
        </field>
104
        <field name="alpha" type="string" mandatory="false" group="CreateOptions">
105
          <description>Mark first extrasample as being alpha</description>
106
          <availableValues>
107
            <value label="NON-PREMULTIPLIED">NON-PREMULTIPLIED</value>
108
            <value label="PREMULTIPLIED">PREMULTIPLIED</value>
109
            <value label="UNSPECIFIED">UNSPECIFIED</value>
110
          </availableValues>
111
        </field>
112
        <field name="profile" type="string" mandatory="false" group="CreateOptions"
113
          defaultValue="GDALGeoTIFF">
114
          <description>Mark first extrasample as being alpha</description>
115
          <availableValues>
116
            <value label="GDALGeoTIFF">GDALGeoTIFF</value>
117
            <value label="GeoTIFF">GeoTIFF</value>
118
            <value label="BASELINE">BASELINE</value>
119
          </availableValues>
120
        </field>
121
        <field name="pixeltype" type="string" mandatory="false" group="CreateOptions">
122
          <description>Property given to GTiff driver to indicate pixel type
123
          </description>
124
          <availableValues>
125
            <value label="DEFAULT">DEFAULT</value>
126
            <value label="SIGNEDBYTE">SIGNEDBYTE</value>
127
          </availableValues>
128
        </field>
129
        <field name="bigtiff" type="string" mandatory="false" group="CreateOptions">
130
          <description>Force creation of BigTIFF file</description>
131
          <availableValues>
132
            <value label="YES">YES</value>
133
            <value label="NO">NO</value>
134
            <value label="IF_NEEDED">IF_NEEDED</value>
135
            <value label="IF_SAFER">IF_SAFER</value>
136
          </availableValues>
137
        </field>
138
        <field name="endianness" type="string" mandatory="false" group="CreateOptions"
139
          defaultValue="NATIVE">
140
          <description>Force endianness of created file. For DEBUG purpose
141
            mostly
142
          </description>
143
          <availableValues>
144
            <value label="NATIVE">NATIVE</value>
145
            <value label="INVERTED">INVERTED</value>
146
            <value label="LITTLE">LITTLE</value>
147
            <value label="BIG">BIG</value>
148
          </availableValues>
149
        </field>
150
        <field name="copy_src_overviews" type="boolean" mandatory="false"
151
          group="CreateOptions" defaultValue="false">
152
          <description>Force copy of overviews of source dataset (CreateCopy())
153
          </description>
154
        </field>
155
        <field name='source_icc_profile' type='string'>
156
          <description>ICC profile</description>
157
        </field>
158
        <field name='source_primaries_red' type='string'>
159
          <description>x,y,1.0 (xyY) red chromaticity</description>
160
        </field>
161
        <field name='source_primaries_green' type='string'>
162
          <description>x,y,1.0 (xyY) green chromaticity</description>
163
        </field>
164
        <field name='source_primaries_blue' type='string'>
165
          <description>x,y,1.0 (xyY) blue chromaticity</description>
166
        </field>
167
        <field name='source_whitepoint' type='string'>
168
          <description>x,y,1.0 (xyY) whitepoint</description>
169
        </field>
170
        <field name='tifftag_transferfunction_red' type='string'>
171
          <description>Transfer function for red</description>
172
        </field>
173
        <field name='tifftag_transferfunction_green' type='string'>
174
          <description>Transfer function for green</description>
175
        </field>
176
        <field name='tifftag_transferfunction_blue' type='string'>
177
          <description>Transfer function for blue</description>
178
        </field>
179
        <field name='tifftag_transferrange_black' type='string'>
180
          <description>Transfer range for black</description>
181
        </field>
182
        <field name='tifftag_transferrange_white' type='string'>
183
          <description>Transfer range for white</description>
184
        </field>
185
      </fields>
186
    </class>
187

    
188
    <class namespace="dal" name="NewRasterGdalStoreParameters_BMP">
189
      <extends>
190
        <class namespace="dal" name="NewRasterGdalStoreParameters" />
191
      </extends>
192
      <description>Store the parameters needed to create a new gdal file using
193
        BMP driver
194
      </description>
195
      <fields>
196
        <field name="worldfile" type="boolean" mandatory="false" group="CreateOptions">
197
          <description>Write out world file</description>
198
        </field>
199
      </fields>
200
    </class>
201

    
202
    <class namespace="dal" name="NewRasterGdalStoreParameters_netCDF">
203
      <extends>
204
        <class namespace="dal" name="NewRasterGdalStoreParameters" />
205
      </extends>
206
      <description>Store the parameters needed to create a new gdal file using
207
        netCDF driver
208
      </description>
209
      <fields>
210
        <field name="format" type="string" mandatory="true" defaultValue="NC"
211
          group="CreateOptions">
212
          <description>Property given to netCDF driver to indicate compress type
213
          </description>
214
          <availableValues>
215
            <value label="NC">NC</value>
216
            <value label="NC2">NC2</value>
217
            <value label="NC4">NC4</value>
218
            <value label="NC4C">NC4C</value>
219
            <value label="CCITTRLE">CCITTRLE</value>
220
            <value label="CCITTFAX3">CCITTFAX3</value>
221
            <value label="CCITTFAX4">CCITTFAX4</value>
222
            <value label="DEFLATE">DEFLATE</value>
223
            <value label="LZMA">LZMA</value>
224
          </availableValues>
225
        </field>
226
        <field name="compress" type="string" mandatory="false"
227
          defaultValue="NONE" group="CreateOptions">
228
          <description>Property given to netCDF driver to indicate compress type
229
          </description>
230
          <availableValues>
231
            <value label="NONE">NONE</value>
232
            <value label="DEFLATE">DEFLATE</value>
233
          </availableValues>
234
        </field>
235
        <field name="zlevel" type="integer" mandatory="false"
236
          minval="1" maxval="9" defaultValue="1" group="CreateOptions">
237
          <description>DEFLATE compression level 1-9 </description>
238
        </field>
239
        <field name="write_bottomup" type="boolean" mandatory="false"
240
          defaultValue="true" group="CreateOptions">
241
          <description>Switch to write from bottom to up</description>
242
        </field>
243
        <field name="write_gdal_tags" type="boolean" mandatory="false"
244
          defaultValue="true" group="CreateOptions">
245
          <description>Write out gdal tags</description>
246
        </field>
247
        <field name="write_lonlat" type="string" mandatory="false" group="CreateOptions">
248
          <description>Property given to GTiff driver to indicate if write
249
            LONLAT</description>
250
          <availableValues>
251
            <value label="YES">YES</value>
252
            <value label="NO">NO</value>
253
            <value label="IF_NEEDED">IF_NEEDED</value>
254
          </availableValues>
255
        </field>
256
        <field name="pixeltype" type="string" mandatory="false"
257
          defaultValuegroup="CreateOptions">
258
          <description>only used in Create()</description>
259
          <availableValues>
260
            <value label="DEFAULT">DEFAULT</value>
261
            <value label="SIGNEDBYTE">SIGNEDBYTE</value>
262
          </availableValues>
263
        </field>
264
        <field name="type_lonlat" type="string" mandatory="false" group="CreateOptions">
265
          <description>Property given to GTiff driver to indicate if write
266
            LONLAT</description>
267
          <availableValues>
268
            <value label="float">float</value>
269
            <value label="double">double</value>
270
          </availableValues>
271
        </field>
272
        <field name="CHUNKING" type="boolean" mandatory="false"
273
          defaultValue="true" group="CreateOptions">
274
          <description>Define chunking when creating netcdf4 file</description>
275
        </field>
276
      </fields>
277
    </class>
278

    
279
  </classes>
280
</definitions>