Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

148
Vistas
Google Earth Engine 'Property 'S' of feature '00000000000000000001' is missing.'

I am using google earth engine to classify landcover. I Uploaded the asset called 'gridcoll_merged_modified' (it is a .csv excel/libreoffice file). So, I tried to run the following code/script training and testing the script; the aim, at the line '134' (see the text '//Filtering out the null property values' etc..) is to delete any null value into the asset or vector for training and testing partition.

<var gridcoll = ee.FeatureCollection('users/gabrielenicolanapoli/gridcoll_merged_modified');

//Classifier
var withRandom = gridcoll.randomColumn('random');

var split = 0.7; //70% training, 30% testing.
var trainingPartition = withRandom.filter(ee.Filter.lt('random', split));
var testingPartition = withRandom.filter(ee.Filter.gte('random', split));

//Filtering out the null property values and try again.
var trainingNoNulls = trainingPartition.filter(ee.Filter.notNull(trainingPartition.propertyNames()));

//var trainingNoNulls = trainingPartition.map(function(feature) {
    //return feature.filter(ee.Filter.notNull(trainingPartition.propertyNames())
//)});
  
var ClassProperty = 'bool_str';

//Training the classifer and applying it with the filtered training collection.
var gridcoll_classifier = ee.Classifier.smileRandomForest(20).train({
  features: trainingNoNulls,
  classProperty: ClassProperty,
  inputProperties: ['S']
  //'HCv','VCv','El','As','Hill','MeCur','NDVI','NDWI','Precipitation','Relief']
});
print('Gridcoll Classifier', gridcoll_classifier);

var test = testingPartition.classify(gridcoll_classifier);
print('Gridcoll_test', test);>

...In the end, the following error appeared in the GEE console (see the image below):

enter image description here

I am getting the layer error every time and I don't know how to solve it.

thanks in advance.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda