[OSGeoJapan-discuss] 【質問】CRSのカスタムについて

OHTSUKA Ko-hei kochizufan @ gmail.com
2016年 2月 18日 (木) 19:03:11 PST


大塚と申します。

ascファイル形式と言うのを調べてみましたが、

http://desktop.arcgis.com/ja/desktop/latest/manage-data/raster-and-images/esri-ascii-raster-format.htm#GUID-D0420D89-9419-4910-8B4F-B8BF7B8B4EC3

こんな感じのところ、拝見したファイルはヘッダがなくいきなりデータから始まってたので、

ncols 625
nrows 694
xllcorner 895000
yllcorner 515000
cellsize 5000
nodata_value -9999
0 0 0 0 0 0 0...

みたいな感じでヘッダを与えてみたところ、QGISでは添付ファイルのような感じで読めるように
なりました。
CRSは林さんのを使ってます。

地形が写ってるわけではなさそうなので、いまいちズレてるズレてないの判断がつかないのですが、
ヘッダを入れる前はそもそも砂嵐だったので、参考までに...


2016年2月18日 22:02 Takeshi OSAWA <arosawa @ gmail.com>:

> 林さま
>
> さっそくありがとうございます。試してみましたが、状況は変わりません。
>
> 見本データ(オリジナル)をアップしてみましたので、もしお時間がありましたら
> 見ていただけませんか?
> http://firestorage.jp/download/86c8aca260a917a174612b52e9e04ea92e7c9873
>
> 2016年2月18日 21:50 hayashi @ apptec.co.jp <hayashi @ apptec.co.jp>:
>
> 大澤@農環研さま
>>
>> データがないのでズレというのがどのようなものかわかりませんが、
>>
>>
>> http://spatialreference.org/ref/sr-org/8357/ によると、
>>
>> +proj=aea +lat_1=28 +lat_2=12 +lat_0=20 +lon_0=78 +x_0=2000000
>> +y_0=2000000 +ellps=WGS84 +datum=WGS84 +units=m +no_defs
>>
>> が正式なパラメータのようです。
>>
>> +ellps=WGS84
>>
>> を追加してみるとか。。
>>
>>
>> (2016/02/18 19:30), Takeshi OSAWA wrote:
>>
>>> OSGeoのみなさま
>>>
>>> お世話になります。大澤@農環研です。
>>> カスタムCRS設定についての質問です。
>>>
>>>
>>> 東南アジア(インド)から入手したascデータを投影するため、CRSを設定したいのですが、重なるは重なるのですが、意味不明なずれが発生してしまいます。
>>> 先方から受け取った情報は以下です。
>>>
>>> ----------------
>>> Image Type:    ASCII, Band Sequential  (BSQ)
>>> File Size:    1055618 bytes
>>> Data Type:    32 Bit Integer (Maximum value: 10000)
>>> Units of data:    Fraction of grid cell area
>>> Number of Lines:    694
>>> Number of Samples per line:    625
>>> Cell Size:    5000 Meters
>>> Geographical extent:    India
>>> Projection:    Albers Conical Equal Area
>>> Geographical extent:    India
>>> Projection Unit:    Meters
>>> Spheroid:    WGS 84
>>> Datum:    WGS 84
>>> Projection Parameters:    Lat of 1st Std Parallel: 28:00:00.000000 N
>>>      Lat of 2nd Std Parallel: 12:00:00.000000 N
>>>      Lon of Central Meridian: 78:00:00.000000 E
>>>      Lat of Origin of Projection: 20:00:00.000000 N
>>>      False Easting at Central Meridian: 2000000.000000 meters
>>>      False Northing at Origin: 2000000.000000 meters
>>> Lower Left X coord:    895000 meters
>>> Lower Left Y coord:    515000 meters
>>> ----------
>>>
>>> EPSG102028のAsia_South_Albers_Equal_Area_Conicをリファレンスに、
>>> +proj=aea +lat_1=7 +lat_2=-32 +lat_0=-15 +lon_0=125 +x_0=0 +y_0=0
>>> +datum=WGS84 +units=m +no_defs
>>>
>>> をカスタムCRSで
>>> +proj=aea +lat_1=28 +lat_2=12 +lat_0=20 +lon_0=78 +x_0=2000000
>>> +y_0=2000000
>>> +datum=WGS84 +units=m +no_defs
>>> と書き換えています。バージョンは2.8を使っています。
>>>
>>> 対応についてご教示いただければ幸いです。
>>> また、他に必要な情報がありましたらご指示ください。
>>>
>>>
>>> よろしくお願いします。
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> OSGeoJapan-discuss mailing list
>>> OSGeoJapan-discuss @ lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/osgeojapan-discuss
>>>
>>
>>
>> --
>> --------------------------------------------------
>> OSGeo.JP
>>  http://www.osgeo.jp
>> --------------------------------------------------
>> APPLIED TECHNOLOGY CO.,LTD.
>>
>> MANAGER
>> Engineering headquarters
>> Geospatial Information Section
>> GIS Expert
>>
>> HIROFUMI HAYASHI
>> hayashi @ apptec.co.jp
>>
>> Umeda Center Bldg. 2-4-12 Nakazakinishi
>> Kitaku, Osaka 530-0015 JAPAN
>>
>>   Tel: 06-6373-6121
>>   Fax: 06-6373-6126
>> --------------------------------------------------
>> _______________________________________________
>> OSGeoJapan-discuss mailing list
>> OSGeoJapan-discuss @ lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/osgeojapan-discuss
>
>
>
>
> --
> -----------------T.OSAWA<arosawa @ gmail.com>
>
> _______________________________________________
> OSGeoJapan-discuss mailing list
> OSGeoJapan-discuss @ lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/osgeojapan-discuss
>
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://lists.osgeo.org/pipermail/osgeojapan-discuss/attachments/20160219/bf3fb59d/attachment-0001.html>
-------------- next part --------------
テキスト形式以外の添付ファイルを保管しました...
ファイル名: スクリーンショット 2016-02-19 12.00.58.png
型:         image/png
サイズ:     123906 バイト
説明:       無し
URL:        <http://lists.osgeo.org/pipermail/osgeojapan-discuss/attachments/20160219/bf3fb59d/attachment-0001.png>


More information about the OSGeoJapan-discuss mailing list