AWF-GAUG / gsgsim

Global Sampling Grid simulation framework
0 stars 2 forks source link

Reduce columns in output #4

Closed awfgit closed 7 years ago

awfgit commented 7 years ago

The number of columns in the output KML is unreasonable high (e.g. if boundaries from GADM are used). Instead of taking all colums from the boundary layer, we should reduce this to: ID, Country, X, Y. Country should be taken from country_code.

sebschnell commented 7 years ago

Done

awfgit commented 7 years ago

Hi Sebastian, works like a charm if you select multiple countries, but gives an error if you take only one (Error in if: missing value where TRUE/FALSE needed)!

sebschnell commented 7 years ago

Already fixed and comes with the next commit that handles also the other issue with the empty grids.