Skip to content

mapping introduction

6 messages · Tom Sgouros, Dylan Beaudette, Roger Bivand +2 more

#
Hello all:

I was referred to this list when I asked a question on the r-help list
about mapping.  Unfortunately, I seem to be a little late to the party,
and a couple of weeks of monitoring the traffic have left me no more
enlightened than I was before, since it seems that the questions asked
are generally at a level I haven't approached yet.

I am an R user who wants to learn to make maps.  I have been using R to
analyze data associated with cities and towns in my area, and would
like to figure out how to get that data onto a map, but I'm having a
hard time seeing where to begin.

Assuming that I'm starting pretty much from zero, where can I start
reading in order to learn what is possible?  (And what to use to achieve
it.) 

I'm also a little confused about whether people use R as a GIS stand-in,
or whether they use some GIS package, and then use R as an adjunct.  If
the latter, can anyone recommend GNU or other freeware GIS packages to
learn about?  How about books to learn about them with?

Many thanks for your indulgence,

 -Tom
#
On Saturday 24 November 2007 02:04:17 pm Tom Sgouros wrote:
Hi Tom, sorry to hear that you haven't discovered what you were looking for 
yet. Here are some comments / suggestions.
R is one of those applications which takes some time to get into. I have been 
a graduate student for a couple years now, and it took three attempts to get 
over the initial "activation energy" required for me to feel comfortable with 
R. That said, persistence was really the key factor in getting there.
Now that you are familiar with working in R, it might be a good idea to become 
familiar with basic GIS concepts. There are a number of open source tools 
which can be used for GIS work, and quite a large community in the form of 
mailing lists / IRC channels. There are a number of books which should be 
coming out in the next couple of months which cover the wide range of open 
source GIS software.
Most of what I have learned about spatial statistics in R has been from a 
collection of books on R, R newsletter articles, and misc. online tutorials. 
Here is a link to some tutorials which illustrate using GRASS and R:

http://casoilresource.lawr.ucdavis.edu/drupal/node/438
Since *most* R operations occur in memory, GIS operations on large datasets 
are best done in a dedicated GIS app like GRASS. For most of my work GRASS, 
GMT, PostGIS, R, and Mapserver are a tough combination to beat.
See above suggestions. There should be two books out soon which are dedicated 
to opensource GIS applications- I would keep an eye out for these.

Cheers,

Dylan
#
On Sat, 24 Nov 2007, Dylan Beaudette wrote:

            
In addition to Dylen's helpful reply, you might like to review the 
"Spatial" Task View on your local CRAN mirror, and the Rgeo website linked 
from the Task View. There are many possible choices, but using the classes 
and methods in the sp package may suit you. They are reviewed in a note in 
R News (2005 (2), pp. 9-13), in an online e-seminar at:

http://www.geog.uu.nl/~pebesma/wun/

and in courses and tutorials such as:

http://www.bias-project.org.uk/ASDARcourse/

Hope this helps,

Roger

  
    
#
Hi Tom:

Good question. The information on GIS/Mapping and R (as well as other 
open-source software tools)
is somewhat decentralized, but there is a great deal of high-quality 
information available if you
know where to look -

One place that you might start is the CRAN task view for spatial data 
analysis:

http://cran.r-project.org/src/contrib/Views/Spatial.html

Another is a web site that we are developing here at the Center intended 
to educate ecologists
here and elsewhere on spatial analysis / mapping / GIS techniques:

http://nceas.ucsb.edu/scicomp/SolutionsCenter.html

http://nceas.ucsb.edu/scicomp/SciCompDocuments.html

These sites have many links to spatial data analysis resources;
we are adding to these sites on a regular basis.

Another very good site is maintained by the Soil Resource lab at UC Davis:

http://casoilresource.lawr.ucdavis.edu/drupal/taxonomy_dhtml (site map)

Best Regards,
Rick Reeves
Tom Sgouros wrote:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reeves.vcf
Type: text/x-vcard
Size: 339 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20071125/e779878a/attachment.vcf>
#
Hello all:

I almost hesitate to write and thank you all for the helpful replies,
because good ones keep appearing in my inbox, and who would want to put
a stop to that?

But my gratitude overcomes my cupiditude, so thank you all very much for
the pointers.

 -Tom
#
Hello all:

I've gotten two requests asking me to post a summary of the answers I
got to my question.  The answers were dense, and will take me a bit to
assimilate, but here's my early attempt at a review.  People will, I
hope, correct where I'm screwing it up.

The overall message was not to confuse R with a GIS system.  Use a GIS
to manipulate and display geographical data; use R to analyze it.

I found this helpful:
GRASS came up frequently, as did QGIS as freeware GIS systems to try.
I'm not sure how to judge between them, but I figure frequency of
mention isn't a bad start.
I've been looking into sp, of course, but haven't yet found the
introduction that will take me from the ground floor up to its dizzying
heights.  What seems true of it is something I've noticed about a lot or
R: there is stellar reference material available, but not much in the
way of usage guides.  The working theory seems to be that you pick that
up while you're earning your statistics PhD.

Along those lines, the following is a rich vein of information, but most
of it presumes you already know what you want:
On the other hand, I think the following will be quite helpful, since it
contains examples of maps similar to those I would like to create:
It seems that a lot of my confusion is in and around the division of
software labor, so this explanation has set me on what I think is the
right course:
So my plan right now is to install the maptools package so I can follow
some of the course materials at bias-project.org.uk, and to install
GRASS or QGIS in the hope that one of them can help me convert the
ESRI-format political boundary map files available from my local
planning offices into something that R can munch on.  (I'm pretty sure
I'll be back seeking all your indulgence sometime then.)  For the moment,
I expect that the mapping I'll do will be via maptools, since the
immediate need is pretty rudimentary.  I still know nothing about GRASS
and QGIS (but will soon) so don't yet know whether I can produce
print-quality (hi-res, vector graphic axes and fonts) maps from them,
but I hope so.  (And I'll be checking out GMT, too.)

So that's what I learned this weekend.  Many thanks again for all the
advice.

 -tom
tom sgouros <tomfool at as220.org> wrote: