{"id":5282,"date":"2018-06-27T13:57:55","date_gmt":"2018-06-27T04:57:55","guid":{"rendered":"http:\/\/www.gisdeveloper.co.kr\/?p=5282"},"modified":"2020-05-28T13:48:23","modified_gmt":"2020-05-28T04:48:23","slug":"geoservice-xr%ec%9d%98-%ec%a2%8c%ed%91%9c-%eb%b3%80%ed%99%98-%ec%84%9c%eb%b9%84%ec%8a%a4","status":"publish","type":"post","link":"http:\/\/www.gisdeveloper.co.kr\/?p=5282","title":{"rendered":"GeoService-Xr\uc758 \uc88c\ud45c \ubcc0\ud658 \uc11c\ube44\uc2a4"},"content":{"rendered":"<p>GIS \uc11c\ubc84\uc778 GeoService-Xr\uc740 \ud558\ub098 \uc774\uc0c1\uc758 \uc88c\ud45c\uc5d0 \ub300\ud574 \ub2e4\ub978 \uc88c\ud45c\uccb4\uacc4\ub97c \uac16\ub294 \uc88c\ud45c\ub85c \ubcc0\ud658\ud560 \uc218 \uc788\ub294 \uc11c\ube44\uc2a4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc544\ub798\ub294 EPSG:4326 \uc88c\ud45c\uacc4\ub97c EPSG:5186 \uc88c\ud45c\uacc4\ub85c \ubcc0\ud658\ud558\ub294 \uc11c\ube44\uc2a4 \ud638\ucd9c\uc5d0 \ub300\ud55c js \ucf54\ub4dc\uc785\ub2c8\ub2e4.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\">\r\nvar wkt = \"LINESTRING(127 38, 127.1 38.1, 127.2 38.3)\";\r\n\r\n$.ajax({\r\n    url: \"http:\/\/www.gisdeveloper.co.kr:8080\/Gp?command=proj;fromEPSG=4326;toEPSG=5186\",\r\n    type: \"POST\",\r\n    data: wkt,\r\n    dataType: \"text\",\r\n\r\n    success: function (response) {\r\n        response = response.substr(0, response.length - 1); \/\/ response \ubb38\uc790\uc5f4 \ub05d\uc5d0 \\0 \ubb38\uc790\ub97c \uc81c\uac70\r\n\r\n        document.writeln(\"<h1>\uc785\ub825 : \" + wkt + \"<\/h1>\");\r\n        document.writeln(\"<h1>\uacb0\uacfc : \" + response + \"<\/h1>\");\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 WGS84 \uacbd\uc704\ub3c4 \uc88c\ud45c\uccb4\uacc4(EPSG:4326)\uc778 3\uac1c\uc758 \uc88c\ud45c, \uc989 (127 38), (127.1 38.1), (127.2 38.3)\uc744 GRS80 \ud0c0\uc6d0\uccb4\uc778 \ub300\ud55c\ubbfc\uad6d \uc911\ubd80 TM \uc88c\ud45c\uccb4\uacc4(EPSG:5186)\ub85c \ubcc0\ud658\uc744 \uc11c\ubc84\ub2e8\uc5d0 \uc694\uccad\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc11c\ubc84\uac00 \uc815\uc0c1\uc801\uc73c\ub85c \uc791\ub3d9\ud55c\ub2e4\uba74 \uc544\ub798\uc640 \uac19\uc740 \uacb0\uacfc\ub97c \ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gisdeveloper.co.kr\/wp-content\/uploads\/2018\/06\/geoservice-xr-projection.png\" alt=\"\" width=\"1715\" height=\"257\" class=\"aligncenter size-full wp-image-5283\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>GIS \uc11c\ubc84\uc778 GeoService-Xr\uc740 \ud558\ub098 \uc774\uc0c1\uc758 \uc88c\ud45c\uc5d0 \ub300\ud574 \ub2e4\ub978 \uc88c\ud45c\uccb4\uacc4\ub97c \uac16\ub294 \uc88c\ud45c\ub85c \ubcc0\ud658\ud560 \uc218 \uc788\ub294 \uc11c\ube44\uc2a4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc544\ub798\ub294 EPSG:4326 \uc88c\ud45c\uacc4\ub97c EPSG:5186 \uc88c\ud45c\uacc4\ub85c \ubcc0\ud658\ud558\ub294 \uc11c\ube44\uc2a4 \ud638\ucd9c\uc5d0 \ub300\ud55c js \ucf54\ub4dc\uc785\ub2c8\ub2e4. var wkt = &#8220;LINESTRING(127 38, 127.1 38.1, 127.2 38.3)&#8221;; $.ajax({ url: &#8220;http:\/\/www.gisdeveloper.co.kr:8080\/Gp?command=proj;fromEPSG=4326;toEPSG=5186&#8221;, type: &#8220;POST&#8221;, data: wkt, dataType: &#8220;text&#8221;, success: function (response) { response = response.substr(0, response.length &#8211; 1); &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.gisdeveloper.co.kr\/?p=5282\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;GeoService-Xr\uc758 \uc88c\ud45c \ubcc0\ud658 \uc11c\ube44\uc2a4&#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-5282","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\/5282","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=5282"}],"version-history":[{"count":3,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/5282\/revisions"}],"predecessor-version":[{"id":9597,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/5282\/revisions\/9597"}],"wp:attachment":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5282"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}