Hi,

I'm looking to merge spatial polygons within a spatial polygon object. I used to do this with the union spatial polygons command :

neighbourhoods<-unionSpatialPolygons(city, neighbourhood$ID, threshold=NULL, avoidGEOS=FALSE, avoidUnaryUnion=FALSE)

But now having gpclib issues, my question is how would I do this with the rgeos package? I can't seem to get the gUnion function to work.

Thanks in advance,

John

	[[alternative HTML version deleted]]

