Dear Sir I have an error like this, how do I bark Admin ? "Roads Labels: Layer error: ImageCollection.mosaic: Error in map(ID=null): String: Parameter 'input' is required." I use my own text and area data. Thanks
var text = require('users/gena/packages:text') var shp = ee.FeatureCollection(polygon) Map.addLayer(shp, {},'Roads Layer'); var Scale = Map.getScale()*2 var labels = shp.map(function(feat){ feat = ee.Feature(feat) var name = ee.String (feat.get("Name")) var centroid = feat.geometry().centroid() var t = text.draw(name, centroid,Scale,{ fontSize: 10, textColor:'black', OutlineWidth:0.5, OutlineColor:'red'
}) return t }) var Labels_Final = ee.ImageCollection(labels) Map.addLayer(Labels_Final,{},"Roads Labels")
bit quick but useful tutorial/explanation
Poor audio quality.
For effectiveness and extending assistance.. you could add the code in comment section.
otherwise, very helpful.
keren bgt kak makasih
Can i do field calculations in shapefile column and add new column in google earth engine
Dear Sir
I have an error like this, how do I bark Admin ?
"Roads Labels: Layer error: ImageCollection.mosaic: Error in map(ID=null):
String: Parameter 'input' is required."
I use my own text and area data.
Thanks
Thanks for helpful video. I tried to import a shape file but I had an error when GEE ingest the shapefile file.
is it possible to show lable of the polygon when somone clicks the polygon?
Hi, what is the information in the var text? that is in you library with "users/gena/packages:text" name
It has really worked for me. Thanks a lot guys
Why can't I do it like in the video tutorial? Can you share with me the dataset of the video?
Cannot find required repo: users/gena/package:teks Ada error gini pak mohon bantuannya
Thank you for the video!
how did you download district shape file?
why when we publish the app the text didnt appeared? is it because of the third party lib?
Great. Thank you
Thank you
Share the codes plz
In my case it is not working too
var text = require('users/gena/packages:text')
var shp = ee.FeatureCollection(polygon)
Map.addLayer(shp, {},'Roads Layer');
var Scale = Map.getScale()*2
var labels = shp.map(function(feat){
feat = ee.Feature(feat)
var name = ee.String (feat.get("Name"))
var centroid = feat.geometry().centroid()
var t = text.draw(name, centroid,Scale,{
fontSize: 10,
textColor:'black',
OutlineWidth:0.5,
OutlineColor:'red'
})
return t
})
var Labels_Final = ee.ImageCollection(labels)
Map.addLayer(Labels_Final,{},"Roads Labels")
That has just worked for my data
@@diprince8612 Why can't I do it like in the video tutorial? Can you share with me the dataset of the video?
Hey nice video man. want to be RUclips buddies?
Thanks man...
Of course I want to
Anak ibumu. Saya bertanya mengapa Anda tidak menjawab. Anda membuat video ini untuk bertukar ilmu, bukan untuk pamer. Ayahmu.
share the code