Displaying 3 results from an estimated 3 matches for "multipolygon".
2024 Nov 30
1
Save spatial data in a csv file
> print(nyc_ct_geo) Simple feature collection with 2325 features and 1
field Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin:
913175.1 ymin: 120128.4 xmax: 1067383 ymax: 272844.3 Projected CRS: NAD83 /
New York Long Island (ftUS) First 10 features: geoid geometry 1 36061000100
MULTIPOLYGON (((972081.8 19... 2 36061000201 MULTIPOLYGON (((988548.2 19...
3 36061000600 MULTIPOLYGON (((986961....
2008 Dec 15
1
convert opengis wkt to geometry?
...t), I didn't check see if there is already something
available to convert WKT strings into some R package geometry (sp?).
Does anyone have any advice, hints, code (?) for converting the
following OpenGIS strings into something useful in R:
POINT
MULTIPOINT
LINESTRING
MULTILINESTRING
POLYGON
MULTIPOLYGON
GEOMETRYCOLLECTION
Jeff.
2024 May 17
0
[External] Re: Removing polygons from shapefile of Scotland and Islands
Scotland is the second feature in the UK data, so get it and split this one
MULTIPOLYGON feature into individual POLYGONS
scot = st_cast(the_uk$geometry[2],"POLYGON")
# which is the largest polygon?
which.max(st_area(scot))
[1] 1
# the first one. ok...
plot(scot[[1]]) # mainland
# add the rest of the islands for context, in grey, maybe to show they're
outside our stu...