{"id":1611,"date":"2012-02-16T19:17:19","date_gmt":"2012-02-16T19:17:19","guid":{"rendered":"http:\/\/www.gisdeveloper.co.kr\/?p=1611"},"modified":"2018-12-20T03:49:11","modified_gmt":"2018-12-19T18:49:11","slug":"blackpoint-xr-%eb%a0%88%ec%9d%b4%ec%96%b4%ec%9d%98-%ec%a0%84%ec%b2%b4-feature%eb%93%a4%ec%9d%98-%ec%86%8d%ec%84%b1-%eb%b0%8f-%eb%8f%84%ed%98%95-%ec%a0%95%eb%b3%b4-%ea%b5%ac%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"http:\/\/www.gisdeveloper.co.kr\/?p=1611","title":{"rendered":"[GIS] BlackPoint-Xr, \ub808\uc774\uc5b4\uc758 \uc804\uccb4 Feature\ub4e4\uc758 \uc18d\uc131 \ubc0f \ub3c4\ud615 \uc815\ubcf4 \uad6c\ud558\uae30"},"content":{"rendered":"<pre>ShapeLayer EMDLyr = (ShapeLayer)map.layers().getLayerByName(\"emd\");\r\nif(EMDLyr == null) return false;\r\n      \r\nShapeAccess EMDAccess = (ShapeAccess)EMDLyr.getAccess();\r\n      \r\nint totalRowCount = EMDAccess.getTotalRowCount();\r\ntry {\r\n    EMDAccess.beginLoading();\r\n       \r\n    for(int fid=1; fid<=totalRowCount; fid++) {\r\n        ISpatialRow sr = EMDAccess.loadById(fid);\r\n        AttributeRow ar = EMDAccess.loadAttributeById(fid);\r\n       \r\n        \/\/ sr, ar\uc744 \ud1b5\ud574 \uc18d\uc131 \ubc0f \uc88c\ud45c \uc815\ubcf4\ub97c \uc5bb\uc74c..\r\n        \r\n        EMDAccess.unload(sr);\r\n        EMDAccess.unload(ar);\r\n    }\r\n} catch (Exception e) {\r\n    e.printStackTrace();\r\n} finally {\r\n    EMDAccess.endLoading();\r\n}<\/pre>\n<p>\uc18d\uc131\uacfc \ub3c4\ud615 \ub370\uc774\ud130\ub97c \ud558\ub098\ub85c \ubb36\uc740 \uac83\uc744 \ud53c\uccd0(Feature)\ub77c\uace0 \ud560\ub54c.. \ub300\ud45c\uc801\uc73c\ub85c SHP \ud30c\uc77c\uacfc DBF \ud30c\uc77c\uc758 \uc30d\uc744 \uc608\ub85c \ub4e4\uc218 \uc788\uaca0\uc2b5\ub2c8\ub2e4. \uc774 Feature\uc758 \uacf5\uac04 \ub370\uc774\ud130\uc640 \uc18d\uc131 \ub370\uc774\ud130\ub97c \uc77d\ub294 \uc608\uc5d0 \ub300\ud55c \uc804\uccb4 \ucf54\ub4dc \uad6c\uc131\uc785\ub2c8\ub2e4.<\/p>\n<p>\uc774 \ucf54\ub4dc\ub294 \ube14\ub799\ud3ec\uc778\ud2b8 2.0\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 API\uc785\ub2c8\ub2e4. \ube14\ub799\ud3ec\uc778\ud2b8 1.0\uc5d0\uc11c\ub294 \uc81c\uacf5\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ShapeLayer EMDLyr = (ShapeLayer)map.layers().getLayerByName(&#8220;emd&#8221;); if(EMDLyr == null) return false; ShapeAccess EMDAccess = (ShapeAccess)EMDLyr.getAccess(); int totalRowCount = EMDAccess.getTotalRowCount(); try { EMDAccess.beginLoading(); for(int fid=1; fid<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[72],"tags":[71,5,53],"class_list":["post-1611","post","type-post","status-publish","format-standard","hentry","category-smartpoint-xr","tag-blackpoint","tag-gis","tag-xr"],"_links":{"self":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/1611","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=1611"}],"version-history":[{"count":1,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/1611\/revisions"}],"predecessor-version":[{"id":3082,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/1611\/revisions\/3082"}],"wp:attachment":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1611"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}