{"id":265,"date":"2023-03-29T13:29:36","date_gmt":"2023-03-29T13:29:36","guid":{"rendered":"https:\/\/mapio.cymru\/?p=265"},"modified":"2023-03-29T13:51:57","modified_gmt":"2023-03-29T13:51:57","slug":"offer-mapio-cymru-map-cymraeg","status":"publish","type":"post","link":"https:\/\/mapio.cymru\/en\/2023\/03\/offer-mapio-cymru-map-cymraeg\/","title":{"rendered":"Command-line tools for you to create an OpenStreetMap-derived base map in the Welsh language"},"content":{"rendered":"<p>All the custom code which we use for the <a href=\"https:\/\/openstreetmap.cymru\/\">Mapio Cymru Welsh-language map server<\/a> is now available in a <a href=\"https:\/\/github.com\/carlmorris\/offer-mapio-cymru-tools\">repository<\/a>.<\/p>\n<p>This will be of particular interest if you want to provision your own server which produces map tiles in the Welsh language (or perhaps a different language of your preference). All code is licensed under GPL, allowing you to run it for any purpose, modify it, and redistribute it.<\/p>\n<p>Please note that a basic knowledge of how to use the Linux command line is assumed.<\/p>\n<p>The main tool is a Lua script called cartonamecy2name.lua which is run when importing data. It determines the name to be stored in the database, for any given entity on the map. OSM data is the main source for Mapio Cymru, particularly the <em>name:cy<\/em> and <em>name<\/em> tags, and also Wikidata name information via OSM&#8217;s <em>wikidata<\/em> tag. In editing these sources we also refer to open data from the <a href=\"https:\/\/www.welshlanguagecommissioner.wales\/policy-and-research\/welsh-place-names\">Welsh Language Commissioner<\/a>.<\/p>\n<p>Many more details are given in the README file in the <a href=\"https:\/\/github.com\/carlmorris\/offer-mapio-cymru-tools\">repository<\/a>, including step-by-step instructions for use.<\/p>\n<p>If you just want to use a Welsh-language map which already exists, ignore the above and head to <a href=\"https:\/\/openstreetmap.cymru\/\">openstreetmap.cymru<\/a>!<\/p>","protected":false},"excerpt":{"rendered":"<p>All the custom code which we use for the Mapio Cymru Welsh-language map server is now available in a repository. This will be of particular interest if you want to provision your own server which produces map tiles in the Welsh language (or perhaps a different language of your preference). All code is licensed under [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[58,56,55,57,37],"class_list":["post-265","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-canllawiau","tag-cod-agored","tag-github","tag-lua","tag-meddalwedd-rydd","tag-openstreetmap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Command-line tools for you to create an OpenStreetMap-derived base map in the Welsh language - Mapio Cymru<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mapio.cymru\/en\/2023\/03\/offer-mapio-cymru-map-cymraeg\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Command-line tools for you to create an OpenStreetMap-derived base map in the Welsh language - Mapio Cymru\" \/>\n<meta property=\"og:description\" content=\"All the custom code which we use for the Mapio Cymru Welsh-language map server is now available in a repository. This will be of particular interest if you want to provision your own server which produces map tiles in the Welsh language (or perhaps a different language of your preference). All code is licensed under [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mapio.cymru\/en\/2023\/03\/offer-mapio-cymru-map-cymraeg\/\" \/>\n<meta property=\"og:site_name\" content=\"Mapio Cymru\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-29T13:29:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-29T13:51:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mapio.cymru\/wp-content\/uploads\/2023\/03\/mapio-cymru-map-abertawe.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"542\" \/>\n\t<meta property=\"og:image:height\" content=\"335\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Carl Morris\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Carl Morris\" \/>\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\":\"https:\\\/\\\/mapio.cymru\\\/2023\\\/03\\\/offer-mapio-cymru-map-cymraeg\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mapio.cymru\\\/2023\\\/03\\\/offer-mapio-cymru-map-cymraeg\\\/\"},\"author\":{\"name\":\"Carl Morris\",\"@id\":\"https:\\\/\\\/mapio.cymru\\\/#\\\/schema\\\/person\\\/1c23e0f158d5ea179435a2349c3214c8\"},\"headline\":\"Command-line tools for you to create an OpenStreetMap-derived base map in the Welsh language\",\"datePublished\":\"2023-03-29T13:29:36+00:00\",\"dateModified\":\"2023-03-29T13:51:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mapio.cymru\\\/2023\\\/03\\\/offer-mapio-cymru-map-cymraeg\\\/\"},\"wordCount\":428,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/mapio.cymru\\\/2023\\\/03\\\/offer-mapio-cymru-map-cymraeg\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mapio.cymru\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/mapio-cymru-map-abertawe.jpg\",\"keywords\":[\"open source\",\"Github\",\"Lua\",\"meddalwedd rydd\",\"OpenStreetMap\"],\"articleSection\":[\"Guides\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/mapio.cymru\\\/2023\\\/03\\\/offer-mapio-cymru-map-cymraeg\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mapio.cymru\\\/en\\\/2023\\\/03\\\/offer-mapio-cymru-map-cymraeg\\\/\",\"url\":\"https:\\\/\\\/mapio.cymru\\\/en\\\/2023\\\/03\\\/offer-mapio-cymru-map-cymraeg\\\/\",\"name\":\"Command-line tools for you to create an OpenStreetMap-derived base map in the Welsh language - Mapio Cymru\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mapio.cymru\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mapio.cymru\\\/en\\\/2023\\\/03\\\/offer-mapio-cymru-map-cymraeg\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mapio.cymru\\\/2023\\\/03\\\/offer-mapio-cymru-map-cymraeg\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mapio.cymru\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/mapio-cymru-map-abertawe.jpg\",\"datePublished\":\"2023-03-29T13:29:36+00:00\",\"dateModified\":\"2023-03-29T13:51:57+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/mapio.cymru\\\/#\\\/schema\\\/person\\\/1c23e0f158d5ea179435a2349c3214c8\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mapio.cymru\\\/en\\\/2023\\\/03\\\/offer-mapio-cymru-map-cymraeg\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[[\"https:\\\/\\\/mapio.cymru\\\/en\\\/2023\\\/03\\\/offer-mapio-cymru-map-cymraeg\\\/\"]]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mapio.cymru\\\/en\\\/2023\\\/03\\\/offer-mapio-cymru-map-cymraeg\\\/#primaryimage\",\"url\":\"https:\\\/\\\/mapio.cymru\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/mapio-cymru-map-abertawe.jpg\",\"contentUrl\":\"https:\\\/\\\/mapio.cymru\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/mapio-cymru-map-abertawe.jpg\",\"width\":542,\"height\":335},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mapio.cymru\\\/en\\\/2023\\\/03\\\/offer-mapio-cymru-map-cymraeg\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mapio.cymru\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Teclynnau llinell orchymyn i chi greu map OpenStreetMap yn Gymraeg\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mapio.cymru\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/mapio.cymru\\\/en\\\/\",\"name\":\"Mapio Cymru\",\"description\":\"We are mapping Wales in the Welsh language\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mapio.cymru\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mapio.cymru\\\/#\\\/schema\\\/person\\\/1c23e0f158d5ea179435a2349c3214c8\",\"name\":\"Carl Morris\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ce0b6535b657764bdba3be40bf9acf37705ae25f41c612d18e94f00c13570330?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ce0b6535b657764bdba3be40bf9acf37705ae25f41c612d18e94f00c13570330?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ce0b6535b657764bdba3be40bf9acf37705ae25f41c612d18e94f00c13570330?s=96&d=mm&r=g\",\"caption\":\"Carl Morris\"},\"sameAs\":[\"https:\\\/\\\/morris.cymru\"],\"url\":\"https:\\\/\\\/mapio.cymru\\\/en\\\/author\\\/carlmorris\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Command-line tools for you to create an OpenStreetMap-derived base map in the Welsh language - Mapio Cymru","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":"https:\/\/mapio.cymru\/en\/2023\/03\/offer-mapio-cymru-map-cymraeg\/","og_locale":"en_US","og_type":"article","og_title":"Command-line tools for you to create an OpenStreetMap-derived base map in the Welsh language - Mapio Cymru","og_description":"All the custom code which we use for the Mapio Cymru Welsh-language map server is now available in a repository. This will be of particular interest if you want to provision your own server which produces map tiles in the Welsh language (or perhaps a different language of your preference). All code is licensed under [&hellip;]","og_url":"https:\/\/mapio.cymru\/en\/2023\/03\/offer-mapio-cymru-map-cymraeg\/","og_site_name":"Mapio Cymru","article_published_time":"2023-03-29T13:29:36+00:00","article_modified_time":"2023-03-29T13:51:57+00:00","og_image":[{"width":542,"height":335,"url":"https:\/\/mapio.cymru\/wp-content\/uploads\/2023\/03\/mapio-cymru-map-abertawe.jpg","type":"image\/jpeg"}],"author":"Carl Morris","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Carl Morris","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mapio.cymru\/2023\/03\/offer-mapio-cymru-map-cymraeg\/#article","isPartOf":{"@id":"https:\/\/mapio.cymru\/2023\/03\/offer-mapio-cymru-map-cymraeg\/"},"author":{"name":"Carl Morris","@id":"https:\/\/mapio.cymru\/#\/schema\/person\/1c23e0f158d5ea179435a2349c3214c8"},"headline":"Command-line tools for you to create an OpenStreetMap-derived base map in the Welsh language","datePublished":"2023-03-29T13:29:36+00:00","dateModified":"2023-03-29T13:51:57+00:00","mainEntityOfPage":{"@id":"https:\/\/mapio.cymru\/2023\/03\/offer-mapio-cymru-map-cymraeg\/"},"wordCount":428,"commentCount":0,"image":{"@id":"https:\/\/mapio.cymru\/2023\/03\/offer-mapio-cymru-map-cymraeg\/#primaryimage"},"thumbnailUrl":"https:\/\/mapio.cymru\/wp-content\/uploads\/2023\/03\/mapio-cymru-map-abertawe.jpg","keywords":["open source","Github","Lua","meddalwedd rydd","OpenStreetMap"],"articleSection":["Guides"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mapio.cymru\/2023\/03\/offer-mapio-cymru-map-cymraeg\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mapio.cymru\/en\/2023\/03\/offer-mapio-cymru-map-cymraeg\/","url":"https:\/\/mapio.cymru\/en\/2023\/03\/offer-mapio-cymru-map-cymraeg\/","name":"Command-line tools for you to create an OpenStreetMap-derived base map in the Welsh language - Mapio Cymru","isPartOf":{"@id":"https:\/\/mapio.cymru\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mapio.cymru\/en\/2023\/03\/offer-mapio-cymru-map-cymraeg\/#primaryimage"},"image":{"@id":"https:\/\/mapio.cymru\/2023\/03\/offer-mapio-cymru-map-cymraeg\/#primaryimage"},"thumbnailUrl":"https:\/\/mapio.cymru\/wp-content\/uploads\/2023\/03\/mapio-cymru-map-abertawe.jpg","datePublished":"2023-03-29T13:29:36+00:00","dateModified":"2023-03-29T13:51:57+00:00","author":{"@id":"https:\/\/mapio.cymru\/#\/schema\/person\/1c23e0f158d5ea179435a2349c3214c8"},"breadcrumb":{"@id":"https:\/\/mapio.cymru\/en\/2023\/03\/offer-mapio-cymru-map-cymraeg\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":[["https:\/\/mapio.cymru\/en\/2023\/03\/offer-mapio-cymru-map-cymraeg\/"]]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mapio.cymru\/en\/2023\/03\/offer-mapio-cymru-map-cymraeg\/#primaryimage","url":"https:\/\/mapio.cymru\/wp-content\/uploads\/2023\/03\/mapio-cymru-map-abertawe.jpg","contentUrl":"https:\/\/mapio.cymru\/wp-content\/uploads\/2023\/03\/mapio-cymru-map-abertawe.jpg","width":542,"height":335},{"@type":"BreadcrumbList","@id":"https:\/\/mapio.cymru\/en\/2023\/03\/offer-mapio-cymru-map-cymraeg\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mapio.cymru\/en\/"},{"@type":"ListItem","position":2,"name":"Teclynnau llinell orchymyn i chi greu map OpenStreetMap yn Gymraeg"}]},{"@type":"WebSite","@id":"https:\/\/mapio.cymru\/en\/#website","url":"https:\/\/mapio.cymru\/en\/","name":"Mapio Cymru","description":"We are mapping Wales in the Welsh language","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mapio.cymru\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mapio.cymru\/#\/schema\/person\/1c23e0f158d5ea179435a2349c3214c8","name":"Carl Morris","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ce0b6535b657764bdba3be40bf9acf37705ae25f41c612d18e94f00c13570330?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ce0b6535b657764bdba3be40bf9acf37705ae25f41c612d18e94f00c13570330?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ce0b6535b657764bdba3be40bf9acf37705ae25f41c612d18e94f00c13570330?s=96&d=mm&r=g","caption":"Carl Morris"},"sameAs":["https:\/\/morris.cymru"],"url":"https:\/\/mapio.cymru\/en\/author\/carlmorris\/"}]}},"_links":{"self":[{"href":"https:\/\/mapio.cymru\/en\/wp-json\/wp\/v2\/posts\/265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mapio.cymru\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mapio.cymru\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mapio.cymru\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mapio.cymru\/en\/wp-json\/wp\/v2\/comments?post=265"}],"version-history":[{"count":2,"href":"https:\/\/mapio.cymru\/en\/wp-json\/wp\/v2\/posts\/265\/revisions"}],"predecessor-version":[{"id":269,"href":"https:\/\/mapio.cymru\/en\/wp-json\/wp\/v2\/posts\/265\/revisions\/269"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mapio.cymru\/en\/wp-json\/wp\/v2\/media\/268"}],"wp:attachment":[{"href":"https:\/\/mapio.cymru\/en\/wp-json\/wp\/v2\/media?parent=265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mapio.cymru\/en\/wp-json\/wp\/v2\/categories?post=265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mapio.cymru\/en\/wp-json\/wp\/v2\/tags?post=265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}