Skip to content

'FeatureCollection' object has no attribute 'clip' #476

Answered by giswqs
wangxinzhi0617 asked this question in Q&A
Discussion options

You must be logged in to vote

.clip() is for ee.Image only. You need to use .map() and .ee.Geometry.intersection() to clip a FeatureCollection.
https://developers.google.com/earth-engine/apidocs/ee-geometry-intersection

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wangxinzhi0617
Comment options

Answer selected by giswqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants