Вы находитесь на странице: 1из 5

134:

135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:

147,117,174,255
167,89,150,255
172,89,181,255
166,119,150,255
171,117,179,255
144,87,206,255
147,87,240,255
149,114,204,255
150,109,238,255
176,90,208,255
177,90,243,255
175,115,207,255
179,113,240,255
226,52,250,255
197,119,182,255
198,89,212,255
202,90,245,255
201,118,211,255
206,115,244,255
228,90,214,255
234,90,250,255
229,120,215,255
237,118,250,255
140,171,50,255
133,150,89,255
137,148,116,255
134,178,89,255
140,177,114,255
166,150,88,255
165,150,120,255
164,180,90,255
165,179,120,255
137,215,55,255
136,205,89,255
143,204,112,255
139,235,88,255
147,235,111,255
164,209,90,255
166,208,119,255
166,241,90,255
169,240,118,255
241,164,8,255
197,177,121,255
249,245,4,255
201,209,86,255
196,209,121,255
197,246,90,255
197,246,121,255
237,200,82,255
239,204,117,255
241,236,84,255
229,249,122,255
144,146,142,255
149,143,171,255
147,174,139,255
151,171,169,255
168,149,148,255
173,145,175,255
170,176,145,255
176,173,172,255

194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:

151,140,202,255
152,139,235,255
152,169,201,255
153,168,234,255
177,142,204,255
180,140,237,255
179,171,202,255
181,170,235,255
150,203,137,255
152,201,168,255
151,233,136,255
152,234,167,255
172,206,142,255
178,203,170,255
176,238,140,255
182,236,168,255
153,200,200,255
151,200,235,255
153,234,200,255
151,235,239,255
181,202,201,255
183,201,234,255
183,235,200,255
184,236,234,255
197,150,152,255
199,148,181,255
198,178,151,255
201,175,178,255
231,149,150,255
228,151,184,255
228,180,154,255
229,178,183,255
204,145,208,255
208,141,240,255
206,173,205,255
209,171,237,255
230,148,213,255
242,144,247,255
233,175,210,255
245,172,246,255
198,207,150,255
203,205,175,255
201,244,147,255
205,241,172,255
228,209,153,255
230,206,181,255
231,249,151,255
234,247,177,255
208,203,203,255
211,203,237,255
210,237,202,255
213,236,238,255
235,204,208,255
245,204,245,255
239,242,205,255
250,248,250,255
255,255,255,255
0,0,0,255
0,0,0,255
0,0,0,255

254: 0,0,0,255
255: 0,0,0,255
C:\OSGeo4W\bin>gdal_translate -of VRT jawa.tif baru.vrt
Input file size is 49763, 16895
C:\OSGeo4W\bin>gdalwarp -t_srs EPSG:4326 baru.vrt baru_1.tif
Copying color table from baru.vrt to new file.
Creating output file that is 49763P x 16895L.
Processing input file baru.vrt.
0...10...20...30...40...50...60...70...80...90...100 - done.
C:\OSGeo4W\bin>gdal2tiles.py -p geodetic -k baru_1.vrt
ERROR 4: `baru_1.vrt' does not exist in the file system,
and is not recognised as a supported dataset name.
Usage: gdal2tiles.py [options] input_file(s) [output]
gdal2tiles.py: error: It is not possible to open the input file 'baru_1.vrt'.
C:\OSGeo4W\bin>gdal2tiles.py -p geodetic -k baru_1.tif
Usage: gdal2tiles.py [options] input_file(s) [output]
gdal2tiles.py: error: Please convert this file to RGB/RGBA and run gdal2tiles on
the result.
From paletted file you can create RGBA file (temp.vrt) by:
gdal_translate -of vrt -expand rgba baru_1.tif temp.vrt
then run:
gdal2tiles temp.vrt
C:\OSGeo4W\bin>gdalwarp -t_srs EPSG:4326 baru.vrt baru_1.vrt
Copying color table from baru.vrt to new file.
Creating output file that is 49763P x 16895L.
Processing input file baru.vrt.
0...10...20...30...40...50...60...70...80...90...100 - done.
C:\OSGeo4W\bin>gdal2tiles.py -p geodetic -k baru_1.vrt
Usage: gdal2tiles.py [options] input_file(s) [output]
gdal2tiles.py: error: Please convert this file to RGB/RGBA and run gdal2tiles on
the result.
From paletted file you can create RGBA file (temp.vrt) by:
gdal_translate -of vrt -expand rgba baru_1.vrt temp.vrt
then run:
gdal2tiles temp.vrt
C:\OSGeo4W\bin>gdal_translate -of vr -b 1 -mask 1 -expand rgb baru_1.vrt temp.vr
t
Input file size is 49763, 16895
Output driver `vr' not recognised.
The following format drivers are configured and support output:
VRT: Virtual Raster
GTiff: GeoTIFF
NITF: National Imagery Transmission Format
HFA: Erdas Imagine Images (.img)
ELAS: ELAS
AAIGrid: Arc/Info ASCII Grid
DTED: DTED Elevation Raster

PNG: Portable Network Graphics


JPEG: JPEG JFIF
MEM: In Memory Raster
GIF: Graphics Interchange Format (.gif)
XPM: X11 PixMap Format
BMP: MS Windows Device Independent Bitmap
PCIDSK: PCIDSK Database File
PCRaster: PCRaster Raster File
ILWIS: ILWIS Raster Map
SGI: SGI Image File Format 1.0
SRTMHGT: SRTMHGT File Format
Leveller: Leveller heightfield
Terragen: Terragen heightfield
GMT: GMT NetCDF Grid Format
netCDF: Network Common Data Format
HDF4Image: HDF4 Dataset
ERS: ERMapper .ers Labelled
FIT: FIT Image
RMF: Raster Matrix Format
RST: Idrisi Raster A.1
INGR: Intergraph Raster
GSAG: Golden Software ASCII Grid (.grd)
GSBG: Golden Software Binary Grid (.grd)
R: R Object Data Store
PNM: Portable Pixmap Format (netpbm)
ENVI: ENVI .hdr Labelled
EHdr: ESRI .hdr Labelled
PAux: PCI .aux Labelled
MFF: Vexcel MFF Raster
MFF2: Vexcel MFF2 (HKV) Raster
BT: VTP .bt (Binary Terrain) 1.3 Format
IDA: Image Data and Analysis
GTX: NOAA Vertical Datum .GTX
NTv2: NTv2 Datum Grid Shift
USGSDEM: USGS Optional ASCII DEM (and CDED)
ADRG: ARC Digitized Raster Graphics
BLX: Magellan topo (.blx)
Rasterlite: Rasterlite
SAGA: SAGA GIS Binary Grid (.sdat)
KMLSUPEROVERLAY: Kml Super Overlay
XYZ: ASCII Gridded XYZ
HF2: HF2/HFZ heightfield raster
Usage: gdal_translate [--help-general]
[-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/
CInt16/CInt32/CFloat32/CFloat64}] [-strict]
[-of format] [-b band] [-mask band] [-expand {gray|rgb|rgba}]
[-outsize xsize[%] ysize[%]]
[-unscale] [-scale [src_min src_max [dst_min dst_max]]]
[-srcwin xoff yoff xsize ysize] [-projwin ulx uly lrx lry]
[-a_srs srs_def] [-a_ullr ulx uly lrx lry] [-a_nodata value]
[-gcp pixel line easting northing [elevation]]*
[-mo "META-TAG=VALUE"]* [-q] [-sds]
[-co "NAME=VALUE"]* [-stats]
src_dataset dst_dataset
GDAL 1.8.1, released 2011/07/09
The following format drivers are configured and support output:
VRT: Virtual Raster

GTiff: GeoTIFF
NITF: National Imagery Transmission Format
HFA: Erdas Imagine Images (.img)
ELAS: ELAS
AAIGrid: Arc/Info ASCII Grid
DTED: DTED Elevation Raster
PNG: Portable Network Graphics
JPEG: JPEG JFIF
MEM: In Memory Raster
GIF: Graphics Interchange Format (.gif)
XPM: X11 PixMap Format
BMP: MS Windows Device Independent Bitmap
PCIDSK: PCIDSK Database File
PCRaster: PCRaster Raster File
ILWIS: ILWIS Raster Map
SGI: SGI Image File Format 1.0
SRTMHGT: SRTMHGT File Format
Leveller: Leveller heightfield
Terragen: Terragen heightfield
GMT: GMT NetCDF Grid Format
netCDF: Network Common Data Format
HDF4Image: HDF4 Dataset
ERS: ERMapper .ers Labelled
FIT: FIT Image
RMF: Raster Matrix Format
RST: Idrisi Raster A.1
INGR: Intergraph Raster
GSAG: Golden Software ASCII Grid (.grd)
GSBG: Golden Software Binary Grid (.grd)
R: R Object Data Store
PNM: Portable Pixmap Format (netpbm)
ENVI: ENVI .hdr Labelled
EHdr: ESRI .hdr Labelled
PAux: PCI .aux Labelled
MFF: Vexcel MFF Raster
MFF2: Vexcel MFF2 (HKV) Raster
BT: VTP .bt (Binary Terrain) 1.3 Format
IDA: Image Data and Analysis
GTX: NOAA Vertical Datum .GTX
NTv2: NTv2 Datum Grid Shift
USGSDEM: USGS Optional ASCII DEM (and CDED)
ADRG: ARC Digitized Raster Graphics
BLX: Magellan topo (.blx)
Rasterlite: Rasterlite
SAGA: SAGA GIS Binary Grid (.sdat)
KMLSUPEROVERLAY: Kml Super Overlay
XYZ: ASCII Gridded XYZ
HF2: HF2/HFZ heightfield raster
C:\OSGeo4W\bin>gdal_translate -of vrt -b 1 -mask 1 -expand rgb baru_1.vrt temp.v
rt
Input file size is 49763, 16895
C:\OSGeo4W\bin>gdal2tiles.py -p geodetic -k temp.vrt
Generating Base Tiles:
0...10...20...30...40...50...60...70...80...90...100 - done.
Generating Overview Tiles:
0...10...20...30...40...50...60...70...80...90...100 - done.
C:\OSGeo4W\bin>

Вам также может понравиться