タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

GDALに関するmonomotiのブックマーク (2)

  • Zoomable Image with GDAL and Leaflet – IDRE Sandbox

    Thanks to Pedro’s post, I was finally able to create a zoomable image viewer using GDAL and Leaflet. First, you must make sure that your image adhere’s to the tile size chart: Zoom Level Pixel size 0 256 1 512 2 1024 3 2048 4 4096 5 8192 6 16384 7 32768 8 65536 Then make sure that the larger side of your image (width or height) is sized to the exact pixel size.  To do so, run the following command

  • gdal/ogr小技集 – 月の杜工房

    何かと便利なgdal/ogrユーティリティコマンドの小技集です。 とりあえず筆者が遭遇したものを適当に書いてあります。 詳細はgdalのドキュメントを参照してください。 ベクタデータの座標で、経緯度⇔座標値の変換をするにはogr2ogrコマンドで、フォーマットの変換と同時に座標値も変換することができます。 以下の例は、平面直角座標9系のdgnファイルをGRS80の経緯度のkmlファイルに変換する例です。 > ogr2ogr -f KML -s_srs EPSG:2451 -t_srs EPSG:4019 out.kml in.dgn ShapeファイルならShapeファイルの場合、.prjファイルがあって正しく座標系の情報が記述されていれば、 -s_srsオプションを省略することができます。 gdalがサポートするファイル形式のサポート状況を調べるにはgdalがサポートするフォーマットの一

    gdal/ogr小技集 – 月の杜工房
    monomoti
    monomoti 2013/03/23
    小技集、本当に大感謝です。
  • 1