<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rgdal on Yoke Keong</title><link>https://yokekeong.com/blog/rgdal/</link><description>Recent content in Rgdal on Yoke Keong</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 05 May 2015 11:00:06 +0000</lastBuildDate><atom:link href="https://yokekeong.com/blog/rgdal/index.xml" rel="self" type="application/rss+xml"/><item><title>Drawing map shapes with rgdal</title><link>https://yokekeong.com/drawing-map-shapes-with-rgdal/</link><pubDate>Tue, 05 May 2015 11:00:06 +0000</pubDate><guid>https://yokekeong.com/drawing-map-shapes-with-rgdal/</guid><description>&lt;p&gt;In this post, let us explore the R package rgdal for map shape plotting. We shall attempt to plot the map of Singapore and display major road networks in Singapore.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Pre-requisites&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;To get the data you need, you can go to a GIS provider. In this post, we shall be using diva-gis.&lt;/p&gt;&#10;&lt;p&gt;Steps:&lt;/p&gt;&#10;&lt;p&gt;1. Go to: &lt;a href="http://www.diva-gis.org/gdata"&gt;http://www.diva-gis.org/gdata&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;2. Select &amp;lsquo;Spatial Data Download&amp;rsquo;&lt;/p&gt;&#10;&lt;p&gt;3. Select Country = &amp;lsquo;Singapore&amp;rsquo;&lt;/p&gt;&#10;&lt;p&gt;4. Select Subject = &amp;lsquo;Administrative areas (GADM)&amp;rsquo;&lt;/p&gt;</description></item></channel></rss>