COLOR(red){SIZE(30){RでGIS}}

 ここでは、Rによって実現できるGIS(地理情報システム)というよりはGISc(i)(地理空間情報科学)またはGeoComputation(新計量地理学)の各手法をメモっていく。単なる地図表示は別のページを見てください。

#contents

*地図パッケージ [#hf842fc3]
** ベクトル型 [#y7d974a1]
- [[Rmapを使った地図表示]]
- [[maptools で地図表示]]
- sp
- maps
- RArcInfo
- gmt: GMT 4.0 へのインターフェース 



**ベクトル/ラスター型 [#tf8157c4]
- [[rgdal(GDAL(Geospatial Data Abstraction Library, 地理空間データ抽象ライブラリ)のバインディング)パッケージ中のオブジェクト一覧]]

*空間データ [#x669e88e]
//**ポータルサイト [#m728bb6f]
//-[[The National Map Seamless Server:http://seamless.usgs.gov/index.php]]
// 画像、DEM等。ベクターデータ(USAのみ)。
//-[[カナダ バンクーバー市:http://data.vancouver.ca/]] シェープ、KML, CSV, 画像など。

** シェープファイル & KML & E00[#xdc0ca93]
- 世界
//-- [[DataServer:http://biogeo.berkeley.edu/bgm/gdata.php]] 世界各国
-- [[Shapefiles for Epi Info:http://www.cdc.gov/epiinfo/shape.htm]] 各国の行政界((パブリックドメインではない)) 日本は地方別のみ
--[[SALB - Administrative boundaries:http://www.unsalb.org/]] 2次行政界シェープファイル(一部のみ) 国連&WHOによる提供 要登録
--DCW
--[[FAO GeoNetwork:http://www.fao.org/geonetwork/]] 検索ウィンドーで"GAUL"を検索実行。1990-2008年までのデータあり。非商用。
--[[Global Administrative Areas:http://www.gadm.org/country]] シェープ以外に、ESRI geodatabase, Google Earth .kmz, RData(R の sp パッケージで読み込みできる).
---[[R 関連情報:http://www.gadm.org/node/346#comment-133]]
---[[Provincial Map using GADM:http://r-nold.blogspot.jp/2012/08/provincial-map-using-gadm.html]]
--[[Natural Earth:http://www.naturalearthdata.com/]] 行政界、海岸線、画像
--OSM:Open Street Map --- Croudsourcing で作成された空間データ
---[[CloudMade:http://downloads.cloudmade.com/]] 
--[[Free GIS Datasets:http://freegisdata.rtwilson.com/]]
--[[cshapes:http://cran.r-project.org/web/packages/cshapes/index.html]]  1945年から、2003年までの国境線を、1つのシェープファイルにしたもの。
 [[解説:http://journal.r-project.org/archive/2010-1/RJournal_2010-1_Weidmann+Skrede~Gleditsch.pdf]]
--[[UNEP の原子力発電所データセット(E00):https://stat.ethz.ch/pipermail/r-sig-geo/2011-March/011238.html]]
--[[http://www.diva-gis.org/Data]]

- 日本
--[[地図で見る統計(統計GIS):http://www.e-stat.go.jp/SG1/estat/toukeiChiri.do?method=init]] 「統計GISプラザ」運用終了に伴い、[[政府統計の総合窓口(e-Stat):http://e-stat.go.jp/]]で同様のサービスを提供
 シェープファイル形式の町丁字界とCSV形式の人口・世帯データ・事業所データ(無償)。
--地球地図
--- [[地球地図日本:http://www.gsi.go.jp/kankyochiri/gm_jpn.html]] 行政界・水系・鉄道・道路・空港・人口集中地区 地名等は英語
-- [[国土交通省 国土数値情報:http://nlftp.mlit.go.jp/ksj/]]
---各種の情報があるが、市区町村界は、昭和25年から、5年おきのものが入手可能。
---[[国土数値情報 土地利用細分メッシュデータ(昭和51年度、昭和62年度、平成3年度、平成9年度、平成18年度):http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-L03-b.html]]]
---小学校区(コミュニティの単位として)
---流動データ:パーソントリップ
---シェープファイル形式が用意されていないものは、[[変換ツール:http://nlftp.mlit.go.jp/ksj/jpgis/jpgis_tool.html]]でシェープファイルに変換可能。河川データなどは使用メモリーの設定変更が必要 
---[[土地分類調査・水調査:http://tochi.mlit.go.jp/tockok/inspect/inspect.html]]
--環境省
---[[第6回・第7回自然環境保全基礎調査 植生調査:http://www.vegetation.jp/]] 要アンケート入力。
--[[地震ハザードステーション:http://www.j-shis.bosai.go.jp/download]] 地震動予測地図など


- 中国
-- [[400万分の1 - 行政界の中心点・行政界(県(county)以上),主要河川,主要道路,鉄道,緯線および経線:http://nfgis.nsdi.gov.cn/nfgis/english/default.htm]] フリーで DL 可
-- 上記のデータを使った chinamap という R パッケージが公開されるらしい(UseR! 2010)

- アフガニスタン
--[[Afghan War Diary, 2004-2010:http://wikileaks.org/wiki/Afghan_War_Diary,_2004-2010]] KML ファイル等。
---[[Wikileaks Attack Data by Year and Type Projected on Afghanistan Regional Map:http://www.drewconway.com/zia/?p=2268]]
 R のソースコードあり


- アメリカ合衆国
--[[geodata.gov - U. S. MAPS & DATA:http://gos2.geodata.gov/wps/portal/gos]]
-- [[連邦政府各機関が提供するデータの総合サイト:http://data.gov]] 地理空間情報はシェープ及びKMLで提供。
-- [[アメリカ地質調査所のナショナルアトラス(国勢地図帳)のデータセット:http://nationalatlas.gov/atlasftp.html#layerstable]]
-- ESRI - Geography Network
-- アメリカセンサス局
---[[2007 TIGER/LineR Shapefiles:http://www.census.gov/geo/www/tiger/tgrshp2007/tgrshp2007.html]] シェープファイル形式で提供
--[[The US National Historical GIS:http://www.nhgis.org]] 1790-2000:行政界シェープ、センサスの集計データCSV形式で提供
--[[Atlas of Historical County Boundaries:http://publications.newberry.org/ahcbp/]] カウンティ(郡)の歴史行政界
--[[Washington DC Data Catalog:http://data.dc.gov/]] Shapefile, KML, csv, Exel
-カナダ
-- [[道路ネットワークデータ:http://www.statcan.gc.ca/mgeo/index2-eng.htm]] Statisticis Canada -- シェープファイル, MapInfo(TAB), GML
--ブリティッシュコロンビア州ヴァンクーヴァー市 [[Open Data Catalogue:http://data.vancouver.ca/]] 行政界、地籍、道路、等高線他。KML もサポート。
--オンタリオ州[[トロント市:http://www1.toronto.ca/wps/portal/open_data/open_data_list?vgnextoid=6e886aa8cc819210VgnVCM10000067d60f89RCRD]]
--Ottawa
--Edmonton

--[[ケベック州:http://donnees.gouv.qc.ca/?node=/accueil]]
---[[ケベック市:http://donnees.ville.quebec.qc.ca/]]

--ポータルサイト

-ハイチ
--[[HaitiData.org:http://haitidata.org/]]


-ヨーロッパ
--[[EEA(欧州環境庁) Data Service:http://dataservice.eea.europa.eu/dataservice/]] EEA(ヨーロッパ) 水系(独自形式)、土地利用100m or 200m(Corine land cove 1990/2000: シェープファイル及び画像) 要登録
--[[Corine land cover2000:http://terrestrial.eionet.europa.eu/CLC2000]] ヨーロッパ土地被覆データ2000年(シェープファイル形式)・・・対話型 要登録


-イギリス
--[[http://www.sharegeo.ac.uk/]]
---[[Amateur Mapmaking: Getting Started With Shapefiles:http://www.r-bloggers.com/amateur-mapmaking-getting-started-with-shapefiles/]]
--[[イングランド・ウェールズ歴史的カウンティ(historic county):http://www.county-borders.co.uk/]] 地理座標もあり。KMZ もあり。
--[[OS Open Data :https://www.ordnancesurvey.co.uk/opendatadownload/products.html]] by Ordnance Survey(イギリス陸地測量部)
 シェープファイル形式(行政界)、ポイントデータ(CSV),等高線(DXF)及び画像データ(地形図等)

--[[Ordnance Survey Opendata:http://wiki.openstreetmap.org/wiki/Ordnance_Survey_Opendata]]

--[[John Snow のロンドン・ソーホーにおけるコレラの感染地図:https://stat.ethz.ch/pipermail/r-sig-geo/2008-July/003938.html]] R. Bivand 他の著作のサポートサイトよりシェープファイル形式などで入手可
---[[John Snow’s Cholera data in more formats:http://blog.rtwilson.com/john-snows-cholera-data-in-more-formats/]]
---[[John Snow’s famous cholera analysis data in modern GIS formats:http://www.r-bloggers.com/john-snow’s-famous-cholera-analysis-data-in-modern-gis-formats/]]

--[[Open Geoscience イギリス地質調査所の地質図:http://www.bgs.ac.uk/OpenGeoscience/]]

--[[Census 2012:http://www.ons.gov.uk/ons/guide-method/geography/products/census/spatial/index.html]]
---[[2011 CENSUS OPEN ATLAS PROJECT:http://www.alex-singleton.com/2011-census-open-atlas-project/]]

-フランス
--[[フランス国土地理院:http://www.ign.fr/rubrique.asp?lng_id=FR&rbr_id=2749]]・・・フリーのフランスおよび海外県のシェープファイル(GeoFLAR Departements)およびDEM( BD ALTIR 1000m France continentale)を提供
--パリ市

-イタリア
-- [[イタリア国家統計局:http://www.istat.it/it/strumenti/cartografia]]

- オーストラリア
--[[GeoScience Australia:https://www.ga.gov.au/products/servlet/controller?event=DEFINE_PRODUCTS]] 各種スケール(1:100,000 - 1:5,000,000)。シェープファイル、ESRIパーソナルデータベース、MapInfo, PDF
 行政界、DEM、地形、環境、地質、地球物理、地球化学、地質年代学、表土、経緯線網(グリッド)、ハザード(Geohazards)、測地、原住民生活権保護局(National Native Title Tribunal)

- ニュージーランド
ニュージーランドは公的な空間データがフリーになる模様
-- [[Statistics New Zealand’s Digital Boundaries and standard StreetLink:http://www.stats.govt.nz/statistics-by-area/geography-mapping/digital-boundaries.htm]](シェープファイル・MapInfo TAB 形式)
--[[Mapping New Zealand - a summary:http://blog.thematicmapping.org/2012/11/mapping-new-zealand-summary.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+thematicmapping+%28thematic+mapping+blog%29]]

-南極
--[[南極の地理空間情報データ:http://antarctic.gsi.go.jp/index.html]]

**変換ツール [#fc91ce5b]
-数値地図のデータ形式がXML(JPGIS)形式に変更されたためか、数値地図を直接シェープファイルを変換する無料ツールはない模様。
-[[国土地理院:http://fgd.gsi.go.jp/download/]]から基盤地図情報とそれをシェープファイルに変換するコンバートソフトをダウンロードできます(2009/3/27現在).

**ラスター [#ac466938]
***[[USGS EarthExplorer:http://edcsns17.cr.usgs.gov/EarthExplorer/]] [#uba5f441]
***[[地球環境データセット:http://spatial-analyst.net/wiki/index.php?title=Global_datasets]] 各種グリッドデータの概要と処理方法 [#oa8e03a0]
-地形・行政界
--標高・地形 
--行政界 
--社会経済 
--水資源 
-ウエブサービスによるもの
-リモセン画像
-主題図(派生データ)

***DEM(数値標高モデル) [#a82efae1]
-[[基盤地図情報@国土地理院:http://www.gsi.go.jp/kiban/etsuran.html]] 5m/10m メッシュ。シェープファイルへのデータ変換ツールあり・
-[[ASTER全球3次元地形データ:http://www.gdem.aster.ersdac.or.jp/]] 国産の30メートル解像度のDEM。[[NASA のサイト:https://wist.echo.nasa.gov/~wist/api/imswelcome/]]からもDL可。ただし、アンケートに答える必要がある。 
--[[Global Multi-resolution Terrain Elevation Data 2010 (GMTED2010):http://eros.usgs.gov/#Find_Data/Products_and_Data_Available/GMTED2010]]

-UK
--[[LIDAR Digital Surface Model:http://data.gov.uk/dataset/lidar-digital-surface-model]]

-USA
--[[Open Topography:http://www.opentopography.org/index.php]] LiDAR。現状ではカリフォルニアの一部など。
-NZ
--[[geographx のフリーでDLできるDEM:http://www.geographx.co.nz/downloads.html]]

***[[国土地理院火山地形分類データファイル:http://www1.gsi.go.jp/geowww/Volcano/jpgis/jpgis.html]] [#y32ba768]

***NOAAの夜間照明(画像)TIFF 形式 [#q055e336]
-[[Version 4 DMSP-OLS Nighttime Lights Time Series:http://ngdc.noaa.gov/dmsp/downloadV4composites.html]]
-[[Nightlights:http://stevemosher.wordpress.com/2010/10/08/nightlights/]]
//***地球の月 [#k28713f4]
//-かぐやのデータ2009年11月公開予定

***LANDSAT [#se378509]
-landsat@CRAN


**属性データ [#xa67723f]
 [[GISで利用可能なRパッケージ内データ]]
-アメリカ
--UScensus2000
---[[US Census Spatial and Demographic Data in R: The UScensus2000-suite:http://user2010.org/slides/Almquist.pdf]]
--人口移動
---[[IRS(アメリカ合衆国内国歳入庁) の州間およびカウンティ間移動データ:http://www.irs.gov/taxstats/article/0,,id=212683,00.html]] 最近のものは無料。.dat または csv 形式。
----[[Great Circles US IRS Migration mapping:https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20120822/1c08823c/attachment.pl]]
---[[カウンティ間の労働者の移動データ(2006-2009):http://usercenter.caliper.com/]] Esri personal and file geodatabases for ArcGIS. 要登録。
-イギリス
--[[data.gov.uk:http://data.gov.uk/]] ポータルサイト。GIS 関連の情報をもあり。
--[[census 2011 key statistics and quick statistics bulk data:http://www.nomisweb.co.uk/census/2011/bulk/r2_2]]

-[[Census Open Atlas Project Version Two:http://www.r-bloggers.com/census-open-atlas-project-version-two/]]

*lattice パッケージを使った地図表示 [#c8f99c9a]
http://dsarkar.fhcrc.org/lattice/book/figures.html に多数の例あり(chp.6 fig.6.5,6.11, chp 13など)

**latticeExtra パッケージを使った地図表示 [#y1f3f043]
-[[Customizing Maps in R: spplot() and latticeExtra functions:http://casoilresource.lawr.ucdavis.edu/drupal/node/962]] [#e8ceb870]
 sp, gstat

*GPS [#v6af9871]
-[[gpsbabel を利用:https://stat.ethz.ch/pipermail/r-sig-geo/2007-January/001632.html]]
-maptools の readgps 関数。GPSBabel 経由のデータ読み込み。
-[[Stay on track: Plotting GPS tracks with R:http://rcrastinate.blogspot.jp/2014/09/stay-on-track-plotting-gps-tracks-with-r.html]]

*シェープファイルの新規作成 [#ga9d885a]
-[[[R-sig-Geo] How to create a SpatialPolygonsDataFrame object:https://stat.ethz.ch/pipermail/r-sig-geo/2009-November/006844.html]]
-座標値を含むCSVファイルよりポイントシェープファイルの作成
 library(maptools)
 d<-read.csv(ファイル名)
 coordinates(d)<-c("X座標属性名","Y座標属性名")
 writeShapePoints(d,"シェープファイル出力ファイル")
 

*地図投影変換 [#gdaadb8c]
**rgdal [#g3724558]

**[[proj4(PROJ.4 地図投影変換ライブラリ簡易インターフェース)パッケージ中のオブジェクト一覧]] [#l9cc419c]
 [[投影法のパラメータが検索できるサイト:http://spatialreference.org/]]

*等値線図 [#s9d2c7c4]
**[[シェープファイルへの変換:https://stat.ethz.ch/pipermail/r-sig-geo/2009-September/006533.html]] [#ze38e3f7]
 ContourLines2SLDF(maptools) 関数で変換して、writeOGR(rgdal ) 関数か、writeSpatialShape()関数でシェープに出力
 
*総描 [#bc56d839]
**幾何図形の簡略化 [#id758bb5]
-gSimplify@rgeos
**ラインの簡略化(単純化) [#y71eee53]
-maptools パッケージの thinnedSpatialPoly 関数 --- ポリゴンのラインの簡略化
-PBSmapping パッケージの thinPolys 関数 --- ポリゴンのラインの簡略化
-shapefiles パッケージの dp 関数 --- ラインの簡略化
-[[Alpha Shapes to Polygons:http://rpubs.com/geospacedman/alphasimple]]

*ラベル配置 [#xbe79e7a]
-[[Label placement with spplot and lattice:http://procomun.wordpress.com/2012/12/29/label-placement-lattice/]]

*住所照合 [#x9a72bb0]
-gooJSON の gooadd & goomap 関数
 #位置(地理座標(緯度)を求める)
 uci.add <- gooadd(address=list("千代田区内幸町"))
 goomap(uci.add, key="Google Key")
 goomap(paste(140,40,sep=","), key="Google Key")

 #住所(地理座標(緯度)より求める)
 
*空間検索 [#z70818d5]
**rgeos [#d74f5ca3]
 GEOS パッケージを利用しているので、主要機能をカバーしている

**重心 [#x9b56c6b]
- maptools パッケージ get.Pcent 関数
- PBSMappingパッケージの calcCentroid 関数
-[[Compute Polygon Centroids Using R :http://www.nceas.ucsb.edu/scicomp/usecases/computepolygoncentroids]]

**ポリゴンの面積 [#x7e84e41]
- splancs パッケージ areapl 関数
- gpclib パッケージ area.poly 関数(hole のあるポリゴン対応)
- PBSMappingパッケージの calcArea 関数

**最近接点 [#rf57fef7]
- splancs パッケージ n2dist 関数
- [[1つのポイントセットに別のポイントセットの最近接点を割り当て:http://www.nceas.ucsb.edu/scicomp/usecases/AssignClosestPointsToPoints]]
-spatstat パッケージの nncross 関数

*** K-NN [#c980f3f0]
- spdepパッケージのknearneigh関数

***任意のポイントに近接するラインとの距離と交点 [#xb8c9253]
-dist2Line@geosphere ラインの特定は要プログラミング

***近接するポリゴン情報取得・・・Dorling のカルトグラムやポリゴンの単純化に有用 [#c36d7d8f]
- [[シェープファイルよりポリゴンの近隣情報を取得する R スクリプト:http://www.mapresso.com/docu/neighbours/neighbour-file]]

**ポイント・イン・ポリゴン [#ae2483b6]
- sp パッケージ point.in.polygon 関数
- splancsパッケージ inpip , inout 関数
- splancsパッケージ point.in.polygon 関数

**任意のポリゴンに隣接するポリゴン数 [#rf4c9274]
- spdepパッケージ

**空間インデックス [#d388788c]
-[[SearchTrees:http://cran.at.r-project.org/web/packages/SearchTrees/index.html]] Spatial Search Trees 4分木(quad tree)

-gstat パッケージの predict.gstat 関数が内部で4分木(quad tree)を利用している

*空間解析 [#ff494701]

**ポリゴン・オーバーレイ解析 [#v6ec5f2f]
--[[rgeos:http://cran.at.r-project.org/web/packages/rgeos/index.html]]
 gpclib の代替として、[[GEOS:http://trac.osgeo.org/geos/]] パッケージを利用して、ジオメトリのトポロジーを扱う~
 Maptools の一部の関数でも利用できる。
 libray(stringr) と、"stringr"パッケージを明示的にインストールする必要がある?

--[[Map overlay and spatial aggregation in sp:http://cran.r-project.org/web/packages/sp/vignettes/over.pdf]]

---[[Google Summer of Code '2010 R:http://gsoc2010r.wordpress.com/]]
- CRAN の gpclib パッケージ。[[gpclib(R用汎用ポリゴン・クリッピング・ライブラリ)パッケージ中のオブジェクト一覧]]([[Rmapを使った地図表示]]を参照)。

- spgpc

- PostGIS(RODBC経由)

--PBSMappingパッケージの joinPolys 関数

-[[Spatial Overlays with R - Retrieving Polygon Attributes for a Set of Points:http://thebiobucket.blogspot.jp/2013/06/spatial-overlays-with-r-retrieving.html]]
-[[Follow Up on Spatial Overlays with R &#8211; Getting Altitude for a Set of Points:http://thebiobucket.blogspot.jp/2013/09/follow-up-on-spatial-overlays-with-r.html]]

**ポリゴンの三角形分割 [#va174fa1]
-deldir
-gpclib

**凸包 [#d4899a31]
-CRAN の tripack パッケージ
-PBSMappingパッケージの calcConvexHull 関数

**TIN [#y5449946]
 CRAN の tripack パッケージを利用([[tripack(不規則な間隔の空間データの三角形網の生成)パッケージ中のオブジェクト一覧]], [[deldir(ドロネイ三角形網およびディリクレ(ボロノイ)分割)パッケージ中のオブジェクト一覧]])。delaunay@spatstat(deldir を利用)。geometry パッケージ は最遠ボロノイおよび最遠ドロネイもサポート
-deldir
--[[Voronoi polygons with R:http://www.carsonfarmer.com/?p=455]] Shapefile 出力法
-[[misc3d(雑多な3Dプロット)パッケージ中のオブジェクト一覧]]


**ボロノイ [#h99af677]
-CRAN の tripack パッケージ
--[[tripack を使った六角形グリッドの生成:http://article.gmane.org/gmane.comp.lang.r.geo/2287]] ボロノイ→シェープファイル変換

-CRAN の deldir パッケージ
--[[deldir を使った六角形グリッドの生成:http://article.gmane.org/gmane.comp.lang.r.geo/1275]] ボロノイ→シェープファイル変換

-PBSMappingパッケージの calcVoronoi 関数

-[[擬似ボロノイ(指数の内積および距離の平方によるバイアスの有無あり。バイアスなし距離の平方によあるものが一般的なボロノイ):http://gifi.stat.ucla.edu/psychoR/voronoi/]]

-voronoi パッケージ(deldir 利用)

-[[Images as Voronoi tesselations:http://is-r.tumblr.com/post/36732821806/images-as-voronoi-tesselations]]

*空間サンプリング(標本化) [#nf40483f]
-sp パッケージの spsample 関数.ライン、ポリゴンおよびグリッドを対象とした乱塊法、階層化等.
-splancs パッケージ.spsample より高度な手法をサポートする関数あり.
-[[PSURVEY.DESIGN:http://www.epa.gov/nheerl/arm/analysispages/software.htm]]
 EPAが開発。近くCRANからも入手可能。
-[[Grid size calculator:http://spatial-analyst.net/wiki/index.php?title=Grid_size_calculator]]

*空間内挿・サーフェス(平滑化) [#r13ab5fa]
**ローパスフィルター [#i42c03e6]
-[[Function to smooth grids using n x n window moving average (low-pass filter):https://stat.ethz.ch/pipermail/r-sig-geo/2008-June/003785.html]]
**スプライン [#raf91525]
-akima
-fields
  薄板スプライン(Tps関数)
-MBA(CRAN)
 マルチレベルBスプライン [[MBA パッケージ(マルチレベル B スプライン近似 )パッケージ中のオブジェクト一覧]]

**カーネル密度推定法 [#p8e94983]
-[[spatialkernel パッケージ:http://cran.okada.jp.org/src/contrib/Descriptions/spatialkernel.html]]
--多変量空間点過程における空間隔離のノンパラメトリック推定
 
***属性なし [#icb95366]
-MASS パッケージの kde2d 関数
-kde3d 3次元カーネル密度推定計算 in misc3d パッケージ
-density 関数
--[[density+spatstat による例:https://stat.ethz.ch/pipermail/r-sig-geo/2011-March/011284.html]]
-sm パッケージ

***属性あり [#df81e7ca]
-fields パッケージの smooth.2d 関数
-GeoXp パッケージの densitymap 関数。ESDA対応。
--Laurent, T., A. Ruiz-Gazen, and C. Thomas-Agnan, [["GeoXp: An R Package for Exploratory Spatial Data Analysis":http://www.jstatsoft.org/v47/i02]], Journal of Statistical Software, vol. 47, no. 2, pp. 1?23, 4, 2012.
-sm パッケージ
--[[Clipping a Surface By a Polygon:http://www.r-bloggers.com/clipping-a-surface-by-a-polygon/]] コードあり

**Kriging [#df0c3770]
-[[automap: Automatic interpolation package:http://cran.rstudio.com/web/packages/spatialprobit/index.html]]
--[[Automatic spatial interpolation with R: the automap package:http://www.numbertheory.nl/2013/02/17/automatic-spatial-interpolation-with-r-the-automap-package/]]

***シェープファイルへの変換方法 [#c674fabc]
[[Unexpected parameter problem using rsaga.geoprocessor():https://stat.ethz.ch/pipermail/r-sig-geo/2008-August/004018.html]]

***[[Kernel Density With Lines:http://r-sig-geo.2731867.n2.nabble.com/Kernel-Density-With-Lines-td6407187.html]] psp@spatstat [#ff78b814]

**クリギング [#wdf10ee3]
-fields
-gstat
-[[automap:http://intamap.geo.uu.nl/~paul/Downloads.html]] 自動バリオグラム推定・予測。gstat の開発者の指導を受けて開発
-[[GRASS GIS と R の gstat パッケージを使ったクリギングの例:http://casoilresource.lawr.ucdavis.edu/drupal/node/442]]
-[[Hurricane Sandy Land Wind Speed and Kriging:http://statistical-research.com/hurricane-sandy-land-wind-speed-and-kriging/?utm_source=rss&utm_medium=rss&utm_campaign=hurricane-sandy-land-wind-speed-and-kriging]]

** 傾向面 [#scc3a5b6]
*** グローバル [#d5165cff]
- spatial パッケージ surf.ls 関数

*** ローカル [#vb816d38]
- stats パッケージ loess 関数
-- ヴェナブルズ他『S-PLUS による統計解析』、シュプリンガー・フェアラーク, 517-519 に使用例あり。

**Pycnophylactic Interpolation(密度保持?内挿) [#g5f082c1]
-pycno
--[[Smooth pycnophylactic interpolation for geographical regions:http://www.geog.ucsb.edu/~kclarke/G232/Pycno.pdf]]
--[[A combined pycnophylactic-dasymetric method for disaggregating spatial data:http://ncg.nuim.ie/gisruk/materials/proceedings/PDF/7B5.pdf]]

**[[intamap: procedures for automated interpolation:http://cran.md.tsukuba.ac.jp/web/packages/intamap/]] [#dfba5de6]

*カルトグラム [#p39b8f45]
**連続型面カルトグラム [#tf9d1331]
-[[Rcartogram:http://www.omegahat.org/Rcartogram/]].
[[ソースコード:http://www.omegahat.org/Rcartogram/Rcartogram_0.2-2.tar.gz]] [[Mark Newman のアルゴリズム(Diffusion-based method for producing density-equalizing maps):http://www.umich.edu/~mejn/]] を利用(離散コサイン変換)。開発中。要 libfftw3。[[Windows のバイナリ版:http://www.omegahat.org/R/bin/windows/contrib/2.9/Rcartogram_0.2-2.zip]]((R ver 11 以降は利用できない))。
--[[利用例:http://www.stat.purdue.edu/~mdw/490M/indianamaps.R]]
--ダニエル・ドーリング/マーク・ニューマン/アンナ・バーフォード著, 猪口 孝監修(2009):[[世界の中の日本がわかるグローバル統計地図:http://www.toyoshorin.co.jp/sdetail.php?isbn=9784887217669]] ,東洋書林。RCartogram と同じアルゴリズムを使用。

 library(spdep)
 library(cart)
 example(columbus)
 cartc<-cartogram(columbus["CRIME"])
 cartcj <- SpatialPolygonsDataFrame(cartc, columbus@data, match.ID = TRUE)
 plot(cartcj)

-[[Worldmapper:http://www.worldmapper.org/index.html]] 上の書籍と関連
-[[cart@r-forge:https://r-forge.r-project.org/R/?group_id=901]]
--座標が保持されない
--[[Rでカルトグラムを作る:http://d.hatena.ne.jp/dichika/20110902/1314938228]]
**非連続型面カルトグラム [#ub1691fd]
-[[Rmapを使った地図表示]]に実行例あり。
-state.carto@maps - アメリカの州別人口カルトグラム

**Dorling の円カルトグラム [#f25ff182]
 隣接するポリゴンが共有する辺の長さを求める必要があり、rgeos を使って工夫すればできるかもしれない。[[OpenJump:http://www.openjump.org]]のプラナーグラフを使えば、この辺の長さが求められる。
~または、他のサイトに例のある Forced Based Direction Algorithm を使うと、実現が容易かもしれない。
-参考になるのかもしれない例
--[[Plotting non-overlapping circles...:http://grrrraphics.blogspot.jp/2012/06/plotting-non-overlapping-circles.html]]
--[[Circle packing with R:http://lastresortsoftware.blogspot.jp/2010/07/circle-packing-with-r.html]]

**MDS(多次元尺度構成法)による距離行列(時間距離(時間地図)、費用距離など)のカルトグラム [#z219b9de]
-stats パッケージの cmdscale(古典的 (計量) 多次元尺度構成法)

 利用例

 data(eurodist) #ヨーロッパの主要都市間の距離行列
 loc<-cmdscale(eurodist) #MDS の計算
 plot(loc) #座標のプロット
 text(loc,names(eurodist),col="red") #都市名の表示

#ref(eurodist_mds.png)
図 ヨーロッパの主要都市間の距離行列からの各都市の位置の復元

-INDSCAL: SensoMineR 
-[[ALSCAL:http://www.cuddyvalley.org/psychoR/]]


-参考リンク
--[[Rと多次元尺度法:http://www1.doshisha.ac.jp/~mjin/R/27.pdf]]
--[[Multidimensional Scaling in Quick-r:http://www.statmethods.net/advstats/mds.html]]
**SOM を使ったカルトグラム [#kbd370bc]
**tree map の利用(実際の位置の表示ではない) [#ad544f7a]
**[[Comparing regions: maps, cartograms and tree maps:http://lamages.blogspot.jp/2012/12/comparing-regions-maps-cartograms-and.html]] [#f28d547b]

*フローデータ分析 [#g53d3f9c]
**人口移動分析 [#pd3e1f09]
-[[Using 'S' To Analyze Migration Tables:http://www.geog.ucsb.edu/~tobler/publications/pdf_docs/movement/migration/S_Migration.pdf]] GIS の先駆者、Waldo Tobler によるS言語を使った人口分析。一部の関数を変更することで、R言語で実行可能。
-[[Look Familiar? Mapping in R:http://0utlier.blogspot.jp/2013/05/look-familiar-mapping-in-r.html]]

アクセシビリティ(近接性) [#icde6ace]
-ポテンシャル図
--[[Rを用いての数量化理論&#65533;類の都道府県間人口移動への当てはめ/ 赤坂 克也(総務省統計研修所統計専門官):http://www.sinfonica.or.jp/kanko/estrela/est200906.html]] ESTELA 200906. 青木先生のプログラムを利用されているそうです。

**フードチェーン [#m91477a4]
-[[Reshaping Horse Import/Export Data to Fit a Sankey Diagram:http://blog.ouseful.info/2013/02/18/reshaping-horse-importexport-data-to-fit-a-sankey-diagram/]]

**[[Look Familiar? Mapping in R:http://0utlier.blogspot.jp/2013/05/look-familiar-mapping-in-r.html]] [#j29c7b56]

*ネットワーク解析 [#ue5d1b7c]

** 最短経路探索 [#t4c0da45]
***指定ノード [#kaa85940]
---RGBL@BioConductorの関数
 Dijkstra
*** 全ノードの最短経路探索 [#lcdba6d1]
---RGBL@BioConductorの関数
 Floydのアルゴリズム
-- CRAN の e1071 パッケージ内の allShortestPaths および extractPath 両関数
 ただし、数千ノードまで。Dijkstraではなく、Floydのアルゴリズムを利用。
***位相構造をもたないシェープファイルでも、[[OpenJUMP:http://openjmp.org]]((日本語対応))やこれの旧バージョンベースのフィールドワークGISステーションで、ノードやエッジを生成できる。 [#tb0ff6a9]
**[[shp2graph:https://r-forge.r-project.org/projects/shp2graph/]] [#rb2ec736]
-[[Win Bin:https://sites.google.com/site/neugwr/r-package-shp2graph]]
-[[Converting a spatial network to a graph in R:http://www.warwick.ac.uk/statsdept/useR-2011/abstracts/110311-transform_a_spatial_network_to_a_graph_in_r.pdf]]
--[[slides:http://www.warwick.ac.uk/statsdept/user-2011/TalkSlides/Contributed/17Aug_1600_FocusIV_2-Geospatial_1-Lu.pdf]]

***関連リンク [#c8f01019]
-[[Rでネットワーク解析とGIS:http://www.slideshare.net/Med_KU/20131109tokyor35]]
***文献 [#oc56a8cc]
-[[観光分析 計量的アプローチと応用:http://www.kokon.co.jp/h3155.htm]],張 長平,古今書院, 2013. ---sna, igraph。スクリプトの例なし。

**立地配分問題 [#h5877ed4]
--lpsolve等
--ボロノイ分割(評価)
 tripack
--orloca: The package deals with Operations Research LOCational Analysis models
--BARD: よりよい自動化再配分
--[[Using R to visualize geo optimization algorithms:http://bizcoding.blogspot.jp/2013/05/using-r-to-visualize-geo-optimization.html]]
--[[Using R to visualize geo optimization algorithms:http://bizcoding.blogspot.jp/2013/05/using-r-to-visualize-geo-optimization.html]]

**巡回セールスマン問題 [#a01089ff]
--optim 関数のサンプル参照
--TSP パッケージ([[Concorde:http://www.tsp.gatech.edu/concorde/]])利用
--[[Combinatorial optimization with gaoptim package:http://random-miner.blogspot.jp/2013/05/combinatorial-optimization-with-gaoptim.html]]

**[[河川ネットワーク:http://rpubs.com/geospacedman/runninguphill]] igraph [#t81088a7]

**スタイナー木 [#r6d1d450]
-[[SteinerNet: Steiner Tree Approach for Graph Analysis:http://cran.md.tsukuba.ac.jp/web/packages/SteinerNet/]]
 要 limma from BioConductor

*ポイント・パターン分析 [#u8caa467]
[[Point pattern analysis packages on CRAN:http://www.sal.uiuc.edu/tools/tools-sum/rgeo/rgeo-detail/point-pattern-analysis-packages-on-cran]]
**2次元 [#u09767b6]
-方格法
--spatstat
-最近隣法
--spatstat
-K関数法
--spatial パッケージ
-ユークリッド二次元回帰
--[[kernels, contours, points?:https://stat.ethz.ch/pipermail/r-sig-geo/2008-July/003896.html]]
--[[BiDimRegression: Calculates the bidimensional regression between two 2D configurations:http://cran.md.tsukuba.ac.jp/web/packages/BiDimRegression/]]


-マーク付き点過程
--[[spatstat:http://www.spatstat.org/]]
--[[MarkedPointProcess:http://cran.r-project.org/src/contrib/Descriptions/MarkedPointProcess.html]]
-ads: 空間ポイントパターン分析 パッケージ
--[[ads(空間ポイントパターン分析)のバインディング)パッケージ中のオブジェクト一覧]]
--[[Analysis of Spatial Point Patterns in R:http://www.stats.uwo.ca/faculty/kulperger/S9934a/Computing/Spatstat-pn0y.pdf]] 

**1次元(道路上の点分布(インターチェンジ)など) [#x6967eb1]
-lpp 関数@spatstat

*セントログラフィ [#bcdf95e6]
-[[aspace(セントログラフィ統計量を推定する関数コレクション) パッケージ中のオブジェクト一覧]]

*Spatial Scan Statistics [#p59181ed]
 CRAN で入手できるDClusterでサポート。プレリリース版が公開。[[ここ:http://www.ci.tuwien.ac.at/Conferences/DSC-2003/Drafts/GomezRubioEtAl.pdf]]に紹介あり。[[DCluster(疾病の空間クラスター検出用関数)パッケージ中のオブジェクト一覧]]。

**GAM(Geograpgical Analysis Machine) [#na904a24]
 DCluster の opgam 関数でサポート。GAM/K は GAM 結果にカーネル密度推定をおこなう。
-[[Mapping Hotspots with R: The GAM:http://www.r-bloggers.com/mapping-hotspots-with-r-the-gam/]]
-[[Hot Spot Mapping in R: Illustrating Relative Seasonal Risk:http://uxblog.idvsolutions.com/2011/10/hot-spot-mapping-in-r-illustrating.html]]

*地球統計(Geostatistics) [#b6a4074f]
[[Geostatistics packages on CRAN:http://www.sal.uiuc.edu/tools/tools-sum/rgeo/rgeo-detail/geostatistics-packages-on-cran]]

**[[simProto:http://bolmen.ethz.ch/~simsurvey/simsurvey/simProto.html]] [#i8c1adc9]
 GUIベースの地球統計を使った分析をおこなえる Web サイト(FLASH + PHP を利用)。コマンド入力も可。空間データ(画像を含む)の読込みができる。

**[[A Practical Guide to Geostatistical Mapping:http://spatial-analyst.net/book/]] 地球統計の講義ノート。要登録。 [#qedfb288]
**[[RGeoS:http://cg.ensmp.fr/rgeos/]] rgeos とは別物。 [#l0cf4c39]
**[[IntR &#8211; Interactive GUI for performing geostatistical analysis in R:http://r-video-tutorial.blogspot.jp/2013/06/intr-interactive-gui-for-performing.html]] [#h07f83fa]

*地形解析 [#x886f8bc]
**Map Algebra or Cartographic Model [#bd0a13a9]
-raster パッケージ:@CRAN
--[[raster(地理データ分析・モデルリングのためのラスターデータ処理)パッケージ中のオブジェクト一覧]]
// ダウンロードできない場合は R 内より、以下のコマンドを実行する
// install.packages("raster", repos="http://R-Forge.R-project.org")
---[[Terrain Attributes with the raster package:R Video tutorial for Spatial Statistics:http://r-video-tutorial.blogspot.jp/2012/10/terrain-attributes-with-raster-package.html]]
---[[reading raster data using library(parallel):http://metvurst.wordpress.com/2013/03/04/reading-raster-data-using-libraryparallel-6/]]

--[[R GIS: Terrain Analysis for Polygons as Simple as it Gets!:http://thebiobucket.blogspot.jp/2013/06/r-gis-terrain-analysis-for-polygons-as.html]] terrain 関数(傾斜・斜面方位)

-[[geovec@r-forge:https://r-forge.r-project.org/R/?group_id=1309]] ベクター図形用。raster パッケージより分離

-[[RSAGA(R での SAGA ジオプロセッシングおよび地形解析)パッケージ中のオブジェクト一覧]] 地形解析ソフト [[SAGA:http://www.saga-gis.org/]] のインターフェース
--[[Brenning, A.: Statistical Geocomputing combining R and SAGA: The Example of Landslide susceptibility Analysis with generalized additive Models. :http://jaist.dl.sourceforge.net/project/saga-gis/SAGA%20-%20Documentation/HBPL19/hbpl19_03.pdf]]

-[[spsextante:http://r-forge.r-project.org/projects/spsextante/]] - Sextante の R 用インターフェース - R を [[Sextante 地理情報システム:http://www.sextantegis.com]] 接続することで地理情報分析ツール一式を提供するもので、spgrass6 および RSAGA と機能的に似通っているものである. - 開発中  

//**斜面計算 [#r89c7498]
//--[[斜面計算:https://www.msu.edu/~ashton/classes/866/notes/lab12/slope.R]]
**自動地形分類 [#d5c4093e]
--[[R+ILWIS/SAGA で DEM の解析:http://spatial-analyst.net/wiki/index.php?title=Analysis_of_DEMs_in_R%2BILWIS/SAGA]] 自動地形分類
--[[Automated extraction of geomorphological features using digital elevation data:http://geomorphometry.org/content/geomorphological-mapping]]
--[[R + SAGA + ILWIS + GRASS で地形計測:http://geomorphometry.org/R.asp]] リンク切れ?
--[[Terrain Classification Ideas: Coupling GRASS and R:http://casoilresource.lawr.ucdavis.edu/drupal/node/221]] using cluster package with  GRASS GIS
-- [[Terrain Classification Experiment 2: GRASS, R, and the raster package:http://casoilresource.lawr.ucdavis.edu/drupal/node/993]] PAM(partitioning around medoids) in cluster pkg & Randomforests with GRASS GIS
--[[Terrain Attributes with the raster package:Terrain Attributes with the raster package ]]

**地形シミュレーション [#d9dcdf2a]
***[[DEMsim:http://geomorphometry.org/view_scripts.asp?id=6#]] [#v92ade01]
***[[R/ILWIS SCRIPTS FOR GEOSTATISTICAL SIMULATIONS:http://geomorphometry.org/DEMsims.asp]] [#t185b64e]


**費用距離 [#ebf506c0]
-raster
-gdistance

**[[平均地形曲率推定 Using R and r.mapcalc (GRASS) to Estimate Mean Topographic Curvature:http://casoilresource.lawr.ucdavis.edu/drupal/node/937]] [#p350e377]

**[[地形表示用カラースキームパッケージ:http://r-forge.r-project.org/projects/colourscheme/]] [#h7eb16a8]
--[[記事:https://stat.ethz.ch/pipermail/r-help/2009-November/219528.html]]
--[[解説:http://r-forge.r-project.org/plugins/scmsvn/viewcvs.php/*checkout*/pkg/inst/doc/colourschemes.pdf?rev=19&root=colourscheme]]

**Google Earth [#sff159dc]
-[[Use Case: Spatial R & Google Earth for Terrain Analyses:http://thebiobucket.blogspot.jp/2014/02/use-case-r-google-earth-for-terrain.html]]

**Natural Hazard [#g071cb75]
-[[Creating a map showing land covered by rising sea levels:http://shape-of-code.coding-guidelines.com/2014/09/15/creating-a-map-showing-land-covered-by-rising-sea-levels/]]

*空間的自己相関 [#lc5eb5d3]
 CRAN の spdep パッケージを利用。[[spdep(空間従属性)パッケージ中のオブジェクト一覧]]
**空間ウェイト・マトリックス [#lfa29011]
***cshapes: CShapes データセット及びユーティリティー [#s0b412e8]
[[cshapes(CShapes データセット及びユーティリティー)パッケージ中のオブジェクト一覧]]
**グローバル空間的自己相関 [#d30e994a]
*** Moran のI統計量 [#yd93fe0d]
-spdepの moran(統計量のみ) および moran.test(検定付き) 
-autocorrelation@raster

 式 

#mimetex( 4$I = \frac{\Bigsum_{i=\1}^{n} \Bigsum_{j=\1}^{n}w_{ij}(x_i - \bar{x})(x_j - \bar{x})}{W\Bigsum_{i=\1}^{n}(x_i - \bar{x})})

 ここで 

#mimetex( 4$W = \Bigsum_{i=\1}^{n} \Bigsum_{j=\1}^{n}w_{ij})


*** Geary のc統計量 [#tc728e81]
-spdep の geary(統計量のみ) および geary.test(検定付き)
-autocorrelation@raster

*** グローバル G統計量 [#i8000075]
spdep の globalG.test

*** Join 統計量 [#aaba1ca1]

 spdepのjoincount(統計量のみ)  および joincount.test(検定付き)

**ローカル [#w103431d]
*** Local Moran 統計量 [#w9ef0c9d]
-spdep の localmoran
-autocorrelation@raster

*** Local Geary 統計量 [#kd0f646b]
*** G and G* 統計量 [#k34c8b77]
 spdep のlocalG

** [[Classification Trees and Spatial Autocorrelation:http://thebiobucket.blogspot.jp/2012/03/classification-trees-allowing-for.html]] [#r8369673]

**空間自己回帰 [#rdce1a4c]
*** SAR(同時自己回帰) [#za0806c2]
 spdep のerrorsarlm 

*** CAR(条件付自己回帰) [#uba7142d]
-spdepのspautol
-spatcounts: Spatial count regression
-R 以外では[[GEOBUGS:http://www.mrc-bsu.cam.ac.uk/bugs/winbugs/geobugs.shtml]]  in [[WinBUGS:http://www.mrc-bsu.cam.ac.uk/bugs/winbugs/contents.shtml]] (bugs.r[[WinBugs_from_R]] で利用可能?)

*** SNA パッケージの自己相関分析関数 [#wde2bd17]
 社会ネットワーク分析への応用

***利用例 [#r5be4106]
-[[Constructing Cost Distance in Spatial Models:http://charlotte.utdallas.edu/mgis/prj_mstrs/2007/Summer/Ma/Master_Project55.ppt]] ArcMap+r(D)COM)+ R/spdep


**空間コレログラム [#u3d6be5c]
 spdep の sp.correlogram
-[[Simple Spatial Correlograms for Cross-Country Analysis in R:http://diffuseprior.wordpress.com/2012/05/09/simple-spatial-correlograms-for-cross-country-analysis-in-r/]]

-[[Spatial correlograms in R: a mini overview:http://www.petrkeil.com/?p=1050]]

**空間主成分分析 [#jd444dfb]
-[[Performing a spatial Principal Component Analysis using the R software:http://biom3.univ-lyon1.fr/R/adds/tutorial.pdf]] ade4 パッケージを利用した実行方法の説明。[[利用データ:http://pbil.univ-lyon1.fr/R/html/additifs.html]]。

*Hot Spot [#s426d588]
-[[Mapping research hot-spots:http://spatial-analyst.net/wiki/index.php?title=Mapping_research_hot-spots#Geocoding_addresses]]

*空間スキャン統計量 [#p641867f]
-[[SpatialEpi:http://cran.r-project.org/web/packages/SpatialEpi/SpatialEpi.pdf]]

*空間的相互作用モデル [#u71a3330]
 集計型の主な手法はGLM(一般化線形モデル)で処理可能。他にはニューラルネットを用いるものや遺伝的アルゴリズムを用いるものがある。
 非集約型は?

**古典的重力モデル [#r6767bc1]
***対数線形 [#d8582b86]
lm
**エントロピー最大化モデル [#oa91690d]
 GLMを利用
***無制約型(ポアソン型) [#dfbe2c1d]
***発地制約型 [#u42f8111]
***着地制約型 [#ncfaa94b]
***二重制約型 [#b302b9f9]
-[[Estimating flows between geographical locations: get me started in' spatial interaction modelling:http://www.bartlett.ucl.ac.uk/casa/pdf/paper181]]
***競合着地型 [#z1b2b6f9]
**ニューラルネット [#m6887c3b]
nnet
**ライリー・コンバース・モデル [#q768881e]
**ハフ・モデル [#u7ca739f]
-[[in Deutch:http://www.reymann.eu/wp-content/uploads/2010/06/GravitationsgesetzHuff.R]] 
-http://www.odot.state.or.us/tddtpau/R.html  リンク切れ

*GWR(Geographically Weighted Regression, 地理的加重回帰) [#xe498002]
**spgwr at CRAN [#q08b44e1]
[[spgwr(地理的加重回帰)パッケージ中のオブジェクト一覧]]

-[[残差と予測値の求め方:https://stat.ethz.ch/pipermail/r-sig-geo/2008-June/003765.html]]
-[[GWR 3.0 との相違点:http://web.gg.qub.ac.uk/people/staff/lloyd/LMSAsupp1.pdf]]
-[[グリッドコンピューティングによる並列処理の例:http://ess.si.umich.edu/papers/paper147.pdf]]
-[[Advanced Spatial Analysis With R:http://www.geos.ed.ac.uk/~gisteac/fspat/gwr/prac_4_1.pdf]]

--[[Introduction to Geographically Weighted Regression (GWR) and to Grid Enabled GWR:http://www.esrc.ac.uk/my-esrc/grants/RES-149-25-1041/outputs/read/d68adfdb-50d5-4104-882e-a7028549ee37]]

- [[spgwr(旧):http://spatial.nhh.no/R/gwr/]]
--[[GEOGRAPHICAL STATISTICS & THE GRID:http://www.casa.ucl.ac.uk/barbican/Harris%20&Brunsdon_Geostats&theGrid.pdf]]

**[[gwrr:http://cran.r-project.org/web/packages/gwrr/gwrr.pdf]] Geographically weighted regression with penalties and diagnostic tools [#m6260fdb]

**[[gwr:http://www.ncl.ac.uk/~ngeog/GWR/]] [#m4b75c1b]
-[[もう一つの R 用 GWR:http://ncg.nuim.ie/ncg/GWR/software.htm]] Geographically weighted regression with penalties and diagnostic tools

**[[GWmodel: Geographically weighted models:http://cran.md.tsukuba.ac.jp/web/packages/GWmodel/]] [#y9849ea6]

**MGWR 混合地理的加重回帰 [#c98319d3]
--[[mixed geographically weighted regression model:https://stat.ethz.ch/pipermail/r-sig-geo/2010-January/007318.html]]
**BayesX: R Utilities Accompanying the Software Package BayesX [#r75bb2d4]

**地理的加重判別分析 [#gb3ed956]
 multinom in nnet パッケージ

**gwrr: Fits geographically weighted regression models with diagnostic tools [#zc153f98]

**GWR 関連リンク [#p62652dc]
-[[Geographically Weighted Regression:http://gwr.nuim.ie/]]
-[[空間データのための回帰分析@Hiroshima.R:http://www.slideshare.net/springking/ss-8342938]]

*WSAF(加重空間適応フィルタ) [#cae5d392]

*ベイズ [#n7424093]
-[[spBayes:http://blue.fr.umn.edu/spatialBayes/]]
 階層型空間モデリングパッケージ
-[[spatialprobit: Spatial Probit Models:http://cran.rstudio.com/web/packages/spatialprobit/index.html]]

*空間フィルタリング [#k8b58bfb]
-[[Spatial Filtering Workshop:http://www.spatialfiltering.com]] 空間フィルタリングは地理参照観測点に内在する自己相関を取得する方法。

--spdep の SpatialFilter 関数

**参考 [#wc23f8d5]
-[[SPATIAL STRUCTURE AND SPATIAL INTERACTION: 25 YEARS LATER:http://wigeo1.wu-wien.ac.at/download/prog_code_griffith051206.pdf]] Daniel A. Griffith によう
る。Minitab/SAS/Fortran/R のコード(maptools/spdep)
-[[SAM(Spatial Analysis in Macroecology:http://www.ecoevol.ufg.br/sam/]] 機能豊富、GIS 機能もあり。
- SAS, Matlab 用ツールもあり
- [[Spatial Filtering in ArcGIS with a little help from SAS:http://www.ucl.ac.uk/~ucessan/news/rura-aag2008.pdf]] ArcGIS 用(未公開?)
-[[Spatial Methods:http://www.iccs.org.uk/docs/Spatial%20Workshop%2024-04-09%20-%20David%20Orme.pdf]] 固有値フィルタリング(空間ウェイトマトリックスを一連の固有ベクトルに変換・これらの固有ベクトルをモデルの変数として、ステップワイズで、利用・選択プロセスを用いて重要な固有ベクトルのみを識別し、含める),GWR

*空間的拡散 [#f46a8ff7]
-Walmart
--[[Walmart Invasion:http://bayesianbiologist.com/2012/08/26/walmart-invasion/]] [[スクリプト:https://github.com/cjbayesian/walmart]]
--[[Three ways of visualizing the growth of Walmart:http://blog.revolutionanalytics.com/2012/08/three-ways-of-visualizing-the-growth-of-walmart.html]]

*空間データマイニング [#k69b5443]
**空間データベースとの接続 [#n6d4d4e5]
 [[RODBC]] 経由

***PostgreSQL/PostGIS [#q9fe580c]
[[RとPostGIS]]
-RODBC 経由~

--[[空間ウェイトマトリックス作成例:https://www.stat.math.ethz.ch/pipermail/r-sig-geo/2003-December/000076.html]]~
-Rdbi/RdbiPgSQL

***MySQLの空間エクステンション [#j2debf70]
 [[RMySQL]]パッケージ。
 [[MySQLは4.x より空間データをサポートしている:http://dev.mysql.com/doc/mysql/ja/Spatial_extensions_in_MySQL.html]]が、現状では空間データの格納のみで空間検索や空間解析のあるPostGISとの機能の差は大きい

***SQLITE の空間DBエンジン [#h21d7bb8]
-RSQLite: [[SpatiaLite:http://www.gaia-gis.it/spatialite-2.0/index.html]]を利用する

*WebGIS [#jdb02493]
-[[小地域データにおける地理統計解析とSVGによる可視化:http://www.ism.ac.jp/editsec/toukei/pdf/55-1-085.pdf]]
-[[GoogleMapsを用いた地理統計データの可視化:http://www.ism.ac.jp/editsec/toukei/pdf/55-1-101.pdf]]
-[[R で GeoWeb:http://giswin2.geo.tsukuba.ac.jp/mapfish/MapFish-1.1/client/geoweb/hgeo/]]
-[[シェープから SVG に変換:https://stat.ethz.ch/pipermail/r-sig-geo/2011-March/011138.html]]

*ESDA(探索的空間分析) [#t4d2ec1c]
-[[GeoXp:http://w3.univ-tlse1.fr/GREMAQ/Statistique/geoxppageR.htm]]
 分析結果(モランプロット、バリオグラムクラウド、ローレンツ曲線、ジニ、カーネル密度推定等)と地図データとの相互リンクが可能。主成分分析等による次元縮約テクニックの機能も持つ。[[GeoXp (対話型探索的空間データ分析)パッケージ中のオブジェクト一覧]]

-[[Visualizing Data Patterns with Micromaps:http://www.crcpress.com/product/isbn/9781420075731]]

-rgr: The GSC Applied Geochemistry EDA Package


*SMALL AREA ESTIMATION [#u52a23ad]
-経験ベイズ
--empbaysmooth in DCluster

-[[SAE(Software for small-area estimation):http://www.bias-project.org.uk/software/#sae]]
--[[Tutorial: Small Area Estimation with R at useR! 2008:http://www.statistik.uni-dortmund.de/useR-2008/tutorials/gomez.html]] SAE を利用

*時間地理学 [#ha024ed8]
-[[geolabs:http://geolabs.wordpress.com/]] Time Geography
--GPS を利用
---[[R: Interactive 3D WebGL plot of time-space cube with RGL:http://geolabs.wordpress.com/2012/04/24/r-interactive-3d-webgl-plot-of-time-space-cube-with-rgl/]] WebGL 版

*時空間分析 [#i4eb0b6b]
-[[CRAN Task View: Handling and Analyzing Spatio-Temporal Data:http://cran.r-project.org/web/views/SpatioTemporal.html]]
-[[spacetime:http://cran.md.tsukuba.ac.jp/web/packages/spacetime/]] パッケージ
-[[Spatio-temporal data analysis in R and links to GIS:http://www.geog.uu.nl/~pebesma/wun/pres.pdf]]
-[[Manipulating Spatio-temporal Environmental Data in R using the ncdf package:http://www.user2007.org/program/presentations/hobbs.pdf]]

*空間的マイクロシミュレーション [#n9f40f08]
-[[sms:http://cran.r-project.org/web/packages/sms/]]
--[[R library for spatial microsimulation:http://www.dimitrisk.gr/blog/2012/10/18/r-library-for-spatial-microsimulation/]]

*リモセン [#xb0a116d]
-[[unsupervised classification of a Landsat image in R: the whole story or part two:http://www.geo-affine.org/2012/08/01/unsupervised-classification-of-a-landsat-image-in-r-the-whole-story-or-part-two/]] raster package

*GISソフトウェアとの接続・統合 [#k72225c5]
 R(D)COM や RServe およびその他のソフトを利用したものを以下に挙げる。

**ArcGISのVBAよりR(D)COM経由でRの各空間分析パッケージを使用する [#f5a389d0]
 [[VBAによるArcGISプログラミングガイド:http://www.amazon.co.jp/exec/obidos/ASIN/4893699741/qid%3D1085627780/250-0209684-4221857]]などを参考にして、[[S+ArcView:http://www.msi.co.jp/splus/products/addon/SArcView.html]]のようなものができるかも?

 [[ArcGIS で R]]

**Grass GIS [#ie91bf73]
-[[R と GRASS GIS]]
-[[GRASS and RStat:http://josef.fsv.cvut.cz/WIKI/grass-osgeo/index.php/GRASS_and_Rstat]] 
-[[GRASSとRを用いたリモートセンシング情報と家畜の空間行動情報の統合と解析:http://www.osgeo.jp/wordpress/wp-content/uploads/2009/04/esj56_foss4g_kawamura.pdf]] PLS, SPGRASS, GSTAT(クリギング), spgwr の利用例(コードあり)

** RPyGeo: Python 経由で、R で、ArcGIS のジオプロセッシング [#j1e31d61]

**[[SDAM 空間データ分析マシン:http://giswin.geo.tsukuba.ac.jp/teacher/murayama/sdam/]] [#edc303df]
 GeoComputaion用。R(D)COM と JCOMを使ってGeoTools(Java 用GISエンジン)と統合。テレビ東京の情報番組で使われた(ただしRを利用していないカルトグラムの機能だが)。
 現在新バージョンを開発中。

**[[歴史統計GeoWeb]] [#we2b648b]
 Ajax + PHP + R

**[[Q(uantum) GIS:http://www.qgis.org]] との連動 [#f5e66dbb]
QGIS は Python をサポートしているので、この機能を使って R([[Rpy:http://rpy.sourceforge.net/]] を利用) とリンケージを図っている。
最近活動が活発になっているようだ。

-[[BridgeToR - Quantum GIS Wiki:http://wiki.qgis.org/qgiswiki/BridgeToR]] QGIS-R Binding Team による QGIS と R リンケージに関する情報サイト
-[[R-QGis Data Transfer:http://wiki.qgis.org/qgiswiki/R-QGis_Data_Transfer]] QGIS と R 間のデータのやりとりに関する情報
-[[Qgis Basic Stats Plugin:http://www.maths.lancs.ac.uk/~rowlings/Software/Spqr/]] R を使って QGIS に基本統計分析機能(要約・ヒストグラム・散布図・線形モデル)を追加する QGIS プラグイン。Rpy を利用。
-[[manageR:http://www.geog.uvic.ca/spar/carson/]] R を使って QGIS に統計分析機能を追加する QGIS プラグイン。Rpy, NumPy を使用。

-[[Arlat - RapLoa Analysis Tool:http://www.maths.lancs.ac.uk/Software/Arlat/]] 
 空間疫学関係の分析システム。Rpy(Python) を利用して QGIS との統合を実現する。当初は [[OpenEV:http://openev.sourceforge.net/]] + RServe でシステムを開発。~

-[[FOSS4G2007の発表:http://www.foss4g2007.org/presentations/view.php?abstract_id=135]]
-[[スライド:http://www.foss4g2007.org/presentations/viewattachment.php?attachment_id=151]]
-[[プログラムソース:http://www.maths.lancs.ac.uk/Software/Arlat/Releases/arlat_1.1.tar.gz]]
-[[参考文献:http://www.bepress.com/cgi/viewcontent.cgi?article=1103&context=jhubiostat]]
-[[QGIS and Python and R and statistics from QGIS Blog:http://blog.qgis.org/?q=node/51]]

**[[DIVA GIS:http://udig.refractions.net/gallery/cgiar/]](国際ポテトセンター) [#q8eeecaa]
 Eclipse のRCPを利用したオープンソース GIS、uDig のプラグイン。空間分析に R を利用している

*地理空間情報ウェブサービスとの連携 [#x6a3bc44]
**[[R で GeoWeb]] [#dbc8e286]
**地図画像 [#m7ebca3d]
-WMS(Web Mapping Service)
 rogr, RCURL
**空間データ取得 [#k78ff687]
-WFS
 rogr, RCURL
-[[Web Maps:https://r-forge.r-project.org/projects/webmaps/]] 点、線、面を HTML に表示

-SOS
--[[SOS4R:http://giv-wikis.uni-muenster.de/agp/pub/Main/SpatioTemporalDataInRWorkshop2011/ST-Data-in-R-2011_Nuest_sos4R.pdf]]

**分散型ジオプロセッシング [#x6d4f5e1]
-WPS(Web Processing Service)
 [[INTMAP(Interoperability and Automated Mapping):http://www.intamap.org]] [[ヨーロッパのプロジェクト:https://stat.ethz.ch/pipermail/r-sig-geo/2008-November/004564.html]]

**空間パネルモデル [#x1b56eb5]
-[[splm: econometric analysis of spatial panel data:http://r-forge.r-project.org/projects/splm/]] Win バイナリもあり。
--[[ドキュメント:http://www.agrocampus-ouest.fr/math/useR-2009//slides/Millo+Piras.pdf]]


**空間分析のための並列計算 [#j75cfa88]
-[[Parallel Computing for spatial data analysis:http://geostat2010.info/node/421]] snow を利用

**FlowViz [#g66fe288]
-[[Great circles, raster, sp and lattice:http://www.r-bloggers.com/great-circles-raster-sp-and-lattice/]]
-[[Mapped: British, Spanish and Dutch Shipping 1750-1800: http://spatialanalysis.co.uk/2012/03/mapped-british-shipping-1750-1800/]]  ggplot2, maptools, geosphere and png
-[[Automating great-circle map production in R:http://stackoverflow.com/questions/7238284/automating-great-circle-map-production-in-r?rq=1]]
-[[USING GREAT CIRCLES AND GGPLOT2 TO MAP ARRIVAL/DEPARTURE OF 2014 US OPEN TENNIS PLAYERS:http://patilv.com/USOpenCountries/]]

**Mapping Tips [#vc0c9b74]
-[[半透明地図の重ね合わせ:https://stat.ethz.ch/pipermail/r-sig-geo/2012-April/014925.html]]

*Open Data Hack [#j47121f8]
-[[An exercise in R using local open data:http://chrisladroue.com/2012/06/an-exercise-in-r-using-local-open-data/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+ChristopheLadroueR+%28Christophe+Ladroue+%C2%BB+R%29]]

*Google Earth/KML による可視化 [#w1d311d0]
-[[plotKML:http://plotkml.r-forge.r-project.org/]] プリズムマップもサポート
-[[R2G2: Converting R CRAN outputs into Google Earth:http://cran.md.tsukuba.ac.jp/web/packages/R2G2/]]
--[[Displaying Your Data in Google Earth Using R2G2:http://schamberlain.github.com/2012/10/R2G2-package/]]

*順位・規模の法則、ランク・サイズルール [#uc211c8d]
-[[City Size and SUHI:http://www.r-bloggers.com/city-size-and-suhi/]]

*アニメーション [#rc1845aa]
-[[MORTALITY RATE OF CHILDREN UNDER 5 AND GENDER DIFFERENCES:http://patilv.com/MortalityUnder5/]]
-[[Generate GIS integrated animation:Gun deaths animation - R:http://www.econometricsbysimulation.com/2013/03/generate-gis-integrated-animationgun.html]]
-[[Animated map of 2012 US election campaigning, with R and ffmpeg:http://civilstat.com/?p=876&utm_source=rss&utm_medium=rss&utm_campaign=animated-map-of-2012-us-election-campaigning-with-r-and-ffmpeg]]
-[[Animated choropleths using animation, ggplot2, rCharts, googleVis and Shiny to visualize violent crime rates in different US States across 5 decades:http://www.analyticsandvisualization.com/2014/01/animated-choropleths-using-animation.html]]

*フィールドワーク [#md0de208]
-[[Displaying spatial sensor data from Arduino with R on Google Maps:Displaying spatial sensor data from Arduino with R on Google Maps]]

*書籍(オンラインも含む) [#rccebc22]
+Springer より、R を使った空間統計の本(Bivand, R. S.(sp, spdep, maptools, spgwr), Pebesma, E.J.(gstat) and Gomez-Rubio, V.(2008):[[Applied Spatial Data Analysis with R:http://www.springer.com/statistics/statistical+theory+and+methods/book/978-0-387-78170-9]] [[サポートサイト((IE7 or Firefox. IE6 では正しく表示されない。)):http://www.asdar-book.org/]]
)が2008/09出版。
--[[One-day introductory course on Spatial Data Analysis with the R Programming Language:http://www.bias-project.org.uk/ASDARcourse/]] by Roger Bivand and Dr. Virgilio Gomez-Rubio in Imperial College London
 小地域推定(Small Area Estimation)など
+Crawley, M. J.  :[[The R Book:http://as.wiley.com/WileyCDA/WileyTitle/productCd-0470510242.html]]--[[The R Book:http://as.wiley.com/WileyCDA/WileyTitle/productCd-0470510242.html]] の[[24章が空間統計(Spatial Statistics):http://books.google.co.jp/books?id=8D4HVx0apZQC&pg=PP1&dq=the+r+book&as_brr=3]]で、点過程、クリギング等が扱われている。
+[[Spatial Statistical Data Analysis for GIS Users:http://www.amazon.co.jp/gp/product/1589481615/ref=oss_product]], ESRI PRESS, 2011.  DVD(本文+スクリプト+データ)のみの販売。R+SPDEP+SPLANCS も利用.
+古谷知之著[[『Rによる空間データの統計分析』:http://www.asakura.co.jp/books/isbn/978-4-254-12815-4/]],朝倉書店,2011.
--[[空間の統計学, ESTRELA 2009年8月〜2010年7月 :http://web.sfc.keio.ac.jp/~maunz/wiki/index.php?ESTRELA%CF%A2%BA%DC]] の書籍化
+[[Displaying time series, spatial and space-time data with R: stories of space and time:http://oscarperpinan.github.com/spacetime-vis/]]
+[[Introduction to visualising spatial data in R:http://eprints.ncrm.ac.uk/3295/]]


*関連情報 [#x00297bb]
-[[R Spatial Projects:http://sal.uiuc.edu/csiss/Rgeo/]] Rおよび他の関連ソフトを使った空間分析のリソースガイド
-[[R-sig-Geo:https://stat.ethz.ch/pipermail/r-sig-geo/]] 地理空間データの処理と解析を話題にするメーリングリスト。アーカイブあり。
-[[newsgroup のアーカイブ:http://news.gmane.org/gmane.comp.lang.r.geo]]
-[[r-spatial-devel:http://sourceforge.net/mail/?group_id=84357]] 開発者向けメーリングリスト
-[[r-spatial:http://sourceforge.net/projects/r-spatial/]] R package for spatial data classes.
-[[aRT - API R-TERRALIB:http://www.est.ufpr.br/art/]] INPE(ブラジル国立宇宙研究所)などが開発したオープンソースのGISクラス [[TerraLib :http://www.terralib.org/]] を利用する R 用パッケージ。現在Linux用のソースを公開。 [[aRT(API R-TERRALIB)パッケージ中のオブジェクト一覧]]
-[[Geographic Data Analysis Using R:http://geography.uoregon.edu/geogr/index.html]]「統計」地理学と空間統計。スクリプト、データ(CSV)、リンクがある。スクリプトを使った出力例はない。GeogR のリソース。
-[[地理空間分析のためのベクタデータモデル共通基盤 - sp パッケージのクラスとメソッド -:http://jasp.ism.ac.jp/kinou2sg/contents/tanimura-20061209.pdf]] 谷村先生の sp パッケージの紹介
-pgirmess: 生態学のデータ分析 というのにもいくつか入っています。コレログラムなどの描画に便利。

-[[Spatio-temporal data analysis in R and links to GIS:http://www.geog.uu.nl/~pebesma/wun/pres.pdf]] 各空間分析パッケージの概要
-[[Review of Cluster Analysis Software:http://www.naaccr.org/filesystem/pdf/Final%20Report%20Cluster%20Software%202004-09-27%20rev.pdf]] Luc Anselin による spdep, spatial,splancs,spatstat 各パッケージと他のツールの比較レビュー
-[[Ecology and epidemiology in R: Spatial analysis:http://www.apsnet.org/education/AdvancedPlantPath/Topics/RModules/Doc3/]] ポイントパターン、バリオグラム、空間的自己相関など
-[[Analysing spatial point patterns in 'R':http://www.csiro.au/resources/pf16h.html]] spatstat を使ったポイントパターンのワークショップ。詳細なドキュメントあり。
-[[Political Science 867 Spatial Modeling Winter 2005:http://people.cas.sc.edu/darmofal/teach/SpatialModelingSyllabus.pdf]] 政治地理学
-[[QGIS Labs:http://www.plantsciences.ucdavis.edu/plant/qgislabs.htm]] QGIS+GRASS GIS + R(LAB6-10) FOSS GIS のみによるGIS演習
--Lab 6 基本属性データ操作
--Lab 7 R を用いた QGIS の機能補完
--Lab 8 空間補間
--Lab 9 QGIS へのデータの取り込み方法
--Lab 10 属性と位置の結合

-[[R Wiki の空間データ tips:http://wiki.r-project.org/rwiki/doku.php?id=tips:spatial-data]]
-[[An educational resource about spatial statistics and geostatistics:http://www.ai-geostats.org/index.php?id=home0]] Rの紹介あり。
-[[e-workshop on spatial analysis with R 2009/01-03:https://stat.ethz.ch/pipermail/r-sig-geo/2008-July/003947.html]]
-[[Marine Geospatial Ecology Tools:http://code.env.duke.edu/projects/mget]]

-[[rgis:http://r-forge.r-project.org/projects/r-gis/]] 
以下のパッケージを開発中。
--gdistance:GIS
--raster:ラスター型データ処理
--remotesensing:リモセン
--cropsim および dismo:生物多様性。

-[[R-Forge の空間データと統計のサイト:http://r-forge.r-project.org/softwaremap/trove_list.php?form_cat=353]]
--[[空間データクラス:http://r-forge.r-project.org/softwaremap/trove_list.php?form_cat=354]]
--[[疾病地図化と空間データ分析:http://r-forge.r-project.org/softwaremap/trove_list.php?form_cat=358]]
--[[生態学分析:http://r-forge.r-project.org/softwaremap/trove_list.php?form_cat=359]]
--[[点分布分析:http://r-forge.r-project.org/softwaremap/trove_list.php?form_cat=356]]
--[[空間データの入出力:http://r-forge.r-project.org/softwaremap/trove_list.php?form_cat=355]]
--地球統計
-[[Hydrology in R:http://source.ggy.bris.ac.uk/wiki/Hydrology_in_R]]
  R を使った水文学分析の事例。パッケージ(TOPMODEL 、RHydro)やデータなど。
-[[R-Project spatial statistics software packages:http://www.spatialanalysisonline.com/output/html/R-Projectspatialstatisticssoftwarepackages.html]] 豊富な地理空間情報の分析手法の情報サイト [[Geospatial Analysis:http://www.spatialanalysisonline.com/output/]] の R の空間分析パッケージの要約ページ。
-[[R による空間分析図例集:http://r-spatial.sourceforge.net/gallery/]] スクリプトのコードあり
-[[PySAL:http://geodacenter.asu.edu/pysal]] 空間計量経済学の権威、 Anselin が中心になって開発している Python で書かれた空間分析及び空間計量経済学分析ツール(空間ウェイト, 計算幾何学, ESDA, 空間計量経済学, クラスタリング及び spatial dynamics)。 RPy(2) 経由で、R と連動できる?
-[[spatial-analyst.net:http://spatial-analyst.net/wiki/index.php?title=Main_Page]] R 言語を中心として、GRASS, SAGA も利用する地理空間情報分析の情報サイト。GEOSTAT という主にヨーロッパで開催されている博士課程の院生向けサマースクールの情報もある。

--[[GEOSTAT 2011:http://www.uni-koblenz-landau.de/landau/fb7/umweltwissenschaften/landscape-ecology/Teaching/geostat]] 動画像あり。
--[[GEOSTAT 2012 Munster:http://geostat-course.org/Muenster_2012]]
--[[GEOSTAT 2013 Quebec City:http://geostat-course.org/Quebec_2013]]

-[[An alternative approach for object oriented classification of historical black & white aerial photographs using GRASS GIS and R:http://brehat.ec-nantes.fr/ogrs2009/download/5-An%20alternative%20approach%20to%20object%20oriented%20classification%20of%20historicalblack%20&%20white%20aerial%20photographs%20using%20GRASS%20GIS%20and%20R.pdf]] RWeka,rpart
-[[Introduction to Applied Spatial Analysis :https://www.msu.edu/~ashton/research/pubs/cstat_pres.pdf]] R による空間分析の概要(点分布分析(ホットスポット検出)・地球統計等)
-[[Geospatial Use Cases and Case Studies:http://www.nceas.ucsb.edu/scicomp/solutions]]
-[[Geospatial Data Processing in R Geospatial Data Processing in R -:http://www.nceas.ucsb.edu/scicomp/RSpatialTalk2009/RSpatialProgrammingPres.pdf]] sp パッケージの SpDistsN1() 関数による最近接点の例、ベクターデータ&ラスターデータ

-[[dylan's blog:http://casoilresource.lawr.ucdavis.edu/drupal/blog/2]] 土壌分野中心に、 R を使った空間分析の話題がある。GRASS GIS の話題もあり。
-[[GEOGRAPHY AND REGIONAL DEVELOPMENT:http://www.ic.arizona.edu/ic/geog657/classnotes.html]]
--[[GEOGRAPHY AND REGIONAL DEVELOPMENT 657:http://www.ic.arizona.edu/ic/geog657/classnotes/geog657-chapterfive.pdf]] R(spdep, DCluster)他


-[[Geographic Information Systems (GIS) in Public Health Research Spatial Statistics:http://www.hsph.harvard.edu/research/gis/spatial-statistics]] mgcv, semipar, field, geoR, geoRglm

-[[Open Source/Non-Commercial GIS Products:http://www.spatialanalysisonline.com/SoftwareFree.pdf]] r spatial, spdep

-[[Using open source Geographical Information Systems and statistical tools to develop a web based Spatial and Statistical Analysis and Interpretation (SASAI) Engine for archaeological use.:http://www.ervinaydin.com/osgistat.pdf]]

-[[Open Source Geospatial Software - an Introduction Spatial Programming with R:http://www.maths.lancs.ac.uk/~rowlings/Teaching/OSgeo/Nov2008/SpatialProgramming/R/slides.pdf]]

-[[R Spatial Tips:http://rspatialtips.org.uk/]] R Spatial Data Hints and Tips

-[[Spatial Analysis | Spatial data visualisation, analysis and resources:http://spatialanalysis.co.uk/]] R による空間分析・可視化のトピックもある。
--[[Improved Tree Maps with R:http://spatialanalysis.co.uk/2011/08/improved-tree-maps-with-r/]]

-[[R で空間統計:http://blogs.yahoo.co.jp/shohei_tokyo_1980/32194420.html]] 
-[[Workshop Applied Spatial Statistics in R:http://www.people.fas.harvard.edu/~zhukov/spatial.html]]
-[[Spatial data and GIS (Geographical Information Systems):http://zoonek2.free.fr/UNIX/48_R/16.html#12]] 最近隣点、最小木、ボロノイ
-[[日本地図を描く(japan_ver62.shpから):http://www.eeso.ges.kyoto-u.ac.jp/emm/?page_id=643]]
-The Big List Of Free GIS Programs ? S Through Z
--[[A Through H:http://freegeographytools.com/2008/the-big-list-of-free-basic-gis-programs-a-through-h]]
--[[I Through M:http://freegeographytools.com/2008/the-big-list-of-free-gis-programs-i-through-m]]
--[[ N Through R:http://freegeographytools.com/2008/the-big-list-of-free-gis-programs-n-through-r]]
--[[S Through Z:http://freegeographytools.com/2008/the-big-list-of-free-gis-programs-s-through-z]]
-[[R GIS:http://www.geopacific.org/opensourcegis/r/r-gis]]
-[[StarSpan:http://starspan.projects.atlas.ca.gov/doku/doku.php]] "designed to bridge the raster and vector worlds of spatial analysis using fast algorithms for pixel level extraction from geometry features (points, lines, polygons)"
-[[Function to Collect Geographic Coordinates for IP-Addresses:http://www.r-bloggers.com/function-to-collect-geographic-coordinates-for-ip-addresses/]]

-[[Before, During and After: The Richest 1 Percent:http://chartsnthings.tumblr.com/post/15908760587/before-during-and-after-the-richest-1-percent]] NY Times, maptools

-[[Berlin's children:http://factbased.blogspot.com/2012/02/berlin-children.html#more]]

-[[Great Maps with ggplot2:http://spatialanalysis.co.uk/2012/02/great-maps-ggplot2/]]

-Maps with R
--[[(I):http://www.r-bloggers.com/maps-with-r-i/]]
--[[(II):http://www.r-bloggers.com/maps-with-r-ii/]]
--[[(III):http://www.r-bloggers.com/maps-with-r-iii/]]

-[[Creating beautiful maps:http://www.r-bloggers.com/creating-beautiful-maps-with-r/]]

-[[The undiscovered country &#8211; a tutorial on plotting maps in R:http://www.r-bloggers.com/the-undiscovered-country-&#8211;-a-tutorial-on-plotting-maps-in-r/]]

-[[Coming of Age:R and Spatial Data Visualisation:http://spatialanalysis.co.uk/2012/01/coming-age-spatial-data-visualisation/]]

-[[GME - Geospatial Modeling Environment:http://www.spatialecology.com/gme/index.htm]]
--[[r.deldir:http://www.spatialecology.com/gme/rdeldir.htm]]

-[[R Maps@theBioBucket*:http://thebiobucket.blogspot.jp/search/label/Maps?max-results=6]]

-[[3D Maps in R:http://r-nold.blogspot.jp/2012/06/talking-about-elevation-one-can-also.html]]

-[[Notes from A Recent Spatial R Class I Gave:http://davenportspatialanalytics.squarespace.com/blog/2012/6/19/notes-from-a-recent-spatial-r-class-i-gave.html]]


-[[Gis and r:http://wiki.osgeo.jp/index.php/Gis_and_r]]

-[[Using R as a GIS:https://sites.google.com/site/rodriguezsanchezf/news/usingrasagis]]

-[[R Analytical Environment:http://www.nceas.ucsb.edu/scicomp/usecases]]有益な事例

-Wine MAP
--[[Napa Valley wine tasting map: interactive version:http://blog.revolutionanalytics.com/2012/07/napa-valley-wine-tasting-map-interactive-version.html]]
--[[The World Wine Web:http://geospaced.blogspot.co.uk/2012/07/world-wine-web.html]]

-[[Mapping Bike Accidents in R:http://bayesianbiologist.com/2012/09/14/mapping-bike-accidents-in-r/]]

-[[Spatial data in R:http://r-spatial.sourceforge.net/]] sp周りのマニュアルやグラフィックの例などが便利。

-[[rasterVis to the rescue:http://www.r-bloggers.com/rastervis-to-the-rescue/]]

-[[Watch Sandy in “R” (Including Forecast Cone):http://rud.is/b/2012/10/28/watch-sandy-in-r-including-forecast-cone/]]

-[[Modis R: Package tutorial:http://www.r-bloggers.com/modis-r-package-tutorial/]]

-[[Mapping Current Average Price Per Sqft for Rentals by Zip in San Fran:http://stathack.wordpress.com/2012/11/26/mapping-current-average-price-per-sqft-for-apartments-in-san-fran/]]

-[[Read and write ESRI Shapefiles with R:http://www.nceas.ucsb.edu/scicomp/usecases/ReadWriteESRIShapeFiles]] rgdal, maptools, PBSmapping 

-[[Earthquakes Over the Past 7 Days:http://statistical-research.com/earthquakes-over-the-past-7-days/?utm_source=rss&utm_medium=rss&utm_campaign=earthquakes-over-the-past-7-days]]

-[[Mapping Primary Care Trust (PCT) Data:http://blog.ouseful.info/2012/12/07/mapping-primary-care-trust-pct-data-part-1/]]

-[[Visualizing Baltimore 3.1: Crime and Vacant Properties, Neighborhood Level, Bit More Polished:http://www.obscureanalytics.com/2012/12/11/visualizing-baltimore-3-1-crime-and-vacant-properties-neighborhood-level-bit-more-polished/]]

-[[US State Maps using map_data():http://is-r.tumblr.com/post/37708137014/us-state-maps-using-map-data]]

-[[Creating 2011 Census Output Area Change Maps Using R:http://www.alex-singleton.com/creating-2011-census-output-area-change-maps-using-r/]]

-Maps in R
--[[Introduction - Drawing the map of Europe:http://www.milanor.net/blog/?p=534]]
--[[Plotting data points on a map:http://www.milanor.net/blog/?p=594]]
--[[choropleth maps:http://www.milanor.net/blog/?p=634]]

-[[Measuring the Gerrymander with spatstat:http://is-r.tumblr.com/post/38619550409/measuring-the-gerrymander-with-spatstat]]

-[[Convert OpenStreetMap Objects to KML with R:http://thebiobucket.blogspot.jp/2012/12/convert-openstreetmap-objects-to-kml.html]]

-[[R Video tutorial for Spatial Statistics:http://r-video-tutorial.blogspot.jp/]]

-[[Earthquakes in Netherlands:http://wiekvoet.blogspot.jp/2013/02/earthquakes-in-netherlands.html]]

-Twitter
--[[Twitter Languages in New York:http://spatialanalysis.co.uk/2013/02/mapped-twitter-languages-york/]]

--[[The arteries of the world, in Tweets:http://blog.revolutionanalytics.com/2013/05/the-arteries-of-the-world-in-tweets.html]]


-[[Computing Maritime Routes in R:http://freigeist.devmag.net/economics/683-computing-maritime-routes-in-r.html]]

-[[http://github.com/jasondavies/conrec.js:http://www.r-bloggers.com/starting-analysis-and-visualisation-of-spatial-data-with-r/]]

-[[Using R ― Working with Geospatial Data:http://mazamascience.com/WorkingWithData/?p=1277]]

-[[Biodiversity Visualizations using R:http://vijaybarve.wordpress.com/2013/04/29/gsoc-proposal-2013-biodiversity-visualizations-using-r/]]

-[[Stamen maps with spplot:http://procomun.wordpress.com/2013/04/24/stamen-maps-with-spplot/]]

-[[A Shiny web app to find out how much medical procedures cost in your state:http://simplystatistics.org/2013/05/08/a-shiny-web-app-to-find-out-how-much-medical-procedures-cost-in-your-state/]]

-[[BISON USGS species occurrence data:http://schamberlain.github.io/2013/05/rbison/]]

-[[Dialect Survey Results:http://spark-1590165977.us-west-2.elb.amazonaws.com/jkatz/SurveyMaps/]] by R/Shiny

-[[R2leaflet (v0.1) &#8211; make interactive online maps from R:http://robertgrantstats.wordpress.com/2013/06/11/r2leaflet-v0-1-make-interactive-online-maps-from-r/]] leaflet.js

-[[More code and images from “Displaying time series, spatial and space-time data with R”:http://procomun.wordpress.com/2013/06/13/displaying-spatial-time/]]

-[[ggplot2 Choropleth of Supreme Court Decisions: A Tutorial:http://trinkerrstuff.wordpress.com/2013/07/05/ggplot2-chloropleth-of-supreme-court-decisions-an-tutorial/]]

-[[Loading Multiple Shapefiles to the R-Console Simultaneously:http://thebiobucket.blogspot.jp/2013/09/loading-multiple-shapefiles-to-r.html]]

-[[R でGIS:http://www.slideshare.net/hoshida/rgis]]

-[[Thirteen lines of code:http://www.milanor.net/blog/?p=1054]]

-[[R: Mapping Super Typhoon Yolanda (Haiyan) Track:http://alstatr.blogspot.jp/2013/11/r-mapping-super-typhoon-yolanda-haiyan.html]]

-[[Introducing CrimeMap &#8211; A Web App Powered by ShinyApps!:http://blenditbayes.blogspot.jp/2013/11/introducing-crimemap-web-app-powered-by.html]]

-[[Tim Hortons Density:http://rmflight.github.io/posts/2013/06/timmysDensity.html]]

-[[R Spatial Cheatsheet:http://www.maths.lancs.ac.uk/~rowlings/Teaching/UseR2012/cheatsheet.html]] ----This cheatsheet is an attempt to supply you with the key functions and manipulations of spatial vector and raster data. It does not have examples for you to cut and paste, its intention is to provoke the "Oh yes, that's how you do it" thought when stuck. 

-[[Creating an Interactive Map of Craft Breweries in VA Using the plotly R Package:http://spatioanalytics.com/2014/07/18/creating-an-interactive-map-of-craft-breweries-in-va-using-the-plotly-r-package/]]

-[[Mapping every IPv4 address:http://datadrivensecurity.info/blog/posts/2014/Sep/mapping-ipv4/]]

-[[List of spatial analysis software:http://en.wikipedia.org/wiki/List_of_spatial_analysis_software]]



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS