[R-sig-Geo] extract lat-long pairs from sf::st_read MULTIPOLYGON format

Tim Appelhans tim.appelhans at gmail.com
Sun May 7 10:17:54 CEST 2017


Brandon,

sf has sf::st_coordinates which gives a matrix or list of matrices of X 
and Y coordinates depending on the feature type.

Tim


On 07.05.2017 10:17, Brandon Payne wrote:
> Roman,
>
> I am looking for advice on how to convert one (extra, missing, not-included) region from the shape file
> "ISR_adm1.shp" @ "http://biogeo.ucdavis.edu/data/diva/adm/ISR_adm.zip",
>
> into that ( https://github.com/trulia/choroplethrAdmin1/blob/master/data/admin1.map.rdata ) data frame format.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

-- 
Tim Appelhans
Research Specialist, Geomarketing
GfK | Bamberger Str. 6, 90425 Nürnberg | Germany
Postal address: Nordwestring 101 | 90419 Nürnberg



More information about the R-sig-Geo mailing list