Skip to content
Prev 28568 / 29559 Next

Spatial layers for Europe at 30-m available as Cloud Optimized GeoTiffs (corrected)

I'm not an expert for the XML but something like this:

library(xml2)
leg = 
read_xml("lcv_landcover.hcl_lucas.corine.rf_p_30m_0..0cm_2000_eumap_epsg3035_v0.1.qml", 
)
leg.col = 
as_list(xml_children(xml_children(xml_children(leg)[[3]])[[1]])[[3]])
leg.df = do.call(rbind, lapply(leg.col, 
function(i){as.data.frame(attributes(i))}))
str(leg.df)

See csv file in att.
On 3/18/21 1:11 PM, Edzer Pebesma wrote:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lcv_landcover.hcl_lucas.corine.rf_p_30m_0..0cm_2000_eumap_epsg3035_v0.1.csv
Type: text/csv
Size: 2084 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20210318/ba486b07/attachment.csv>