Revision 6331 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

View differences:

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

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

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

  
282
  </classes>
203 283
</definitions>

Also available in: Unified diff