一般社団法人世界メッシュ研究所

世界网格编码相关函数

计算世界网格编码(JIS X0410向上兼容)的函数群在多个语言中均有开发。在使用此世界网格编码相关函数群的时候,需注明此软件是日本科学技术振兴机构PRESTO“关于全球系统可持续性评价平台的研究”的研究成果,由世界网格研究所提供。在使用此包的过程中产生的任何损失均和软件工作者无关,使用此包即视为已承认此包的无保证性。
Dr. Aki-Hiro Sato <akihiro@fttsus.jp> (c) Research Institete for World Grid Squares, 2015-2020 All Right reseserved.

R言語 (Version 1.5 : Released on 20 November 2019)

Javascript (Version 1.1 : Released on 21 November 2019)

PHP (Version 1.0 : Released on 7 February 2017)

Python (Version 1.4 : Released on 14 January 2020)

Java (Version 1.0 : Released on 1 January 2019)

http://www.fttsus.jp/worldmesh/R/worldmesh.R

http://www.fttsus.jp/worldmesh/js/worldmesh.js

http://www.fttsus.jp/worldmesh/php/worldmesh_php.zip

http://www.fttsus.jp/worldmesh/python/worldmesh.py

http://www.fttsus.jp/worldmesh/java/worldmesh.java

内容函数一览

meshcode_to_latlong(meshcode)
从网格编码meshcode计算位置(latitude,longitude)
meshcode_to_latlong_NW(meshcode)
从网格编码meshcode计算其西北角的位置(latitude,longitude)
meshcode_to_latlong_SW(meshcode)
从网格编码meshcode计算其西南角的位置(latitude, longitude)
meshcode_to_latlong_NE(meshcode)
从网格编码meshcode计算其东北角的位置(latitude, longitude)
meshcode_to_latlong_SE(meshcode)
从网格编码meshcode计算其东南角的位置(latitude, longitude)
meshcode_to_latlong_grid(meshcode)
从网格编码meshcode计算网格四角对应的纬度和经度(latitude0, longitude0, latitude1, longitude1)
cal_meshcode(latitude,longitude)
从位置(latitude,longitude)计算3级(1km)网格编码
cal_meshcode1(latitude,longitude)
从位置(latitude,longitude)计算1级(80km)网格编码
cal_meshcode2(latitude,longitude)
从位置(latitude,longitude)计算2级(10km)网格编码
cal_meshcode3(latitude,longitude)
从位置(latitude,longitude)计算3级(1km)网格编码
cal_meshcode4(latitude,longitude)
从位置(latitude,longitude)计算4级(500m)网格编码
cal_meshcode5(latitude,longitude)
从位置(latitude,longitude)计算5级(250m)网格编码
cal_meshcode6(latitude,longitude)
从位置(latitude,longitude)计算6级(125m)网格编码

位置信息编码(日本国土交通省国土地理院)对应函数

日本国土交通省国土地理院提案的位置信息编码(根据已有的基于ITU-T H.642建议的ucode)计算世界网格编码的函数群正在开发。关于位置信息编码的详情请参照国土交通省国土地理院位置信息编码的网页。

R语言(Version 1.1 : Released on 19 December 2015)

Javascript(Version 1.0 : Released on 11 April 2017)

PHP(Version 1.0 : Released on 11 April 2017)

Python(Version 1.0 : Released on 17 March 2017)

http://www.fttsus.jp/worldmesh/R/gsiucode.R

http://www.fttsus.jp/worldmesh/js/gsiucode.js

http://www.fttsus.jp/worldmesh/php/gsiucode_php.zip

http://www.fttsus.jp/worldmesh/python/gsiucode.py

内容函数一览

latlong_to_ucode(latitude, longitude)
从位置(latitude, longitude)计算地点信息编码(基于ITU-T H.642建议)
extract_latlong_from_ucode(ucode)
从位置信息编码(基于ITU-T H.642建议)抽出位置(latitude,longitude)(解像度精确至0.1秒)
ucode_to_meshcode(ucode)
从位置信息编码(基于ITU-T H.642建议)计算3级(1km)网格编码
ucode_to_meshcode1(ucode)
从位置信息编码(基于ITU-T H.642建议)计算1级(80km)网格编码
ucode_to_meshcode2(ucode)
从位置信息编码(基于ITU-T H.642建议)计算2级(10km)网格编码
ucode_to_meshcode3(ucode)
从位置信息编码(基于ITU-T H.642建议)计算3级(1km)网格编码
ucode_to_meshcode4(ucode)
从位置信息编码(基于ITU-T H.642建议)计算4级(500m)网格编码
ucode_to_meshcode5(ucode)
从位置信息编码(基于ITU-T H.642建议)计算5级(250m)网格编码
ucode_to_meshcode6(ucode)
从位置情报信息(基于ITU-T H.642建议)计算6级(125m)网格编码