{"id":7418,"date":"2019-07-05T12:32:28","date_gmt":"2019-07-05T03:32:28","guid":{"rendered":"http:\/\/www.gisdeveloper.co.kr\/?p=7418"},"modified":"2020-05-28T10:23:28","modified_gmt":"2020-05-28T01:23:28","slug":"%eb%8c%80%ed%95%9c%eb%af%bc%ea%b5%ad-%ec%b5%9c%ec%8b%a0-%ed%96%89%ec%a0%95%ea%b5%ac%ec%97%ad-geometry-openapi","status":"publish","type":"post","link":"http:\/\/www.gisdeveloper.co.kr\/?p=7418","title":{"rendered":"\ub300\ud55c\ubbfc\uad6d \ucd5c\uc2e0 \ud589\uc815\uad6c\uc5ed Geometry OpenAPI"},"content":{"rendered":"<p>\ub300\ud55c\ubbfc\uad6d\uc758 \ud589\uc815\uad6c\uc5ed\uc5d0 \ub300\ud55c Geometry\ub97c \uc5bb\uc744 \uc218 \uc788\ub294 OpenAPI \uc11c\ube44\uc2a4\ub97c \uc9c0\uc624\uc11c\ube44\uc2a4\uc5d0\uc11c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774\ubbf8 \uc624\ub798\uc804\ubd80\ud130 \uc544\ub798\uc758 \uc6f9\ud398\uc774\uc9c0\ub97c \ud1b5\ud574 \ub9e4\ub144 \ucd5c\uc2e0 \ud589\uc815\uad6c\uc5ed\uc5d0 \ub300\ud55c SHP \ud30c\uc77c\uc744 \uc81c\uacf5\ud574 \ub4dc\ub9ac\uace0 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"AVlJ0f861c\"><p><a href=\"http:\/\/www.gisdeveloper.co.kr\/?p=2332\">\ub300\ud55c\ubbfc\uad6d \ucd5c\uc2e0 \ud589\uc815\uad6c\uc5ed(SHP) \ub2e4\uc6b4\ub85c\ub4dc<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\ub300\ud55c\ubbfc\uad6d \ucd5c\uc2e0 \ud589\uc815\uad6c\uc5ed(SHP) \ub2e4\uc6b4\ub85c\ub4dc&#8221; &#8212; GIS Developer\" src=\"http:\/\/www.gisdeveloper.co.kr\/?p=2332&#038;embed=true#?secret=VPBq87IYqL#?secret=AVlJ0f861c\" data-secret=\"AVlJ0f861c\" width=\"525\" height=\"296\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>\uc704 \ud398\uc774\uc9c0\uc5d0\uc11c \uc18c\uac1c\ud574 \ub4dc\ub9ac\ub294 \ubc29\uc2dd\uc778 SHP \ud30c\uc77c \ud615\ud0dc\uac00 \uc544\ub2cc REST OpenAPI \ubc29\uc2dd\uc73c\ub85c \ud589\uc815\uad6c\uc5ed\ub3c4\ub97c \uc5bb\uc744 \uc218 \uc788\ub294 \uc11c\ube44\uc2a4\ub294 \uadf8 \ud65c\uc6a9\uc758 \ud3ed\uc774 \ub113\uc740\ub370\uc694. \ud2b9\ud788 \ube45\ub370\uc774\ud130\uc758 \ucc98\ub9ac \uacb0\uacfc \ub4f1\uacfc \uac19\uc740 \ud1b5\uacc4 \ub370\uc774\ud130\uc5d0 \ub300\ud55c \uc8fc\uc81c\ub3c4 \uc791\uc131\uc5d0 \ud65c\uc6a9\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c\ub4e4\uc5b4, \uc544\ub798\uc640 \uac19\uc740 Javascript \ucf54\ub4dc\ub97c \ud1b5\ud574 \uc6d0\ud558\ub294 \ud589\uc815\uad6c\uc5ed\uc758 \uc9c0\uc624\uba54\ud2b8\ub9ac\ub97c \uc5bb\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\">\r\n$.ajax({\r\n    url: 'http:\/\/geoservice.co.kr:8080\/Gp?command=ad2geom;tol=100',\r\n    type: 'POST',\r\n    crossDomain: true,\r\n    data: '\uc804\uc8fc\uc2dc \ub355\uc9c4\uad6c\\n\uc804\uc8fc\uc2dc \uc644\uc0b0\uad6c',\r\n    dataType: \"text\",\r\n    success: function (response) {\r\n        document.querySelector(\"#ta\").textContent = response;\r\n    },\r\n\r\n    error: function (xhr, status) {\r\n        alert(\"ERROR\");\r\n    }\r\n});\r\n<\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\ub294 \uc804\uc8fc\uc2dc \ub355\uc9c4\uad6c\uc640 \uc804\uc8fc\uc2dc \uc644\uc0b0\uad6c\uc5d0 \ub300\ud55c \ud589\uc815\uad6c\uc5ed\uc744 WKT \ud3ec\ub9f7\uc73c\ub85c, 100m \uac70\ub9ac\uac12 \ub9cc\ud07c \ud1a0\ud3f4\ub85c\uc9c0\ub97c \uc720\uc9c0\ud55c \ud615\ud0dc\ub85c \ub2e8\uc21c\ud654(Simplify)\ub41c \uc9c0\uc624\uba54\ud2b8\ub9ac\ub85c \uadf8 \uacb0\uacfc\ub97c \uc544\ub798\ucc98\ub7fc JSON\uc73c\ub85c \ubc1b\uc2b5\ub2c8\ub2e4. \uc2e4\uc81c \ub0b4\uc6a9\uc740 \uc544\ub798\ubcf4\ub2e4 \ud6e8\uc52c \uae38\uc5b4\uc11c \ucd95\uc57d\ud574 \ud45c\uc2dc \ud588\uc2b5\ub2c8\ub2e4.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">\r\n{\r\n    \"_EPSG\":5179,\r\n    \"\uc804\uc8fc\uc2dc \ub355\uc9c4\uad6c\":\"POLYGON((957449 1766921, 958719 1763384, ...  , 957449 1766921))\",\r\n    \"\uc804\uc8fc\uc2dc \uc644\uc0b0\uad6c\":\"POLYGON((957449 1766921, 958719 1766944, ... , 957449 1766921))\"\r\n}\r\n<\/pre>\n<p>\uc11c\ube44\uc2a4\ub418\ub294 \ud589\uc815\uad6c\uc5ed\uc758 \uba85\uce6d\uc740 \uc2dc\ub3c4, \uc2dc\uad70\uad6c, \uc74d\uba74\ub3d9, \ub9ac \uc804\uccb4\uc785\ub2c8\ub2e4. \ud589\uc815\uad6c\uc5ed\uc758 \uba85\uce6d\uc740 \uc694\uc57d\uc774\ub098 \ubcc4\uce6d\ub3c4 \uac00\ub2a5\ud569\ub2c8\ub2e4. \uc989, \uc11c\uc6b8\ud2b9\ubcc4\uc2dc \ubfd0\ub9cc \uc544\ub2c8\ub77c \uc11c\uc6b8, \uc11c\uc6b8\uc2dc\uac00 \uac00\ub2a5\ud558\uace0, \uc804\ub77c\ubd81\ub3c4 \ubfd0\ub9cc \uc544\ub2c8\ub77c \uc804\ubd81\ub3c4 \uac00\ub2a5\ud569\ub2c8\ub2e4. \uc774 \uc11c\ube44\uc2a4\ub294 \ubcc4\ub3c4\uc758 \uacf5\uc9c0\uac00 \uc5c6\ub294 \ud55c \uc790\uc720\ub86d\uac8c \uc0ac\uc6a9\ud558\uc2e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc9c0\uc624\uc11c\ube44\uc2a4\ub294 \uc704\uce58\uae30\ubc18 \uc11c\ube44\uc2a4\uc640 \uad00\ub828\ub41c \ub610 \ub2e4\ub978 \uc720\uc6a9\ud55c \uc11c\ube44\uc2a4\ub85c\uc368 \ud3b8\ub9ac\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \uc8fc\uc18c\/\uc88c\ud45c\uac04\uc758 \ubcc0\ud658\ud234(Geocoding Tool)\uc744 \ubb34\ub8cc\ub85c \uc81c\uacf5\ud558\uace0 \uc788\ub294\ub370\uc694. \uc544\ub798\uc758 URL\uc744 \ud1b5\ud574 \uc790\uc138\ud55c \ub0b4\uc6a9\uc744 \uc0b4\ud3b4\ubcf4\uc2e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"Hs1LsV3tp5\"><p><a href=\"http:\/\/www.gisdeveloper.co.kr\/?p=4784\">\uc8fc\uc18c \uc88c\ud45c \ubcc0\ud658 \ud234, Geocoder-Xr<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\uc8fc\uc18c \uc88c\ud45c \ubcc0\ud658 \ud234, Geocoder-Xr&#8221; &#8212; GIS Developer\" src=\"http:\/\/www.gisdeveloper.co.kr\/?p=4784&#038;embed=true#?secret=Zdm9Ja0SpG#?secret=Hs1LsV3tp5\" data-secret=\"Hs1LsV3tp5\" width=\"525\" height=\"296\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ub300\ud55c\ubbfc\uad6d\uc758 \ud589\uc815\uad6c\uc5ed\uc5d0 \ub300\ud55c Geometry\ub97c \uc5bb\uc744 \uc218 \uc788\ub294 OpenAPI \uc11c\ube44\uc2a4\ub97c \uc9c0\uc624\uc11c\ube44\uc2a4\uc5d0\uc11c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774\ubbf8 \uc624\ub798\uc804\ubd80\ud130 \uc544\ub798\uc758 \uc6f9\ud398\uc774\uc9c0\ub97c \ud1b5\ud574 \ub9e4\ub144 \ucd5c\uc2e0 \ud589\uc815\uad6c\uc5ed\uc5d0 \ub300\ud55c SHP \ud30c\uc77c\uc744 \uc81c\uacf5\ud574 \ub4dc\ub9ac\uace0 \uc788\uc2b5\ub2c8\ub2e4. \ub300\ud55c\ubbfc\uad6d \ucd5c\uc2e0 \ud589\uc815\uad6c\uc5ed(SHP) \ub2e4\uc6b4\ub85c\ub4dc \uc704 \ud398\uc774\uc9c0\uc5d0\uc11c \uc18c\uac1c\ud574 \ub4dc\ub9ac\ub294 \ubc29\uc2dd\uc778 SHP \ud30c\uc77c \ud615\ud0dc\uac00 \uc544\ub2cc REST OpenAPI \ubc29\uc2dd\uc73c\ub85c \ud589\uc815\uad6c\uc5ed\ub3c4\ub97c \uc5bb\uc744 \uc218 \uc788\ub294 \uc11c\ube44\uc2a4\ub294 \uadf8 \ud65c\uc6a9\uc758 \ud3ed\uc774 \ub113\uc740\ub370\uc694. \ud2b9\ud788 \ube45\ub370\uc774\ud130\uc758 \ucc98\ub9ac \uacb0\uacfc \ub4f1\uacfc &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.gisdeveloper.co.kr\/?p=7418\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ub300\ud55c\ubbfc\uad6d \ucd5c\uc2e0 \ud589\uc815\uad6c\uc5ed Geometry OpenAPI&#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":[1],"tags":[],"class_list":["post-7418","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7418","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=7418"}],"version-history":[{"count":13,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7418\/revisions"}],"predecessor-version":[{"id":9397,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/7418\/revisions\/9397"}],"wp:attachment":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7418"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}