Ocena wątku:
  • 0 Głosów - 0 Średnio
  • 1
  • 2
  • 3
  • 4
  • 5
Tiff limit exceeded - czy da się ominąć?
01-12-2011, 14:29, (Ten post był ostatnio modyfikowany: 01-12-2011, 15:33 {2} przez cooleq.)
#6
RE: Tiff limit exceeded - czy da się ominąć?
W man nie widzę takiej opcji http://www.gdal.org/gdalbuildvrt.html i u mnie to nie działa w efekcie drukuje opcje:

Kod:
root@debian:/mnt/mapy/temp# gdalbuildvrt --format GTiff -srcnodata 0 ../mosaic.vrt ../mosaic/*.tif
Format Details:
  Short Name: GTiff
  Long Name: GeoTIFF
  Extension: tif
  Mime Type: image/tiff
  Help Topic: frmt_gtiff.html
  Supports: Create() - Create writeable dataset.
  Supports: CreateCopy() - Create dataset by copying another.
  Supports: Virtual IO - eg. /vsimem/
  Creation Datatypes: Byte UInt16 Int16 UInt32 Int32 Float32 Float64 CInt16 CInt32 CFloat32 CFloat64

<CreationOptionList>
  <Option name="COMPRESS" type="string-select">
    <Value>NONE</Value>
    <Value>LZW</Value>
    <Value>PACKBITS</Value>
    <Value>JPEG</Value>
    <Value>CCITTRLE</Value>
    <Value>CCITTFAX3</Value>
    <Value>CCITTFAX4</Value>
    <Value>DEFLATE</Value>
  </Option>
  <Option name="PREDICTOR" type="int" description="Predictor Type"/>
  <Option name="JPEG_QUALITY" type="int" description="JPEG quality 1-100" default="75"/>
  <Option name="ZLEVEL" type="int" description="DEFLATE compression level 1-9" default="6"/>
  <Option name="NBITS" type="int" description="BITS for sub-byte files (1-7), sub-uint16 (9-15), sub-uint32 (17-31)"/>
  <Option name="INTERLEAVE" type="string-select" default="PIXEL">
    <Value>BAND</Value>
    <Value>PIXEL</Value>
  </Option>
  <Option name="TILED" type="boolean" description="Switch to tiled format"/>
  <Option name="TFW" type="boolean" description="Write out world file"/>
  <Option name="RPB" type="boolean" description="Write out .RPB (RPC) file"/>
  <Option name="BLOCKXSIZE" type="int" description="Tile Width"/>
  <Option name="BLOCKYSIZE" type="int" description="Tile/Strip Height"/>
  <Option name="PHOTOMETRIC" type="string-select">
    <Value>MINISBLACK</Value>
    <Value>MINISWHITE</Value>
    <Value>PALETTE</Value>
    <Value>RGB</Value>
    <Value>CMYK</Value>
    <Value>YCBCR</Value>
    <Value>CIELAB</Value>
    <Value>ICCLAB</Value>
    <Value>ITULAB</Value>
  </Option>
  <Option name="SPARSE_OK" type="boolean" description="Can newly created files have missing blocks?" default="FALSE"/>
  <Option name="ALPHA" type="boolean" description="Mark first extrasample as being alpha"/>
  <Option name="PROFILE" type="string-select" default="GDALGeoTIFF">
    <Value>GDALGeoTIFF</Value>
    <Value>GeoTIFF</Value>
    <Value>BASELINE</Value>
  </Option>
  <Option name="PIXELTYPE" type="string-select">
    <Value>DEFAULT</Value>
    <Value>SIGNEDBYTE</Value>
  </Option>
  <Option name="BIGTIFF" type="string-select" description="Force creation of BigTIFF file">
    <Value>YES</Value>
    <Value>NO</Value>
    <Value>IF_NEEDED</Value>
    <Value>IF_SAFER</Value>
  </Option>
  <Option name="ENDIANNESS" type="string-select" default="NATIVE" description="Force endianness of created file. For DEBUG purpose mostly">
    <Value>NATIVE</Value>
    <Value>INVERTED</Value>
    <Value>LITTLE</Value>
    <Value>BIG</Value>
  </Option>
</CreationOptionList>

Używam wersji gdal 1.7.3-6 Za stara?

EDIT:
RAYO: czyli masz zrobione piramidki 2 4 8 w pojedynczych plikach a te mniejsze w zbiorczym pliku dla mozaiki? Nie wiem czy dobrze zrozumiałem. A jeśli są dla pojedynczych to są one jako osobne pliki czy może wewnętrznie bo słyszałem o takich ale nie wiem jak je robić.

EDIT2:
Robiłem też operację w win w qgis, tu jest nowszy gdal chyba 1.8. Stworzył plik ponad 6 GB jednak się wysypał przez nieobsługiwany format.


Wiadomości w tym wątku
RE: Tiff limit exceeded - czy da się ominąć? - przez cooleq - 01-12-2011, 14:29

Podobne wątki
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
Question Wydruk mapy do tiff Tomasz Wojtan 1 464 22-04-2024, 00:18
Ostatni post: jerresso
  Export do TIFF widoku mapy outsider 3 5 331 06-08-2020, 10:31
Ostatni post: xmaziax

Skocz do: