-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10/01/2013 03:35 PM, Joseph Bechara wrote: > Thanks Roman, > > > > I know the rgeos package but I?m not able to identify which tools > can replace the merge of ArcGIS. What does "merge" in ArcGIS do? Note that package sp has a merge method that merges a Spatial object with a data.frame, based on the attribute table, similar to base::merge. > > > > > > JOSEPH BECHARA > > Wildfire Management Program Coordinator > > Ashrafieh 1020 Building, 8th floor, Mathaf, Beirut, Lebanon > > Tel.: +961 (1) 426630-1-2 > > Fax: +961 (1) 426631 > > Mail: <mailto:jbejj...@lri-lb.org> jbech...@lri-lb.org > > <http://www.lri-lb.org/> www.lri-lb.org > > Description: Description: LRI-logo-Email > > > > > > From: romu...@gmail.com [mailto:romu...@gmail.com] On Behalf Of > Roman Lu?trik Sent: Tuesday, October 01, 2013 4:32 PM To: Joseph > Bechara Cc: R-sig-geo mailing list Subject: Re: [R-sig-Geo] merge > Shape file > > > > I think you want the `rgeos` package that offers a plethora of > functions to work with "features". > > > > Cheers, > > Roman > > > > > > On Tue, Oct 1, 2013 at 3:25 PM, Joseph Bechara > <jbech...@lri-lb.org> wrote: > > Dear Bary, > > > > Actually I have to do a geometrical merge operation. > > I?m looking for the equivalent of ?merge? in ArcGIS. > > > > JOSEPH BECHARA > > Wildfire Management Program Coordinator > > Ashrafieh 1020 Building, 8th floor, Mathaf, Beirut, Lebanon > > Tel.: +961 (1) 426630-1-2 > > Fax: +961 (1) 426631 > > Mail: <mailto:jbejj...@lri-lb.org> jbech...@lri-lb.org > > <http://www.lri-lb.org/> www.lri-lb.org > > > > > > From: b.rowling...@gmail.com [mailto:b.rowling...@gmail.com] On > Behalf Of Barry Rowlingson Sent: Tuesday, October 01, 2013 4:04 PM > To: Joseph Bechara Cc: R-sig-Geo@r-project.org Subject: Re: > [R-sig-Geo] merge Shape file > > > > > > > > On Tue, Oct 1, 2013 at 12:25 PM, Joseph Bechara > <jbech...@lri-lb.org> wrote: > > I?m looking for a function to merge 2 shapefiles keeping them as > ?spatialPolygonsDataframe? class. > > Any clue? > > > > > > > > What do you mean by merge? If the two shapefiles have the same set > of attributes then just read them into SpatialPolygonsDataFrames > and do s12 = rbind(s1,s2), and you end up with a SPDF which has all > the features from s1 and s2. > > Or do you want to do some geometrical merge operation? > > Barry > > > > > _______________________________________________ R-sig-Geo mailing > list R-sig-Geo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > > > > > > > > > > _______________________________________________ R-sig-Geo mailing > list R-sig-Geo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > - -- Edzer Pebesma Institute for Geoinformatics (ifgi), University of Münster Heisenbergstraße 2, 48149 Münster, Germany. Phone: +49 251 83 33081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSSteOAAoJEM1OCHCtOnfxOpEIAIisuqODm1YEfgYq4MgZGb03 raqQaIYC4PVeNwej+0P3regFWPd53+Y5DxqA2tS8zZ3eda1UK0KMvJFP4bJukk+U 5I37k4lZane+r89KtgCi7RFhvhM+U8VY10fN/y/Qr+P/3GTqukBNovI+8Q9xts3T Jq19oC+GGztyyGS6y4+c25qZEDJUXSiHs69frCoEYRoV5HSGM1SDwf1eZ7O7FslH Pq4ZPy62cXwbDrsrRZms1juuqkrn3JCN91sd9k3QVkiYJrcDimfnepGWbMwmpfs+ gP4eMw9jFQ8MO/TDjlMtgpYI7kXKCLoQHWtsX9FIadlGHXdZsfsMOgS6+T40KcM= =Bv1v -----END PGP SIGNATURE----- _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo