Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

145
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda