EOX-A / LPvis

Pronounce: "Elpvis" | FOSS Webapp for LPIS declaration conformity assessment and validation of ML classification results

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data table doesn't show all feature attributes

StefanBrand opened this issue · comments

The data table fields are taken from the first feature's attributes that is styled.

LPvis/main.js

Lines 494 to 498 in b1289cc

vectorTileLayerStyles: {
agricultural_parcels: properties => {
if(!table) {
initTable(Object.keys(properties))
}

If this feature doesn't have all possible attributes, the data table will not be complete regardless of the features that follow. If a later feature has an attribute for which there is no column in the data table, this attribute's value will not be displayed.