ååãGeoãªãã¼ã¿ãã¼ã¹ãä½ã£ãã®ã§ã ä»åã¯ããã«Geoãªãã¼ã¿ãå ¥ãã¦ã¿ããã¨æãã¾ã OSMï¼ãªã¼ãã³ã¹ããªã¼ããããï¼ã®ãã¼ã¿ãããã¦ã¿ã¾ãã OSMã¯èª°ã§ã使ç¨ã§ãã¦ãã ãã§ãç·¨éã§ããå°å³ãªã®ã§ãã ãã¡ããã¿ãã§ãã ããã¦ãã®OSMãç·¨éãã人ããããã¼ã¨å¼ã¶ãããã§ããå°å³å¥½ãã£ã¦ãã£ããå¤ããã§ãã ä»ã«ãå½åæ°å¤æ å ±ã¨ãèªç¶ç°å¢æ å ±GISã¨ãã ã¿ãã§ãã¦ã³ãã¼ãã§ããGISãã¼ã¿ã¯ããããããããã§ãã ãããçµã¿åãããã°ãããããé¢ç½ããã§ãã osm2pgsqlã¤ã³ã¹ãã¼ã« OSMã®ãã¼ã¿ãæ±ãããã«ãosm2pgsqlãå ¥ãã¾ãã 説æãè±èªã ããã OSMã®ãã¼ã¿ãPostGISã®DBã«ãããããã®ãã¼ã«ã£ã¦ãã¨ã§ãããã¨æãã¾ãããã osm2pgsqlãå ¥ããããã¯ãä»ã«ãããããã¤ã³ã¹ãã¼ã«ãå¿ è¦ãªã®ã§ããã ãã®è¾ºãããã¾ãç解ã§ãã¦ããªãã®ã§ã
æ°æ¥åãpandas ãå©ç¨ãã¦å°çæ å ±ãããããããã¨ããé常ã«ããã¨ã³ããªã翻訳ããã¦ããã postd.cc ä¸ã®ã¨ã³ããªãåå¦çãæéã«è¦ããã pd.read_html ã .str ã¢ã¯ã»ãµã使ãã°ãã£ã¨ç°¡åã«æ¸ããã¨æãããããããã¯æ¬é¡ã§ãªãã pandas ã§å°çæ å ±ãæ±ãå ´åãgeopandas ã¨ããæ¡å¼µããã±ã¼ã¸ãå©ç¨ããã¨ä¾¿å©ãªããããã®ä½¿ãæ¹ãæ¸ããããã¾ããå¦çã Python ã§å®çµããããããQGIS ã§ã¯ãªã Bokeh ã§ãããããããã geopandas ã®ã¤ã³ã¹ãã¼ã« pip ã§ã $ pip install geopandas geopy ãã®ã¨ã³ããªã§ã¯ä¾åããã±ã¼ã¸ã§ãã shapelyãgeopy ã®æ©è½ãå©ç¨ãããshapely ã¯èªåçã«ã¤ã³ã¹ãã¼ã«ãããã¯ãã ããgeopy ã«ã¤ãã¦ã¯ä¸ã®ããã«å¥éã¤ã³ã¹ãã¼ã«ãå¿ è¦ã å°çæ å ±ã®èª
ã¢ãæè¨ã£ã½ããã®ãä½ã£ã¦ã¿ã¾ããã example 解説 åºæ¬çã«ã¯ä¸è¨äºã®ã³ã¼ããã¡ããã¡ããã£ã¨æ¹è¯ããã ãã§ãã ãD3.jsã SVGã§å°çåãæã å°è»¸ãå¾ããªããSVGã§å°çåã表示ãã ãã¤ã³ãã¨ãã¦ã¯å°å½¢ãè£ç¨(ã°ã¬ã¼)ã¨è¡¨ç¨(ãã³ã¯)ã«ï¼éã«æç»ãã¦ããã¨ããã§ããããã clipAngleã¡ã½ããã使ã£ã¦æç»ãããç¯å²ãå¤ãã¦ãã¾ãã ã»è£ç¨å°å½¢æç» var projection180 = d3.geo.orthographic() .scale(windowWidht/4) .rotate([0,0,0]) .translate([windowWidht / 2, windowHeight / 2]) .clipAngle(180); var backPath = d3.geo.path().projection(projection180); //å°å½¢(è£) va
ãã¡ãã®è¨äºãåèã«ãã¦ãæ±äº¬é½ã®ããªã´ã³ãæãã¦ã¿ã¾ãã D3.jsã¨TopoJSONã§å°å³ãä½ã éãã¯ï¼ç¹ã§ãã ã¤ã®ãªã¹ã§ã¯ãªããæ±äº¬é½ãã®ããªã´ã³ã使ã TopoJSON ã«å¤æãã GeoJSON ã使ã ä½æãããã®ã¯ä¸è¨ã®ãã¼ã¸ã«ç½®ãã¦ã¿ã¾ããã http://s.kitazaki.name/apps/tokyo-polygon/ ãï¼ï¼åºãã¨ã島ããé¨é¤ããã®ãã¼ã¿ã¯ãããªã表示ãããã¨æãã¾ããã ãå ¨åãã®ãã¼ã¿ã¯å¤§ããã®ã§ããªãæéããããã¾ãã ãã㯠TopoJSON ã使ãåæ©ä»ãã«ãªãããã§ãã ç®æ¬¡ ãã¼ã¿ãæ¢ã ãã¼ã«é¡ã®ã¤ã³ã¹ãã¼ã« ãã¼ã¿ã®å¤æ ãã¼ã¿ã®èªã¿è¾¼ã¿ ããªã´ã³ã®è¡¨ç¤º ããªã´ã³ã®ã¹ã¿ã¤ã«è¨å® ã¤ã³ã¿ã©ã¯ã·ã§ã³ã®è¿½å çµããã« ãã¼ã¿ãæ¢ã ã¾ãã¯å¢çç·ãæã¤ããªã´ã³ãã¼ã¿ãæ¢ãã¾ãã å½å交éçã®å½åæ¿çå±ã¨ããé¨ç½²ããå½åæ°å¤æ å ±ãã¦ã³ã
ãã®è¨äºã¯FOSS4G Advent Calendar 2013 11/30ã®ãã®ã§ãã 2011ã2012ã¨ã¿ãªããã®ãååã§éå¬ãããã¨ãåºæ¥ã¾ããããããã¨ããããã¾ããä¸é¨ã«ã好è©ã«ã¤ããæ¬å¹´ãéå¬ããã¦ããã ãã¾ãã ä»å¹´ããã¨ä¸ã¶æãæ¯æ¥ã¸ãªã¸ãªãã¾ãããã æ¬æ¥ã¯12/1ããéå§ã§ãããç¥ FOSS4Gåå¼·ä¼ï¼ å½é¤¨ éå¬ã¨è´ãã¾ãã¦11/30ããã¹ã¿ã¼ãã¨è´ãã¾ãã æ¬æ¥ã®ã³ã³ãã³ã æ¬å¹´ã®è©±é¡ã¨è¨ãã°ãç§çã«ã¯QGIS 2.0ã§ãã QGIS 2.0ã§æ¥æ¬èªãã»ã¼åé¡ãªã使ãã¦ãã¾ããã便å©ãªæ©è½ãããããå¢ãã¦ãã¾ããæ°æ©è½ã«ã¤ãã¦è©³ããã¯QGIS Manualå ã®What's new in QGIS 2.0ãè¦ã¦ã¾ãããã ã¾ã ã¾ã QGIS 2.0ã®ä½¿ç¨æãä¼ããè¨äºã¯å°ãªãã§ãããããã®ã¢ããã³ãã«ã¬ã³ãã¼ãæ©ä¼ã«å°ãã§ãå å®ããããã¨æã£ã¦ããã¾ãã æ°æ©è½ï¼Î±ã§å
FrogApps æè¡ããã°å§ãã¾ããï¼ RailsãiOSãHTML5ã®æ å ±ãçºä¿¡ä¸!! â http://qiita.com/teams/frogapps ããæ°å¹´ãä½ç½®æ å ±ã使ã£ãã¢ããªã»ãµã¼ãã¹ãå¢ãã¾ããããGPSããåå¾åºæ¥ã緯度çµåº¦ã ãã§ã¯ãã¼ã¿ã¨ãã¦ä½¿ãã«ããäºãããã¾ãã Googleã®Geocodingãµã¼ãã¹ãªã©ã§ã緯度çµåº¦ããä½æã¸ã®å¤æãã§ãã¾ããã件æ°ãé度ã®åé¡ãããã¾ãã ããã§ãå½å交éçã®ãã¼ã¿ãå ã«ã緯度çµåº¦ããä½æã¸ã®å¤æãè¡ã£ã¦ã¿ã¾ãããã å½åæ°å¤æ å ±ãã¦ã³ãã¼ããµã¼ãã¹ http://nlftp.mlit.go.jp/ksj/gml/datalist/KsjTmplt-N03.html ããå ¨é½éåºçãé¸æãææ°ã®æ å ±ãå ¨é½éåºçåé¸æãã¾ãã PostGISã®ã»ããã¢ãã http://trac.osgeo.org/postgis/wiki/
1. å°å ¥ GeoJSON ã¯æ§ã ãªå°ççãã¼ã¿æ§é ãã¨ã³ã³ã¼ãããããã®ãã©ã¼ãããã§ãã GeoJSON ãªãã¸ã§ã¯ãã¯ã¸ãªã¡ããªããã£ã¼ãã£ã¼ããããã¯ãã£ã¼ãã£ã¼ã®ã³ã¬ã¯ã·ã§ã³ã表ç¾ãã¾ãã GeoJSON 㯠Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, ãã㦠GeometryCollection ã¨ããã¸ãªã¡ããªã¿ã¤ãããµãã¼ããã¾ãã GeoJSON ã®ãã£ã¼ãã£ã¼ã¯ã¸ãªã¡ããªãªãã¸ã§ã¯ãã¨è¿½å å±æ§ã ãããããã£ã¼ãã£ã¼ã®ãªã¹ãã表ç¾ãããã£ã¼ãã£ã¼ã³ã¬ã¯ã·ã§ã³ãå«ã¿ã¾ãã å®å ¨ãª GeoJSON ã®ãã¼ã¿æ§é ã¯ãã¤ã (JSONã®ç¨èªã§ãã) ãªãã¸ã§ã¯ãã§ãã GeoJSON ã§ã¯ããªãã¸ã§ã¯ãã¯ååã¨å¤ã®çµ (ã¡ã³ãã¼ã¨ãå¼ã³ã¾ã) ã®éåã§æ§æããã¾ãã ã¡ã³ãã¼ã®åå
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}