Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert SpatialPolygonsdataframe to SpatialPolygons #1

Open
sue-shine opened this issue Jun 25, 2021 · 0 comments
Open

convert SpatialPolygonsdataframe to SpatialPolygons #1

sue-shine opened this issue Jun 25, 2021 · 0 comments

Comments

@sue-shine
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant