Skip to content

SpatialPolygonsdataframe to SpatialPolygons #5

@sue-shine

Description

@sue-shine

Excuse me, I met a problem about convert SpatialPolygonsdataframe to SpatialPolygons. Could please help me? Thanks very much.
water_poly<-rgdal::readOGR ("F:/water_polygons.shp")

The SpatialPolygonsdataframe after reading the shape file is shown in the figure below:
image

How should I write the code to convert SpatialPolygonsdataframe to SpatialPolygons?

best regards,
Sue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions