New answers tagged feature-collection
0
votes
How to split a feature collection in several equal parts in GEE
Here's a method that I use. It works for ee.FeatureCollection and ee.ImageCollection, and all groups (except one) end up with the same size.
function index_dict_batch(fc, batch_size, sortby){
/*
...
2
votes
Accepted
Accessing CRS of feature-collection
Assuming all features in the collection have the same projection, you can get the projection from the geometry of the first feature:
print(
collection.first().geometry().projection()
)
0
votes
Merging ee.FeatureCollection for training data in PythonAPI
Something like this should work:
def to_feature(row):
return ee.Feature(
ee.Geometry(json.loads(row['.geo'])),
{'LC': row['LC']}
)
data = pd.read_csv(file_path)
fc = ee....
0
votes
How to transform the Object into FeatureCollection on GEE
The feature collection that you want (s1s2_sample in script1) is within the object that you defined as s1s2_sample in script2. I suggest that you retrieve it as:
var preprocess = require('users/...
Top 50 recent answers are included
Related Tags
feature-collection × 100google-earth-engine × 91
google-earth-engine-javascript-api × 22
export × 9
image × 7
javascript × 6
features × 6
google-earth-engine-python-api × 6
geometry × 5
buffer × 5
python × 4
list × 4
chart × 4
geojson × 3
csv × 3
spatial-join × 3
modis × 3
landsat × 3
feature-class × 3
centroids × 3
reducers × 3
shapefile × 2
point × 2
convert × 2
intersection × 2