{"id":125,"date":"2014-01-02T23:45:49","date_gmt":"2014-01-02T15:45:49","guid":{"rendered":"http:\/\/suherman.asia\/w2\/?p=125"},"modified":"2014-03-07T11:10:51","modified_gmt":"2014-03-07T03:10:51","slug":"mempresentasikan-data-spatial-dengan-geography-markup-languange-gml","status":"publish","type":"post","link":"https:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html","title":{"rendered":"Mempresentasikan data spatial dengan Geography Markup Languange (GML)"},"content":{"rendered":"<p>Geography Markup Language (GML) Merupakan sebuah XML yang difungsikan khusus untuk mempresentasikan sebuah informasi spatial. Seperti halnya sebuah bahasa XML, GML memiliki struktur dalam bahasa XML dalam mempresentasikan informasi spatial dimana setiap spesifik properti geografis memiliki spesifik tag XML.<!--more--><\/p>\n<p><strong><span style=\"font-size: medium;\">Membuat Point dari GML<\/span><\/strong><\/p>\n<p>Sama dengan yang digunakan oleh format WKT dimana point mengacu pada koordinat Langitude dan Latitude. Contoh penulisan GML untuk menggambar sebuah point adalah sebagai berikut :<\/p>\n<pre class=\"theme:ssms2012 lang:tsql decode:true\">&lt;point xmlns=\"http:\/\/www.opengis.net\/gml\"&gt;\r\n   &lt;pos&gt;15.30 -4.55&lt;\/pos&gt;\r\n&lt;\/point&gt;<\/pre>\n<p><span style=\"font-size: 13px;\">Untuk menggunakan GML bila hendak mempresentasikan Point dalam type data Geometry atau Geography di SQL Server 2008 dapat dilakukan dengan cara sebagai berikut:<\/span><\/p>\n<pre class=\"theme:ssms2012 lang:tsql decode:true\">Declare @gml xml;\r\nset @gml = '\r\n&lt;Point xmlns=\"http:\/\/www.opengis.net\/gml\"&gt;\r\n     &lt;pos&gt;15.30 -4.55&lt;\/pos&gt;\r\n&lt;\/point&gt;\r\n';\r\nDeclare @Point Geometry;\r\nset @Point = geometry::GeomFromGml(@gml, 4326)<\/pre>\n<p>&nbsp;<\/p>\n<p><strong style=\"font-size: 13px;\"><span style=\"font-size: medium;\">Membuat LineString dari GML<\/span><\/strong><\/p>\n<p>Bila hendak membentuk LineString atau bentuk apapun yang terjadi oleh lebih dari satu point, maka contoh syntax GMLnya adalah sebagai berikut:<\/p>\n<p>Misalkan kita akan menarik garis dari 2 buah titik yang mempunyai koordinat (3,5) dan (4,8). Maka syntax GML nya adalah<\/p>\n<pre class=\"theme:ssms2012 lang:tsql decode:true\">&lt;LineString xmlns=\u201dhttp:\/\/www.opengis.net\/gml\u201d&gt;\r\n&lt;postList&gt;3 5 4 8&lt;\/post&gt;\r\n&lt;\/LineString&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p><strong style=\"font-size: 13px;\"><span style=\"font-size: medium;\">Membuat Polygon dari GML<\/span><\/strong><\/p>\n<p>Berikut ini adalah syntax membuat polygon dari GML<\/p>\n<pre class=\"theme:ssms2012 lang:tsql decode:true\">&lt;Polygon xmlns=\u201dhttp:\/\/www.opengis.net\/gml\u201d&gt;\r\n    &lt;exterior&gt;\r\n        &lt;LinearRing&gt;\r\n            &lt;postList&gt;2 2 4 5 5 6 6 7 1 9 2 2&lt;postList&gt;\r\n        &lt;\/LinearRing&gt;\r\n    &lt;\/exterior&gt;\r\n&lt;\/Polygon&gt;<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Geography Markup Language (GML) Merupakan sebuah XML yang difungsikan khusus untuk mempresentasikan sebuah informasi spatial. Seperti halnya sebuah bahasa XML, GML memiliki struktur dalam bahasa XML dalam mempresentasikan informasi spatial dimana setiap spesifik properti geografis memiliki spesifik tag XML.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html\">Continue reading<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":126,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[36],"class_list":["post-125","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spatial","tag-gml"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Mempresentasikan data spatial dengan Geography Markup Languange (GML) - Suherman Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mempresentasikan data spatial dengan Geography Markup Languange (GML) - Suherman Blog\" \/>\n<meta property=\"og:description\" content=\"Geography Markup Language (GML) Merupakan sebuah XML yang difungsikan khusus untuk mempresentasikan sebuah informasi spatial. Seperti halnya sebuah bahasa XML, GML memiliki struktur dalam bahasa XML dalam mempresentasikan informasi spatial dimana setiap spesifik properti geografis memiliki spesifik tag XML. Continue reading\" \/>\n<meta property=\"og:url\" content=\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html\" \/>\n<meta property=\"og:site_name\" content=\"Suherman Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/emantin34\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/emantin34\" \/>\n<meta property=\"article:published_time\" content=\"2014-01-02T15:45:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-03-07T03:10:51+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/suherman.asia\/w2\/wp-content\/uploads\/2014\/01\/gml.png\" \/>\n\t<meta property=\"og:image:width\" content=\"577\" \/>\n\t<meta property=\"og:image:height\" content=\"267\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#article\",\"isPartOf\":{\"@id\":\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html\"},\"author\":{\"name\":\"admin\",\"@id\":\"http:\/\/suherman.asia\/w2\/#\/schema\/person\/63654a129ee88012961c1a00415967dc\"},\"headline\":\"Mempresentasikan data spatial dengan Geography Markup Languange (GML)\",\"datePublished\":\"2014-01-02T15:45:49+00:00\",\"dateModified\":\"2014-03-07T03:10:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html\"},\"wordCount\":155,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/suherman.asia\/w2\/#\/schema\/person\/63654a129ee88012961c1a00415967dc\"},\"image\":{\"@id\":\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/suherman.asia\/w2\/wp-content\/uploads\/2014\/01\/gml.png\",\"keywords\":[\"GML\"],\"articleSection\":[\"Spatial\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html\",\"url\":\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html\",\"name\":\"Mempresentasikan data spatial dengan Geography Markup Languange (GML) - Suherman Blog\",\"isPartOf\":{\"@id\":\"http:\/\/suherman.asia\/w2\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#primaryimage\"},\"image\":{\"@id\":\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/suherman.asia\/w2\/wp-content\/uploads\/2014\/01\/gml.png\",\"datePublished\":\"2014-01-02T15:45:49+00:00\",\"dateModified\":\"2014-03-07T03:10:51+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#primaryimage\",\"url\":\"https:\/\/suherman.asia\/w2\/wp-content\/uploads\/2014\/01\/gml.png\",\"contentUrl\":\"https:\/\/suherman.asia\/w2\/wp-content\/uploads\/2014\/01\/gml.png\",\"width\":577,\"height\":267},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/suherman.asia\/w2\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mempresentasikan data spatial dengan Geography Markup Languange (GML)\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/suherman.asia\/w2\/#website\",\"url\":\"http:\/\/suherman.asia\/w2\/\",\"name\":\"Suherman Blog\",\"description\":\"Just Another Geek Site\",\"publisher\":{\"@id\":\"http:\/\/suherman.asia\/w2\/#\/schema\/person\/63654a129ee88012961c1a00415967dc\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/suherman.asia\/w2\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/suherman.asia\/w2\/#\/schema\/person\/63654a129ee88012961c1a00415967dc\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/suherman.asia\/w2\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/eed6f889b4c2af2a8c18cb3bf63de6a4?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/eed6f889b4c2af2a8c18cb3bf63de6a4?s=96&d=retro&r=g\",\"caption\":\"admin\"},\"logo\":{\"@id\":\"http:\/\/suherman.asia\/w2\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/suherman.asia\",\"https:\/\/www.facebook.com\/emantin34\",\"https:\/\/x.com\/emantin34\"],\"url\":\"https:\/\/suherman.asia\/w2\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mempresentasikan data spatial dengan Geography Markup Languange (GML) - Suherman Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html","og_locale":"en_US","og_type":"article","og_title":"Mempresentasikan data spatial dengan Geography Markup Languange (GML) - Suherman Blog","og_description":"Geography Markup Language (GML) Merupakan sebuah XML yang difungsikan khusus untuk mempresentasikan sebuah informasi spatial. Seperti halnya sebuah bahasa XML, GML memiliki struktur dalam bahasa XML dalam mempresentasikan informasi spatial dimana setiap spesifik properti geografis memiliki spesifik tag XML. Continue reading","og_url":"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html","og_site_name":"Suherman Blog","article_publisher":"https:\/\/www.facebook.com\/emantin34","article_author":"https:\/\/www.facebook.com\/emantin34","article_published_time":"2014-01-02T15:45:49+00:00","article_modified_time":"2014-03-07T03:10:51+00:00","og_image":[{"width":577,"height":267,"url":"http:\/\/suherman.asia\/w2\/wp-content\/uploads\/2014\/01\/gml.png","type":"image\/png"}],"author":"admin","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#article","isPartOf":{"@id":"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html"},"author":{"name":"admin","@id":"http:\/\/suherman.asia\/w2\/#\/schema\/person\/63654a129ee88012961c1a00415967dc"},"headline":"Mempresentasikan data spatial dengan Geography Markup Languange (GML)","datePublished":"2014-01-02T15:45:49+00:00","dateModified":"2014-03-07T03:10:51+00:00","mainEntityOfPage":{"@id":"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html"},"wordCount":155,"commentCount":0,"publisher":{"@id":"http:\/\/suherman.asia\/w2\/#\/schema\/person\/63654a129ee88012961c1a00415967dc"},"image":{"@id":"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#primaryimage"},"thumbnailUrl":"https:\/\/suherman.asia\/w2\/wp-content\/uploads\/2014\/01\/gml.png","keywords":["GML"],"articleSection":["Spatial"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#respond"]}]},{"@type":"WebPage","@id":"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html","url":"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html","name":"Mempresentasikan data spatial dengan Geography Markup Languange (GML) - Suherman Blog","isPartOf":{"@id":"http:\/\/suherman.asia\/w2\/#website"},"primaryImageOfPage":{"@id":"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#primaryimage"},"image":{"@id":"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#primaryimage"},"thumbnailUrl":"https:\/\/suherman.asia\/w2\/wp-content\/uploads\/2014\/01\/gml.png","datePublished":"2014-01-02T15:45:49+00:00","dateModified":"2014-03-07T03:10:51+00:00","breadcrumb":{"@id":"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#primaryimage","url":"https:\/\/suherman.asia\/w2\/wp-content\/uploads\/2014\/01\/gml.png","contentUrl":"https:\/\/suherman.asia\/w2\/wp-content\/uploads\/2014\/01\/gml.png","width":577,"height":267},{"@type":"BreadcrumbList","@id":"http:\/\/suherman.asia\/w2\/mempresentasikan-data-spatial-dengan-geography-markup-languange-gml.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/suherman.asia\/w2"},{"@type":"ListItem","position":2,"name":"Mempresentasikan data spatial dengan Geography Markup Languange (GML)"}]},{"@type":"WebSite","@id":"http:\/\/suherman.asia\/w2\/#website","url":"http:\/\/suherman.asia\/w2\/","name":"Suherman Blog","description":"Just Another Geek Site","publisher":{"@id":"http:\/\/suherman.asia\/w2\/#\/schema\/person\/63654a129ee88012961c1a00415967dc"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/suherman.asia\/w2\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"http:\/\/suherman.asia\/w2\/#\/schema\/person\/63654a129ee88012961c1a00415967dc","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/suherman.asia\/w2\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/eed6f889b4c2af2a8c18cb3bf63de6a4?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eed6f889b4c2af2a8c18cb3bf63de6a4?s=96&d=retro&r=g","caption":"admin"},"logo":{"@id":"http:\/\/suherman.asia\/w2\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/suherman.asia","https:\/\/www.facebook.com\/emantin34","https:\/\/x.com\/emantin34"],"url":"https:\/\/suherman.asia\/w2\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/suherman.asia\/w2\/wp-json\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/suherman.asia\/w2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/suherman.asia\/w2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/suherman.asia\/w2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/suherman.asia\/w2\/wp-json\/wp\/v2\/comments?post=125"}],"version-history":[{"count":4,"href":"https:\/\/suherman.asia\/w2\/wp-json\/wp\/v2\/posts\/125\/revisions"}],"predecessor-version":[{"id":242,"href":"https:\/\/suherman.asia\/w2\/wp-json\/wp\/v2\/posts\/125\/revisions\/242"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/suherman.asia\/w2\/wp-json\/wp\/v2\/media\/126"}],"wp:attachment":[{"href":"https:\/\/suherman.asia\/w2\/wp-json\/wp\/v2\/media?parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/suherman.asia\/w2\/wp-json\/wp\/v2\/categories?post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/suherman.asia\/w2\/wp-json\/wp\/v2\/tags?post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}