How to change the country name and then draw the global map?

@akshdfyehd you misunderstood the gadm function. You need to pass the name of the country to it. “final” is a table.

Try

geotable = GeoTables.gadm("BRA")

and will see a special table object that has a set of attribute columns and a special column called “geometry”. You can access the attribute table with values(geotable) and the underlying geometries with domain(geotable). Watch my JuliaCon talk to understand these concepts:

You can also access the columns of the geotable with familiar syntax like geotable.geometry or geotable.NAME etc. If you want the geometries I recommend using domain(geotable) instead of geotable.geometry because the former is what we call “type-stable” in Julia.

Please feel free to ask more questions if something is not working or is not clear.

2 Likes