{"id":2888,"date":"2022-05-18T17:27:11","date_gmt":"2022-05-18T16:27:11","guid":{"rendered":"https:\/\/www.ridgesolutions.ie\/?p=2888"},"modified":"2022-05-26T11:48:54","modified_gmt":"2022-05-26T10:48:54","slug":"code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd","status":"publish","type":"post","link":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/","title":{"rendered":"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)"},"content":{"rendered":"<p>How to convert between Decimal Degrees &amp; Minutes (DDM) to Decimal Degrees (DD).<\/p>\n<p>I always prefer to represent latitude and longitude as full decimal degrees (DD), I find it much simpler and you can do calculations with the values.\u00a0 However, other people and devices love to use the slightly (to me) esoteric Decimal Degrees and Minutes (DDM) form and I have to remember how to convert to and from decimal degrees &#8211; so here&#8217;s a short description of how it&#8217;s done along with some C++ sample code.<\/p>\n<p><strong>Decimal Degrees:<\/strong> Latitude and longitude are just represented as a decimal degree value.<\/p>\n<p><strong>Decimal Degrees &amp; Minutes:<\/strong> Encodes a whole number of degrees in the first few digits, the rest of the digits represent a decimal minutes value with 2 digits to the left of the decimal place representing a whole minute value,\u00a0 e.g. 5254.9098940 : ddmm.mmmmmm<\/p>\n<p>For example, a DDM value of: 5254.9098940 represents 52 degrees and 54.9098940 minutes.<\/p>\n<p>To convert this to decimal degrees, we do something like this:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">dd = 52 + (54.9098940 \/ 60) = 52.9151649 degrees.\r\n<\/pre>\n<p>And in code:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"cpp\">\/\/\r\ndouble ddm_to_dd(double ddm) {\r\n    double degrees = floor(ddm \/ 100.0);\r\n    double minutes = ddm - degrees * 100.0;\r\n    double decimal_degrees = degrees + minutes \/ 60.0;\r\n\r\n    return decimal_degrees;\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to convert between Decimal Degrees &amp; Minutes (DDM) to Decimal Degrees (DD). I always prefer to represent latitude and longitude as full decimal degrees (DD), I find it much simpler and you can do calculations with the values.\u00a0 However, other people and devices love to use the slightly (to me) esoteric Decimal Degrees and [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[301],"tags":[],"class_list":["post-2888","post","type-post","status-publish","format-standard","hentry","category-by-kevin-godden"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"How to convert between Decimal Degrees &amp; Minutes (DDM) to Decimal Degrees (DD). I always prefer to represent latitude and longitude as full decimal degrees (DD), I find it much simpler and you can do calculations with the values. However, other people and devices love to use the slightly (to me) esoteric Decimal Degrees and\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"admin\"\/>\n\t<meta name=\"google-site-verification\" content=\"Kyj52YLp6GOPA44PVBffo9fjW8rgWHYYRF0ZYjfy6ss\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Systems and Embedded Software Engineering, Ireland. | Some thoughts of a busy Computer Engineer\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)\" \/>\n\t\t<meta property=\"og:description\" content=\"How to convert between Decimal Degrees &amp; Minutes (DDM) to Decimal Degrees (DD). I always prefer to represent latitude and longitude as full decimal degrees (DD), I find it much simpler and you can do calculations with the values. However, other people and devices love to use the slightly (to me) esoteric Decimal Degrees and\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-05-18T16:27:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-05-26T10:48:54+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)\" \/>\n\t\t<meta name=\"twitter:description\" content=\"How to convert between Decimal Degrees &amp; Minutes (DDM) to Decimal Degrees (DD). I always prefer to represent latitude and longitude as full decimal degrees (DD), I find it much simpler and you can do calculations with the values. However, other people and devices love to use the slightly (to me) esoteric Decimal Degrees and\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2022\\\/05\\\/18\\\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\\\/#article\",\"name\":\"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)\",\"headline\":\"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)\",\"author\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/ridge_logo1.jpg\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#articleImage\",\"width\":400,\"height\":81},\"datePublished\":\"2022-05-18T17:27:11+00:00\",\"dateModified\":\"2022-05-26T11:48:54+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2022\\\/05\\\/18\\\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2022\\\/05\\\/18\\\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\\\/#webpage\"},\"articleSection\":\"By Ridge Solutions\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2022\\\/05\\\/18\\\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ridgesolutions.ie\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/by-kevin-godden\\\/#listItem\",\"name\":\"By Ridge Solutions\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/by-kevin-godden\\\/#listItem\",\"position\":2,\"name\":\"By Ridge Solutions\",\"item\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/by-kevin-godden\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2022\\\/05\\\/18\\\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\\\/#listItem\",\"name\":\"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2022\\\/05\\\/18\\\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\\\/#listItem\",\"position\":3,\"name\":\"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/by-kevin-godden\\\/#listItem\",\"name\":\"By Ridge Solutions\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#organization\",\"name\":\"Ridge Solutions, Software Development and Software Engineering, Ireland.\",\"description\":\"Some thoughts of a busy Computer Engineer\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/ridge_logo1.jpg\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2022\\\/05\\\/18\\\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\\\/#organizationLogo\",\"width\":400,\"height\":81},\"image\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2022\\\/05\\\/18\\\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/admin\\\/\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2022\\\/05\\\/18\\\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0bcb44e82b647e8707b506ed8100bbeb7e4c9a889f1e6fdd152fce740e3ac9fa?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"admin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2022\\\/05\\\/18\\\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\\\/#webpage\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2022\\\/05\\\/18\\\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\\\/\",\"name\":\"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)\",\"description\":\"How to convert between Decimal Degrees & Minutes (DDM) to Decimal Degrees (DD). I always prefer to represent latitude and longitude as full decimal degrees (DD), I find it much simpler and you can do calculations with the values. However, other people and devices love to use the slightly (to me) esoteric Decimal Degrees and\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2022\\\/05\\\/18\\\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2022-05-18T17:27:11+00:00\",\"dateModified\":\"2022-05-26T11:48:54+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#website\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/\",\"name\":\"Ridge Solutions, Software Development and Software Engineering, Ireland.\",\"description\":\"Some thoughts of a busy Computer Engineer\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)","description":"How to convert between Decimal Degrees & Minutes (DDM) to Decimal Degrees (DD). I always prefer to represent latitude and longitude as full decimal degrees (DD), I find it much simpler and you can do calculations with the values. However, other people and devices love to use the slightly (to me) esoteric Decimal Degrees and","canonical_url":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"Kyj52YLp6GOPA44PVBffo9fjW8rgWHYYRF0ZYjfy6ss","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/#article","name":"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)","headline":"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)","author":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.ridgesolutions.ie\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.ridgesolutions.ie\/wp-content\/uploads\/2013\/09\/ridge_logo1.jpg","@id":"https:\/\/www.ridgesolutions.ie\/#articleImage","width":400,"height":81},"datePublished":"2022-05-18T17:27:11+00:00","dateModified":"2022-05-26T11:48:54+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/#webpage"},"isPartOf":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/#webpage"},"articleSection":"By Ridge Solutions"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie#listItem","position":1,"name":"Home","item":"https:\/\/www.ridgesolutions.ie","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/by-kevin-godden\/#listItem","name":"By Ridge Solutions"}},{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/by-kevin-godden\/#listItem","position":2,"name":"By Ridge Solutions","item":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/by-kevin-godden\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/#listItem","name":"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/#listItem","position":3,"name":"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)","previousItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/by-kevin-godden\/#listItem","name":"By Ridge Solutions"}}]},{"@type":"Organization","@id":"https:\/\/www.ridgesolutions.ie\/#organization","name":"Ridge Solutions, Software Development and Software Engineering, Ireland.","description":"Some thoughts of a busy Computer Engineer","url":"https:\/\/www.ridgesolutions.ie\/","logo":{"@type":"ImageObject","url":"https:\/\/www.ridgesolutions.ie\/wp-content\/uploads\/2013\/09\/ridge_logo1.jpg","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/#organizationLogo","width":400,"height":81},"image":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/admin\/#author","url":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/admin\/","name":"admin","image":{"@type":"ImageObject","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0bcb44e82b647e8707b506ed8100bbeb7e4c9a889f1e6fdd152fce740e3ac9fa?s=96&d=mm&r=g","width":96,"height":96,"caption":"admin"}},{"@type":"WebPage","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/#webpage","url":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/","name":"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)","description":"How to convert between Decimal Degrees & Minutes (DDM) to Decimal Degrees (DD). I always prefer to represent latitude and longitude as full decimal degrees (DD), I find it much simpler and you can do calculations with the values. However, other people and devices love to use the slightly (to me) esoteric Decimal Degrees and","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.ridgesolutions.ie\/#website"},"breadcrumb":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/#breadcrumblist"},"author":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/admin\/#author"},"datePublished":"2022-05-18T17:27:11+00:00","dateModified":"2022-05-26T11:48:54+00:00"},{"@type":"WebSite","@id":"https:\/\/www.ridgesolutions.ie\/#website","url":"https:\/\/www.ridgesolutions.ie\/","name":"Ridge Solutions, Software Development and Software Engineering, Ireland.","description":"Some thoughts of a busy Computer Engineer","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.ridgesolutions.ie\/#organization"}}]},"og:locale":"en_US","og:site_name":"Systems and Embedded Software Engineering, Ireland. | Some thoughts of a busy Computer Engineer","og:type":"article","og:title":"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)","og:description":"How to convert between Decimal Degrees &amp; Minutes (DDM) to Decimal Degrees (DD). I always prefer to represent latitude and longitude as full decimal degrees (DD), I find it much simpler and you can do calculations with the values. However, other people and devices love to use the slightly (to me) esoteric Decimal Degrees and","og:url":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/","article:published_time":"2022-05-18T16:27:11+00:00","article:modified_time":"2022-05-26T10:48:54+00:00","twitter:card":"summary","twitter:title":"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)","twitter:description":"How to convert between Decimal Degrees &amp; Minutes (DDM) to Decimal Degrees (DD). I always prefer to represent latitude and longitude as full decimal degrees (DD), I find it much simpler and you can do calculations with the values. However, other people and devices love to use the slightly (to me) esoteric Decimal Degrees and"},"aioseo_meta_data":{"post_id":"2888","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"aioseo-article-634e9f416530a","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-05-18 14:56:10","updated":"2026-08-07 16:46:46","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ridgesolutions.ie\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ridgesolutions.ie\/index.php\/category\/by-kevin-godden\/\" title=\"By Ridge Solutions\">By Ridge Solutions<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCode Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.ridgesolutions.ie"},{"label":"By Ridge Solutions","link":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/by-kevin-godden\/"},{"label":"Code Example: Convert Decimal Degrees and Minutes (DDM) to Decimal Degrees (DD)","link":"https:\/\/www.ridgesolutions.ie\/index.php\/2022\/05\/18\/code-example-convert-decimal-degrees-minutes-ddm-to-decimal-degrees-dd\/"}],"_links":{"self":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/posts\/2888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/comments?post=2888"}],"version-history":[{"count":0,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/posts\/2888\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/media?parent=2888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/categories?post=2888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/tags?post=2888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}