{"id":285,"date":"2013-05-25T06:23:00","date_gmt":"2013-05-25T06:23:00","guid":{"rendered":"http:\/\/dbbd.sg\/blog\/uncategorized\/a-map-of-all-the-s-a-m-locations-in-singapore\/"},"modified":"2021-05-13T07:38:59","modified_gmt":"2021-05-13T07:38:59","slug":"a-map-of-all-the-s-a-m-locations-in-singapore","status":"publish","type":"post","link":"https:\/\/dbbd.sg\/blog\/2013\/05\/a-map-of-all-the-s-a-m-locations-in-singapore\/","title":{"rendered":"A Map of all the S.A.M locations in Singapore"},"content":{"rendered":"<p><center><img loading=\"lazy\" class=\"alignnone size-full wp-image-1235\" src=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/05\/8822233444_032579f89a_o.png\" width=\"292\" height=\"330\" alt=\"Screen Shot 2013-05-25 at 2.30.19 PM.png\" srcset=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/05\/8822233444_032579f89a_o.png 292w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/05\/8822233444_032579f89a_o-265x300.png 265w\" sizes=\"(max-width: 292px) 100vw, 292px\" \/><\/center><br \/>\nI was trying to find a map to see all the <a href=\"http:\/\/www.singpost.com\/our-network\/sam.html\">S.A.M (Self-service Automated Machines) locations in Singapore<\/a> but for some reason all the information from Singpost could only be found in the form of a flattened PDF which was generated from a XLS file and a very limited map searching function. I could not simply &#8220;see&#8221; all the locations of the S.A.M at once.<\/p>\n<p><center><img loading=\"lazy\" class=\"alignnone size-full wp-image-1240\" src=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/05\/8819983112_71b7d80a67_o.png\" width=\"774\" height=\"563\" alt=\"Screen Shot 2013-05-25 at 3.59.19 AM.png\" srcset=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/05\/8819983112_71b7d80a67_o.png 774w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/05\/8819983112_71b7d80a67_o-300x218.png 300w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/05\/8819983112_71b7d80a67_o-768x559.png 768w\" sizes=\"(max-width: 774px) 100vw, 774px\" \/><\/center>GRRRR! Why only allow one to see a few spots in one area at a time?<br \/>\nAnd whose idea was it to distribute it as a flattened PDF?<br \/>\nSo I attempted to spend one pomodoro rectifying this by making the quickest possible map of all the locations.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-1242\" src=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/05\/8811527411_055784ffdf_c.jpg\" width=\"799\" height=\"423\" alt=\"Screen Shot 2013-05-24 at 6.23.23 PM.png\" srcset=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/05\/8811527411_055784ffdf_c.jpg 799w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/05\/8811527411_055784ffdf_c-300x159.jpg 300w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/05\/8811527411_055784ffdf_c-768x407.jpg 768w\" sizes=\"(max-width: 799px) 100vw, 799px\" \/><\/p>\n<p>Copied the ridiculous PDF table over to Google Docs using Adobe Acrobat Pro&#8217;s &#8220;copy as table&#8221; function (if you do not specifically select &#8220;copy as table&#8221;, it will copy it over as data on a single field, causing pain and agony to anyone hoping to use the information in a useful manner.) After more than one pomodoro of hair-pulling, I cleaned up the data and used a &#8220;batch geocode&#8221; script to get the lat\/lon of each point. Dropped it into cartodb and DONE! A map showing ALL the S.A.M locations in Singapore at once. Couldn&#8217;t even be bothered to change the map from its default mapbox styling. Never been easier. Anyone could make a map like this.<\/p>\n<p>So, now we know&#8230; there is even a S.A.M in Sentosa?<\/p>\n<hr \/>\n<p>See also:<\/p>\n<p>&#8211; <a href=\"https:\/\/docs.google.com\/spreadsheet\/ccc?key=0AiUY-d83KcHNdFViYUlvWWR5ZDl1VG5lS3M1TnJlNnc#gid=0\">S.A.M Locations spreadsheet on Google Docs (cleaned up version)<\/a><br \/>\n&#8211; <a href=\"http:\/\/dbbd.cartodb.com\/api\/v1\/viz\/self_service_automated_machine_locations_in_singapore\/viz.json\">S.A.M Locations JSON for the above data<\/a><br \/>\n&#8211; <a href=\"http:\/\/www.cartodb.com\/\">Cartodb<\/a><br \/>\n&#8211; <a href=\"http:\/\/www.mapbox.com\/\">Mapbox<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was trying to find a map to see all the S.A.M (Self-service Automated Machines) locations in Singapore but for some reason all the information from Singpost could only be found in the form of a flattened PDF which was generated from a XLS file and a very limited map searching function. I could not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1235,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[584,666,80],"jetpack_featured_media_url":"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/05\/8822233444_032579f89a_o.png","_links":{"self":[{"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/posts\/285"}],"collection":[{"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/comments?post=285"}],"version-history":[{"count":1,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/posts\/285\/revisions"}],"predecessor-version":[{"id":1245,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/posts\/285\/revisions\/1245"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/media\/1235"}],"wp:attachment":[{"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/media?parent=285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/categories?post=285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/tags?post=285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}