Hi,

I am used to work with ArcGIS but I am new to R spatial functionalities.
So, I have been searching in the archives of this list, but did not find a
previous question exaclty on what I have to accomplish.

It is the following. I have two shapefiles, one with US city and town
divisions, where each polygon is a city/town (UScities.shp) and another
with some US religious groups, where polygons represent the area where
there are significant followers of a given religion (USrelig.shp).

So, in UScities.shp of course the polygons do not overlap. While in
USrelig.shp polygons do overlap, since followers from different religions
can be present in the same place.

What I want do is to count how many religious groups according to
USrelig.shp there are in each city present in UScities.shp. It means, to
count how many polygons overlap in USrelig.shp for each polygon division
given by UScities.shp.


Is there a way to do that in R? Thanks in advance for any tip you may have
on this task.

Bernj

	[[alternative HTML version deleted]]

