<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4538943117874221408</id><updated>2024-09-11T10:11:57.517-07:00</updated><category term="R"/><category term="GIS"/><category term="GoogleVis"/><category term="spatial"/><category term="Imap"/><category term="Interactive"/><category term="Iplots"/><category term="Java"/><category term="Statistical analysis"/><category term="WGS84"/><category term="chart tools"/><category term="coordinate systme"/><category term="limit"/><category term="maps"/><category term="open source"/><category term="rJava"/><title type='text'>Developing Interactive Maps</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://inter-maps.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4538943117874221408/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://inter-maps.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ebrahim Jahanshiri</name><uri>http://www.blogger.com/profile/01292357777579545280</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHawNELiKgydS6iIQKl3-J4iwXNjyg6b6xcBgq7HG3Kpejh8UWLOhdr3UqzFze0JGjyHrmt7LJCxmdykehnOdSxpLKK1stz_N6p3_LnfahQKozBl2UXGHour_juNuyYQ/s220/PIC050.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4538943117874221408.post-6462891382439885304</id><published>2012-10-27T22:37:00.002-07:00</published><updated>2012-10-27T22:38:31.641-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GIS"/><category scheme="http://www.blogger.com/atom/ns#" term="R"/><category scheme="http://www.blogger.com/atom/ns#" term="spatial"/><category scheme="http://www.blogger.com/atom/ns#" term="Statistical analysis"/><title type='text'>Why I insist on having GIS functionalities in R?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There are a host of softwares that do GIS functionalities. Some of them are based on the image analysis and many of them are focusing on the spatial analysis. Some of them are proprietary and many are freeware and open source. A big chunk of &quot;spatial analysis&quot; capability in GIS is to do &quot;statistical analysis&quot; on the geographic data. This part has been neglected in many of the GIS softwares. Primarily due to the satisfying effect of maps on derivation of final conclusions about the spatial effects. This view however is increasingly changing as the assurances that a scientific conclusion and more importantly statistical analysis can provide for different dsiciplines is un-matched.&lt;br /&gt;
Among the most promising and free software for the spatial data analysis, &lt;a href=&quot;http://www.r-project.org/&quot; target=&quot;_blank&quot;&gt;R&lt;/a&gt; has emerged as the force to reckon with. The number of functions and formulas in the spatial analysis papers that can be used for data analysis is increasingly high in R (although other software like &lt;a href=&quot;https://geodacenter.asu.edu/software/downloads&quot; target=&quot;_blank&quot;&gt;Goda &lt;/a&gt;are also very good in providing&amp;nbsp; functions for the analysis). However the nature of R which relies on two things community development and community help shows more promise. Over the past decade we have seen treamendous development in R spatial packages. These packages and functions although very useful, they need to be tested in the community and improved by the volunteer developers. As such, some of the primary functions of GIS are missing in R. For example despite rich facilities in R for visualization, a straiforward map representation and interactive map facility is missing in R. Some might say, it is not there because it shouldnt be there. R is statistical analysis software not a GIS. The answer to that I think is simply the promise of open source and power of community. If some people someday decide to add an inherent visaulizaiton capability to R it would not be a problem.&lt;br /&gt;
Some have developed a workaround for this problem which is the connection to the open source GIS software like SAGA, GRASS and so on which in my opinion is not very straightforward. I will try to discuss these possibilities in the future posts. &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://inter-maps.blogspot.com/feeds/6462891382439885304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inter-maps.blogspot.com/2012/10/why-i-insist-on-having-gis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4538943117874221408/posts/default/6462891382439885304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4538943117874221408/posts/default/6462891382439885304'/><link rel='alternate' type='text/html' href='http://inter-maps.blogspot.com/2012/10/why-i-insist-on-having-gis.html' title='Why I insist on having GIS functionalities in R?'/><author><name>Ebrahim Jahanshiri</name><uri>http://www.blogger.com/profile/01292357777579545280</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHawNELiKgydS6iIQKl3-J4iwXNjyg6b6xcBgq7HG3Kpejh8UWLOhdr3UqzFze0JGjyHrmt7LJCxmdykehnOdSxpLKK1stz_N6p3_LnfahQKozBl2UXGHour_juNuyYQ/s220/PIC050.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4538943117874221408.post-8955367754395756327</id><published>2012-10-23T18:59:00.002-07:00</published><updated>2012-10-23T18:59:55.611-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Imap"/><category scheme="http://www.blogger.com/atom/ns#" term="Iplots"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="R"/><category scheme="http://www.blogger.com/atom/ns#" term="rJava"/><title type='text'>Imap function in package iplots</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Through my search I found the function imap() from the package &quot;iplots&quot;. This is as the author puts: &quot;&lt;a href=&quot;http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=iplots:imap&quot; target=&quot;_blank&quot;&gt;Note: this function is currently experimental and it may change in thefuture.&lt;/a&gt;
&quot; It indeed can create an interactive map but the arguments are very limited and I couldnt figure out how can I do the things I want to do (like showing the attributes by clicking on one feature and overlaying results) with this package.&lt;br /&gt;
This function relies on Java for run-time which could be an advantage (rich Java environement) and also a disadvantage (needs the package rJava which in turn needs a Java SDK installation on any machine your want to run it).&lt;br /&gt;
For now I think I will leave this function to expand my search. &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://inter-maps.blogspot.com/feeds/8955367754395756327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inter-maps.blogspot.com/2012/10/imap-function-in-package-iplots.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4538943117874221408/posts/default/8955367754395756327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4538943117874221408/posts/default/8955367754395756327'/><link rel='alternate' type='text/html' href='http://inter-maps.blogspot.com/2012/10/imap-function-in-package-iplots.html' title='Imap function in package iplots'/><author><name>Ebrahim Jahanshiri</name><uri>http://www.blogger.com/profile/01292357777579545280</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHawNELiKgydS6iIQKl3-J4iwXNjyg6b6xcBgq7HG3Kpejh8UWLOhdr3UqzFze0JGjyHrmt7LJCxmdykehnOdSxpLKK1stz_N6p3_LnfahQKozBl2UXGHour_juNuyYQ/s220/PIC050.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4538943117874221408.post-6321796114124876817</id><published>2012-10-23T18:49:00.000-07:00</published><updated>2012-10-23T18:53:23.038-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="coordinate systme"/><category scheme="http://www.blogger.com/atom/ns#" term="GoogleVis"/><category scheme="http://www.blogger.com/atom/ns#" term="limit"/><category scheme="http://www.blogger.com/atom/ns#" term="WGS84"/><title type='text'>GoogleVis Limitations</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Now finding GoogleVis is a major discovery for me but I encoutered two problems with this tool:&lt;br /&gt;
1- Since my data is in other coordinate systems, I need to transform it into WGS84 so that it is overlayable on the Google maps. My data are the point data (referring to the house positions) so it is really awkward to see a point on Google map refereing to a house location to be shown on road or empty land!. I had the same problem overlaying my data on the Google Earth/Maps and it seems that it is the end of the road for me on that issue unless I find a way to do the corrections in the coordinates! .. have to brush up my GIS knowledge.&lt;br /&gt;
2- The even bigger problem is the problem of limitation on the number of points or entities your can do overlay on. It is only 400 points to be more exact. So if you have more than that, the function will truncate the data set and will show a prompt on the top left of your map screen about that. I think this is a limitation from the Google server.&lt;br /&gt;
If I can solve my first problem, then I will try to find a way to solve the second problem too. But the first problem is more dire.&lt;br /&gt;
I am looking to find a platform so that I can have my map shown then the results of analysis are shown on the map (most likely in the form of points) and then here comes the &quot;inter-active&quot; parts so that the user can click on the points and get the information. Further I think I will need to find a way to give the user the freedom to change the attributes and see the results of that online..... &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://inter-maps.blogspot.com/feeds/6321796114124876817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inter-maps.blogspot.com/2012/10/googlevis-limitations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4538943117874221408/posts/default/6321796114124876817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4538943117874221408/posts/default/6321796114124876817'/><link rel='alternate' type='text/html' href='http://inter-maps.blogspot.com/2012/10/googlevis-limitations.html' title='GoogleVis Limitations'/><author><name>Ebrahim Jahanshiri</name><uri>http://www.blogger.com/profile/01292357777579545280</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHawNELiKgydS6iIQKl3-J4iwXNjyg6b6xcBgq7HG3Kpejh8UWLOhdr3UqzFze0JGjyHrmt7LJCxmdykehnOdSxpLKK1stz_N6p3_LnfahQKozBl2UXGHour_juNuyYQ/s220/PIC050.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4538943117874221408.post-695568146816032405</id><published>2012-10-23T18:17:00.001-07:00</published><updated>2012-10-23T18:52:21.484-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chart tools"/><category scheme="http://www.blogger.com/atom/ns#" term="GoogleVis"/><category scheme="http://www.blogger.com/atom/ns#" term="R"/><title type='text'>The magnificent GoogleVis</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
We can find a (Google) map on almost any website and blog these days. And we are so lucky that companies like Google took the initiative to create good maps and their associated interfaces like Google Earth. But I think the best contribution is the ability to overlay results of analysis on the Google maps. Several API&#39;s have been developed to do this kinds of works. For my goal I found an API named &quot;&lt;a href=&quot;https://developers.google.com/chart/&quot; target=&quot;_blank&quot;&gt;Google Chart Tools&lt;/a&gt;, formerly known as Google Visualisation
API&quot; and a &lt;a href=&quot;http://cran.r-project.org/web/packages/googleVis/index.html&quot; target=&quot;_blank&quot;&gt;R package&lt;/a&gt; that gives you the ability to overlay your results on the Google maps. I found it to be usefull to overlays some of the results on beautiful maps from Google (finding a good map that you can overlay your results could give you a headache!). Below I summarize the things that are needed to overlay your point based results:&lt;br /&gt;
1- Read your data into R as a data frame.&lt;br /&gt;
2- Create filed or column called &quot;LatLong&quot; in that data frame that binds the latitudes and longitudes as a string character in this way: &quot;lat:long&quot;.&lt;br /&gt;
Tip: If your data is projected you need to transform your coordinates and remember the X is longitude!.&lt;br /&gt;
3- Use the function gvisMap() that only needs 3 arguments (name of data frame, &quot;latlong&quot;, &quot;a column name in your data frame&quot;) to create your HTML output.&lt;br /&gt;
4- Use plot() command to fire up the browser and show the over lay. (Example below:)&lt;/div&gt;
&lt;!-- GeoMap generated in R 2.15.1 by googleVis 0.3.1 package --&gt;
&lt;!-- Wed Oct 24 09:24:53 2012 --&gt;


&lt;!-- jsHeader --&gt;
&lt;script src=&quot;http://www.google.com/jsapi&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
 
// jsData 
function gvisDataGeoMapIDd5479cd4481 ()
{
  var data = new google.visualization.DataTable();
  var datajson =
[
 [
 &quot;Afghanistan&quot;,
13 
],
[
 &quot;Africa&quot;,
29 
],
[
 &quot;Albania&quot;,
12 
],
[
 &quot;Algeria&quot;,
5 
],
[
 &quot;Angola&quot;,
24 
],
[
 &quot;Argentina&quot;,
7 
],
[
 &quot;Armenia&quot;,
4 
],
[
 &quot;Asia&quot;,
12 
],
[
 &quot;Azerbaijan&quot;,
7 
],
[
 &quot;Bahrain&quot;,
5 
],
[
 &quot;Bangladesh&quot;,
13 
],
[
 &quot;Belarus&quot;,
5 
],
[
 &quot;Belize&quot;,
40 
],
[
 &quot;Benin&quot;,
46 
],
[
 &quot;Bhutan&quot;,
18 
],
[
 &quot;Bolivia (Plurinational State of)&quot;,
26 
],
[
 &quot;Bosnia and Herzegovina&quot;,
5 
],
[
 &quot;Botswana&quot;,
9 
],
[
 &quot;Brazil&quot;,
3 
],
[
 &quot;Burkina Faso&quot;,
38 
],
[
 &quot;Burundi&quot;,
19 
],
[
 &quot;Cambodia&quot;,
39 
],
[
 &quot;Cameroon&quot;,
31 
],
[
 &quot;Cape Verde&quot;,
3 
],
[
 &quot;CEE/CIS&quot;,
5 
],
[
 &quot;Central African Republic&quot;,
47 
],
[
 &quot;Chad&quot;,
48 
],
[
 &quot;Chile&quot;,
3 
],
[
 &quot;Colombia&quot;,
9 
],
[
 &quot;Comoros&quot;,
27 
],
[
 &quot;Congo&quot;,
25 
],
[
 &quot;Costa Rica&quot;,
5 
],
[
 &quot;Côte d&#39;Ivoire&quot;,
35 
],
[
 &quot;Democratic Republic of the Congo&quot;,
42 
],
[
 &quot;Developing Countries/Territories&quot;,
17 
],
[
 &quot;Djibouti&quot;,
8 
],
[
 &quot;Dominican Republic&quot;,
10 
],
[
 &quot;East Asia and Pacific&quot;,
10 
],
[
 &quot;Eastern and Southern Africa&quot;,
33 
],
[
 &quot;Ecuador&quot;,
8 
],
[
 &quot;Egypt&quot;,
7 
],
[
 &quot;El Salvador&quot;,
5 
],
[
 &quot;Equatorial Guinea&quot;,
28 
],
[
 &quot;Ethiopia&quot;,
53 
],
[
 &quot;Gambia&quot;,
25 
],
[
 &quot;Georgia&quot;,
18 
],
[
 &quot;Ghana&quot;,
34 
],
[
 &quot;Guatemala&quot;,
21 
],
[
 &quot;Guinea&quot;,
25 
],
[
 &quot;Guinea-Bissau&quot;,
57 
],
[
 &quot;Guyana&quot;,
16 
],
[
 &quot;Haiti&quot;,
21 
],
[
 &quot;Honduras&quot;,
16 
],
[
 &quot;India&quot;,
12 
],
[
 &quot;Indonesia&quot;,
7 
],
[
 &quot;Iraq&quot;,
11 
],
[
 &quot;Jamaica&quot;,
6 
],
[
 &quot;Kazakhstan&quot;,
2 
],
[
 &quot;Kenya&quot;,
26 
],
[
 &quot;Kyrgyzstan&quot;,
4 
],
[
 &quot;Lao People&#39;s Democratic Republic&quot;,
11 
],
[
 &quot;Latin America and Caribbean&quot;,
8 
],
[
 &quot;Least Developed Countries/Territories&quot;,
29 
],
[
 &quot;Lebanon&quot;,
7 
],
[
 &quot;Lesotho&quot;,
23 
],
[
 &quot;Liberia&quot;,
21 
],
[
 &quot;Madagascar&quot;,
28 
],
[
 &quot;Malawi&quot;,
26 
],
[
 &quot;Mali&quot;,
36 
],
[
 &quot;Mauritania&quot;,
16 
],
[
 &quot;Mexico&quot;,
5 
],
[
 &quot;Middle East and North Africa&quot;,
10 
],
[
 &quot;Mongolia&quot;,
18 
],
[
 &quot;Montenegro&quot;,
10 
],
[
 &quot;Morocco&quot;,
8 
],
[
 &quot;Mozambique&quot;,
22 
],
[
 &quot;Nepal&quot;,
34 
],
[
 &quot;Nicaragua&quot;,
15 
],
[
 &quot;Niger&quot;,
43 
],
[
 &quot;Nigeria&quot;,
29 
],
[
 &quot;Panama&quot;,
7 
],
[
 &quot;Paraguay&quot;,
15 
],
[
 &quot;Peru&quot;,
34 
],
[
 &quot;Portugal&quot;,
3 
],
[
 &quot;Republic of Moldova&quot;,
16 
],
[
 &quot;Romania&quot;,
1 
],
[
 &quot;Rwanda&quot;,
35 
],
[
 &quot;Sao Tome and Principe&quot;,
8 
],
[
 &quot;Senegal&quot;,
22 
],
[
 &quot;Serbia&quot;,
4 
],
[
 &quot;Sierra Leone&quot;,
48 
],
[
 &quot;Somalia&quot;,
49 
],
[
 &quot;South Asia&quot;,
13 
],
[
 &quot;South Sudan&quot;,
13 
],
[
 &quot;Sub-Saharan Africa&quot;,
32 
],
[
 &quot;Sudan&quot;,
13 
],
[
 &quot;Suriname&quot;,
6 
],
[
 &quot;Swaziland&quot;,
9 
],
[
 &quot;Syrian Arab Republic&quot;,
4 
],
[
 &quot;Tajikistan&quot;,
10 
],
[
 &quot;Thailand&quot;,
8 
],
[
 &quot;The former Yugoslav Republic of Macedonia&quot;,
6 
],
[
 &quot;Timor-Leste&quot;,
4 
],
[
 &quot;Togo&quot;,
47 
],
[
 &quot;Trinidad and Tobago&quot;,
1 
],
[
 &quot;Turkey&quot;,
3 
],
[
 &quot;Uganda&quot;,
25 
],
[
 &quot;Ukraine&quot;,
7 
],
[
 &quot;United Republic of Tanzania&quot;,
21 
],
[
 &quot;Uruguay&quot;,
8 
],
[
 &quot;Venezuela (Bolivarian Republic of)&quot;,
8 
],
[
 &quot;Viet Nam&quot;,
16 
],
[
 &quot;Western and Central Africa&quot;,
34 
],
[
 &quot;World&quot;,
17 
],
[
 &quot;Yemen&quot;,
23 
],
[
 &quot;Zambia&quot;,
41 
] 
];
data.addColumn(&#39;string&#39;,&#39;Country&#39;);
data.addColumn(&#39;number&#39;,&#39;Percentage&#39;);
data.addRows(datajson);
return(data);
}
 
// jsDrawChart
function drawChartGeoMapIDd5479cd4481() {
  var data = gvisDataGeoMapIDd5479cd4481();
  var options = {};
options[&quot;dataMode&quot;] = &quot;regions&quot;;
options[&quot;width&quot;] =    556;
options[&quot;height&quot;] =    350;

     var chart = new google.visualization.GeoMap(
       document.getElementById(&#39;GeoMapIDd5479cd4481&#39;)
     );
     chart.draw(data,options);
    

}
  
 
// jsDisplayChart 
function displayChartGeoMapIDd5479cd4481()
{
  google.load(&quot;visualization&quot;, &quot;1&quot;, { packages:[&quot;geomap&quot;] }); 
  google.setOnLoadCallback(drawChartGeoMapIDd5479cd4481);
}
 
// jsChart 
displayChartGeoMapIDd5479cd4481()
 
&lt;!-- jsFooter &lt;/script&gt;  
//--&amp;gt;
--&amp;gt;
 
&lt;!-- divChart --&gt;
  
&lt;br /&gt;
&lt;div id=&quot;GeoMapIDd5479cd4481&quot; style=&quot;height: 350px; width: 556px;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
Data: Map • Chart ID: &lt;a href=&quot;http://www.blogger.com/Chart_GeoMapIDd5479cd4481.html&quot;&gt;GeoMapIDd5479cd4481&lt;/a&gt;&lt;br /&gt;
&lt;!-- htmlFooter --&gt;
 
R version 2.15.1 (2012-06-22) • &lt;a href=&quot;http://code.google.com/p/google-motion-charts-with-r/&quot;&gt;googleVis-0.3.1&lt;/a&gt;
• &lt;a href=&quot;https://developers.google.com/terms/&quot;&gt;Google Terms of Use&lt;/a&gt; • &lt;a href=&quot;https://google-developers.appspot.com/chart/interactive/docs/gallery/geomap.html#Data_Policy&quot;&gt;Data Policy&lt;/a&gt;
&lt;/div&gt;
&lt;br /&gt;
Here is the code for the above example (I took it from the package help page):&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;overflow: auto;&quot;&gt;
&lt;div class=&quot;geshifilter&quot;&gt;
&lt;pre class=&quot;r geshifilter-R&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;a href=&quot;http://inside-r.org/r-doc/base/library&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;library&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;googleVis&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;
&amp;nbsp;
input&amp;lt;- &lt;a href=&quot;http://inside-r.org/r-doc/utils/read.csv&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;read.csv&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&quot;data.csv&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;
&amp;nbsp;
select&amp;lt;- input&lt;span style=&quot;color: #009900;&quot;&gt;[&lt;/span&gt;&lt;a href=&quot;http://inside-r.org/r-doc/base/which&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;which&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;input$Subgroup==&lt;span style=&quot;color: blue;&quot;&gt;&quot;Total 5-14&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;]&lt;/span&gt;
&amp;nbsp;
select&amp;lt;- input&lt;span style=&quot;color: #009900;&quot;&gt;[&lt;/span&gt;&lt;a href=&quot;http://inside-r.org/r-doc/base/which&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;which&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;input$Subgroup==&lt;span style=&quot;color: blue;&quot;&gt;&quot;Total 5-14 yr&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;]&lt;/span&gt;
&amp;nbsp;
Map&amp;lt;- &lt;a href=&quot;http://inside-r.org/r-doc/base/data.frame&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;data.frame&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;select$Country.or.Area&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; select$Value&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;
&amp;nbsp;
&lt;a href=&quot;http://inside-r.org/r-doc/base/names&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;names&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://inside-r.org/r-doc/base/Map&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;Map&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&amp;lt;- &lt;a href=&quot;http://inside-r.org/r-doc/base/c&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;c&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&quot;Country&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;&quot;Percentage&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;
&amp;nbsp;
Geo=gvisGeoMap&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://inside-r.org/r-doc/base/Map&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;Map&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; locationvar=&lt;span style=&quot;color: blue;&quot;&gt;&quot;Country&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; numvar=&lt;span style=&quot;color: blue;&quot;&gt;&quot;Percentage&quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;
&lt;a href=&quot;http://inside-r.org/r-doc/base/options&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;options&lt;/span&gt;&lt;/a&gt;=&lt;a href=&quot;http://inside-r.org/r-doc/base/list&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;list&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;height=&lt;span style=&quot;color: #cc66cc;&quot;&gt;350&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; dataMode=&lt;span style=&quot;color: blue;&quot;&gt;&#39;regions&#39;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;
&lt;a href=&quot;http://inside-r.org/r-doc/base/print&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;print&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;Geo&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;a href=&quot;http://inside-r.org/r-doc/base/file&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;file&lt;/span&gt;&lt;/a&gt;=&lt;span style=&quot;color: blue;&quot;&gt;&quot;Andrew.html&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;#copy and paste the content of this html file (between the \body tags) into your blogger post or other websites.&lt;/span&gt;
&lt;a href=&quot;http://inside-r.org/r-doc/graphics/plot&quot;&gt;&lt;span style=&quot;color: #003399; font-weight: bold;&quot;&gt;plot&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;(&lt;/span&gt;Geo&lt;span style=&quot;color: #009900;&quot;&gt;)&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;a href=&quot;http://www.inside-r.org/pretty-r&quot; title=&quot;Created by Pretty R at inside-R.org&quot;&gt;Created by Pretty R at inside-R.org&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In the next post I will discuss the downside of the GoogleVis for me!. &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://inter-maps.blogspot.com/feeds/695568146816032405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inter-maps.blogspot.com/2012/10/the-magnificent-googlevis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4538943117874221408/posts/default/695568146816032405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4538943117874221408/posts/default/695568146816032405'/><link rel='alternate' type='text/html' href='http://inter-maps.blogspot.com/2012/10/the-magnificent-googlevis.html' title='The magnificent GoogleVis'/><author><name>Ebrahim Jahanshiri</name><uri>http://www.blogger.com/profile/01292357777579545280</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHawNELiKgydS6iIQKl3-J4iwXNjyg6b6xcBgq7HG3Kpejh8UWLOhdr3UqzFze0JGjyHrmt7LJCxmdykehnOdSxpLKK1stz_N6p3_LnfahQKozBl2UXGHour_juNuyYQ/s220/PIC050.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4538943117874221408.post-8743293557254422335</id><published>2012-10-23T17:50:00.001-07:00</published><updated>2012-10-23T18:51:08.861-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="GIS"/><category scheme="http://www.blogger.com/atom/ns#" term="Interactive"/><category scheme="http://www.blogger.com/atom/ns#" term="maps"/><category scheme="http://www.blogger.com/atom/ns#" term="open source"/><category scheme="http://www.blogger.com/atom/ns#" term="spatial"/><title type='text'>Interactive maps</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I am working on this project (well not yet a project. It&#39;s more like a feasibility study...) on developing a program that could be web-based and can draw &quot;interactive maps&quot;. By this I mean I want to give the user the ability to see the results of analysis on a map and also be able to interact with them. This interaction would primarily be just getting information about that entity (or it&#39;s atrributes) the attributes are coming from table columns that are coming from a manipulation of data.&lt;br /&gt;
My primary goal is to do it with open source programs namely R. I am pretty much sure that I can do my analysis (in this case a multiple regression over some variables) and derive the column and results and plot it in R. But I can seem to find a way to be able to create an environment in which the user can interact with the map i.e. interactive maps. This is considered a preliminary task in any GIS software and I have done this with for example ArcGIS from ESRI but doing it with the other tools especially the glorious open sources like R has been unsuccessfull for me so far.&lt;br /&gt;
In this blog I will try to summarize whatever I find in the course of my search to find out how I can create interactive maps. &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://inter-maps.blogspot.com/feeds/8743293557254422335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://inter-maps.blogspot.com/2012/10/interactive-maps.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4538943117874221408/posts/default/8743293557254422335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4538943117874221408/posts/default/8743293557254422335'/><link rel='alternate' type='text/html' href='http://inter-maps.blogspot.com/2012/10/interactive-maps.html' title='Interactive maps'/><author><name>Ebrahim Jahanshiri</name><uri>http://www.blogger.com/profile/01292357777579545280</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHawNELiKgydS6iIQKl3-J4iwXNjyg6b6xcBgq7HG3Kpejh8UWLOhdr3UqzFze0JGjyHrmt7LJCxmdykehnOdSxpLKK1stz_N6p3_LnfahQKozBl2UXGHour_juNuyYQ/s220/PIC050.jpg'/></author><thr:total>0</thr:total></entry></feed>