{"id":8002,"date":"2019-08-23T05:02:56","date_gmt":"2019-08-22T20:02:56","guid":{"rendered":"http:\/\/www.gisdeveloper.co.kr\/?p=8002"},"modified":"2020-05-28T10:17:36","modified_gmt":"2020-05-28T01:17:36","slug":"geojson-format%ed%98%95%ec%8b%9d","status":"publish","type":"post","link":"http:\/\/www.gisdeveloper.co.kr\/?p=8002","title":{"rendered":"GeoJSON Format(\ud615\uc2dd)"},"content":{"rendered":"<p>\uc6f9\uc5d0\uc11c \uc704\uce58 \ub370\uc774\ud130\ub97c \ub85c\uceec\uc774\ub098 \uc11c\ubc84\ub2e8\uc5d0\uc11c \uc77d\uace0 \uc800\uc7a5\ud558\uae30 \uc704\ud55c \ud3ec\ub9f7\uc73c\ub85c \ubb34\uc5c7\uc744 \uc0ac\uc6a9\ud560 \uac83\uc778\uc9c0 \uace0\ubbfc\ud558\ub2e4\uac00, GeoJSON\uc73c\ub85c \uacb0\uc815\uc744 \ud588\ub2e4. \uc0ac\uc2e4 \uace0\ubbfc\uc740 \ub2e8 1\ub3c4 \uc548\ud55c\ub4ef.. \ub2f9\uc5f0\ud788 GeoJSON \uc774\uc9c0 !<\/p>\n<p>GeoJSON\uc740 JSON\uc73c\ub85c \uc704\uce58 \ub370\uc774\ud130\uc640 \uc18d\uc131 \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\ub294 \ud615\uc2dd\uc774\ub2e4. \ub2e4\ub978 GIS \ud3ec\ub9f7\uacfc\ub294 \ub2e4\ub974\uac8c IETF(Internet Engineering Task Force)\uc5d0\uc11c \uc81c\uc548\ub418\uc5b4 \uc720\uc9c0\ub418\uace0 \uc788\ub2e8\ub2e4. RFC \ubc88\ud638\ub294 7946\uc774\ub2e4. \uc88c\ud45c\ub294 \uacbd\uc704\ub3c4 \uc88c\ud45c\uccb4\uacc4\ub85c \uc800\uc7a5\ub418\ub294\ub370, \ud754\ud788 \uad6c\uae00\ub9f5\uc774\ub098 OSM\uc5d0\uc11c\ub294 (\uc704\ub3c4, \uacbd\ub3c4)\uc758 \uc21c\uc11c\ub85c \uc800\uc7a5\ud558\ub294\ub370 \ubc18\ud574, GeoJSON\uc740 (\uacbd\ub3c4, \uc704\ub3c4)\uc758 \uc21c\uc11c\ub85c \uc800\uc7a5\ub41c\ub2e4\uace0 \ud55c\ub2e4.<\/p>\n<p>GeoJSON\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uc7a5\uc810\uc744 \uac16\ub294\ub2e4.<\/p>\n<ul style='padding:0 3%'>\n<li>XML\uacfc \ube44\uad50\ud558\uc5ec \uc2a4\uce74\ub9c8\ub098 \ud0dc\uadf8 \uaddc\uce59\uc5d0 \ub300\ud574 \ud6e8\uc52c \uc790\uc720\ub86d\ub2e4. \uc0ac\uc2e4 XML\uc740 \ubcf4\uae30\ub9cc\ud574\ub3c4 \ub450\ud1b5\uc774 \uba3c\uc800 \ubc00\ub824\uc628\ub2e4.<\/li>\n<li>\ub370\uc774\ud130 \uc6a9\ub7c9\uc774 \ub2e4\ub978 \ud3ec\ub9f7\uc5d0 \ube44\ud574 \uc0c1\ub300\uc801\uc73c\ub85c \uc791\ub2e4.<\/li>\n<li>JSON \ud615\uc2dd\uc774\ubbc0\ub85c \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c \uc27d\uac8c \uac1d\uccb4\ud654 \uc2dc\ud0ac \uc218 \uc788\ub2e4. \ud2b9\ud788 Javascript\uc5d0\uc11c\ub294 \ub2e8 1\uc904\ub85c \uac1d\uccb4\ud654 \uc2dc\ud0ac \uc218 \uc788\ub2e4.<\/li>\n<li>\ub2e4\uc591\ud55c \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc5d0 \uc801\uc7ac\ub418\uae30\uc5d0 \uc6a9\uc774\ud558\uba70, \uc2e4\uc81c\ub85c \ub2e4\uc591\ud55c \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \ud65c\uc6a9 \ub41c\ub2e4.<\/li>\n<\/ul>\n<p>\uc2e4\uc81c \ube48 GeoJSON \ud3ec\ub9f7\uc740 \uc544\ub798\uc640 \uac19\ub2e4.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">\r\n{\r\n    \"type\": \"FeatureCollection\",\r\n    \"features\": []\r\n}\r\n<\/pre>\n<p>features \uc548\uc5d0 \uc2e4\uc81c \ub370\uc774\ud130\uac00 \ub2f4\uae30\ub294\ub370, \ube48 Feature \uc694\uc18c\ub294 \ub2e4\uc74c\uacfc \uac19\ub2e4.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">\r\n{\r\n    \"type\": \"Feature\",\r\n    \"geometry\": {},\r\n    \"properties\": {}\r\n}\r\n<\/pre>\n<p>geometry\uc5d0 \uc885\ub958(type)\uacfc \uc88c\ud45c(coordinates) \uc815\ubcf4\uac00 \uc800\uc7a5\ub418\uace0, properties\uc5d0 \uc18d\uc131 \uc815\ubcf4\uac00 Key-Values\ub85c \uc790\uc720\ub86d\uac8c \uc800\uc7a5\ub41c\ub2e4. \uc544\ub798\ub294 \uae30\ubcf8 Geometry \uc885\ub958\uc5d0 \ub300\ud55c \uc608\uc774\ub2e4. (\ucd9c\ucc98: https:\/\/ko.wikipedia.org\/wiki\/GeoJSON)<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">\r\n{\r\n    \"type\": \"FeatureCollection\",\r\n    \"features\": [\r\n        {\r\n            \"type\": \"Feature\",\r\n            \"geometry\": {\r\n                \"type\": \"Point\",\r\n                \"coordinates\": [102.0, 0.5]\r\n            },\r\n            \"properties\": {\r\n                \"prop0\": \"value0\"\r\n            }\r\n        },\r\n        {\r\n            \"type\": \"Feature\",\r\n            \"geometry\": {\r\n                \"type\": \"LineString\",\r\n                \"coordinates\": [[102.0, 0.0], [103.0, 1.0], [104.0, 0.0], [105.0, 1.0]]\r\n            },\r\n            \"properties\": {\r\n                \"prop0\": \"value0\",\r\n                \"prop1\": 0.0\r\n            }\r\n        },\r\n        {\r\n            \"type\": \"Feature\",\r\n            \"geometry\": {\r\n                \"type\": \"Polygon\",\r\n                \"coordinates\": [[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0],[100.0, 1.0], [100.0, 0.0]]]\r\n            },\r\n            \"properties\": {\r\n                \"prop0\": \"value0\",\r\n                \"prop1\": { \"this\": \"that\" }\r\n            }\r\n        }\r\n    ]\r\n}\r\n<\/pre>\n<p>\uc880 \ub354 \uc790\uc138\ud55c \uae30\ubcf8 \ud615\ud0dc\uc758 \uc9c0\uc624\uba54\ud2b8\ub9ac\uc640 \ubcf5\uc7a1\ud55c \ud615\ud0dc\uc758 \uc9c0\uc624\uba54\ud2b8\ub9ac\uc5d0 \ub300\ud55c \uc815\ubcf4\ub294 \uc55e \uc608\uc81c\uc758 \ucd9c\ucc98\ub97c \ucc38\uace0\ud558\uc790.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc6f9\uc5d0\uc11c \uc704\uce58 \ub370\uc774\ud130\ub97c \ub85c\uceec\uc774\ub098 \uc11c\ubc84\ub2e8\uc5d0\uc11c \uc77d\uace0 \uc800\uc7a5\ud558\uae30 \uc704\ud55c \ud3ec\ub9f7\uc73c\ub85c \ubb34\uc5c7\uc744 \uc0ac\uc6a9\ud560 \uac83\uc778\uc9c0 \uace0\ubbfc\ud558\ub2e4\uac00, GeoJSON\uc73c\ub85c \uacb0\uc815\uc744 \ud588\ub2e4. \uc0ac\uc2e4 \uace0\ubbfc\uc740 \ub2e8 1\ub3c4 \uc548\ud55c\ub4ef.. \ub2f9\uc5f0\ud788 GeoJSON \uc774\uc9c0 ! GeoJSON\uc740 JSON\uc73c\ub85c \uc704\uce58 \ub370\uc774\ud130\uc640 \uc18d\uc131 \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\ub294 \ud615\uc2dd\uc774\ub2e4. \ub2e4\ub978 GIS \ud3ec\ub9f7\uacfc\ub294 \ub2e4\ub974\uac8c IETF(Internet Engineering Task Force)\uc5d0\uc11c \uc81c\uc548\ub418\uc5b4 \uc720\uc9c0\ub418\uace0 \uc788\ub2e8\ub2e4. RFC \ubc88\ud638\ub294 7946\uc774\ub2e4. \uc88c\ud45c\ub294 \uacbd\uc704\ub3c4 \uc88c\ud45c\uccb4\uacc4\ub85c \uc800\uc7a5\ub418\ub294\ub370, \ud754\ud788 \uad6c\uae00\ub9f5\uc774\ub098 OSM\uc5d0\uc11c\ub294 (\uc704\ub3c4, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.gisdeveloper.co.kr\/?p=8002\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;GeoJSON Format(\ud615\uc2dd)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50],"tags":[],"class_list":["post-8002","post","type-post","status-publish","format-standard","hentry","category-gisdev"],"_links":{"self":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/8002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8002"}],"version-history":[{"count":17,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/8002\/revisions"}],"predecessor-version":[{"id":9386,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/8002\/revisions\/9386"}],"wp:attachment":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8002"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}