Good Evening
 
I have two spatial polygon objects. The first  "StMaps50"  contains state 
level map data for the 50 US states.  The second  "CAMaps" contains 
provincial and territorial polygons  for Canada.  I would like to merge these two 
objects into a  single Canada-US spatial polygon object that I could then write 
to a  shapefile.  The data fields in the @data component have been 
constructed  with identical fields.  I have tried using the  maptools   "spRbind"  
function but get the following error  message:
 
> spRbind(StMaps50,CAMaps)
Error in spRbind(as(obj,  "SpatialPolygons"), as(x, "SpatialPolygons")) :   
non-unique polygon  IDs
 
I have attached additional information below.
Any suggestions would be appreciated.
 
Joe
 
##################################################
>  class(StMaps50)
[1] "SpatialPolygonsDataFrame"
attr(,"package")
[1]  "sp"

> _StMaps50@data[1:5_ (mailto:StMaps50@data[1:5) ,]
ctry        sname sabbr sfips  pfips
1   US   Washington     WA    53    NA
2    US      Montana    MT     30    NA
3    US        Maine     ME    23    NA
4   US North  Dakota    ND    38     NA
5   US South Dakota    SD     46    NA

> class(CAMaps)
[1]  "SpatialPolygonsDataFrame"
attr(,"package")
[1] "sp"

> _CAMaps@data_ (mailto:CAMaps@data) 
ctry                  sname sabbr sfips pfips
0     CA                Alberta   ALB    61  CA01
1     CA      British Columbia    BCL    62  CA02
2     CA               Manitoba   MNT    63  CA03
3     CA         New Brunswick    NBR    64  CA04
4     CA           Nova  Scotia   NSC    65  CA07
5    CA  Northwest Territories   NTR    66   CA06
6     CA           Newfoundland   NWF    67   CA05
7     CA                Ontario   ONT    68  CA08
8     CA  Prince Edward Island   PEI    69   CA09
9     CA                 Quebec   QUE    70  CA10
10    CA           Saskatchewan   SSK    71  CA11
11    CA       Yukon Territory    YTR    72  CA12
>  
################################################
 

	[[alternative HTML version deleted]]

