Closed simboss closed 3 years ago
@allyoucanmap can you have a look?
@simboss took a quick look and it seems the WFS DescribeFeatureType does not return those attributes
if you need those values the style editor allows you to add variables not listed using this structure {{variableName}}
Apparently the XML response of the DescribeFeatureType doesn't include those fields, while the JSON response does.
{
"elementFormDefault":"qualified",
"targetNamespace":"http://www.geonode.org/",
"targetPrefix":"geonode",
"featureTypes":[
{
"typeName":"famous_classical_music_composers",
"properties":[
{
"name":"fid",
"maxOccurs":1,
"minOccurs":1,
"nillable":false,
"type":"xsd:int",
"localType":"int"
},
{
"name":"the_geom",
"maxOccurs":1,
"minOccurs":1,
"nillable":false,
"type":"gml:Point",
"localType":"Point"
},
{
"name":"name",
"maxOccurs":1,
"minOccurs":0,
"nillable":true,
"type":"xsd:string",
"localType":"string"
},
{
"name":"location",
"maxOccurs":1,
"minOccurs":0,
"nillable":true,
"type":"xsd:string",
"localType":"string"
},
{
"name":"date",
"maxOccurs":1,
"minOccurs":0,
"nillable":true,
"type":"xsd:string",
"localType":"string"
},
{
"name":"audio",
"maxOccurs":1,
"minOccurs":0,
"nillable":true,
"type":"xsd:string",
"localType":"string"
},
{
"name":"image",
"maxOccurs":1,
"minOccurs":0,
"nillable":true,
"type":"xsd:string",
"localType":"string"
}
]
}
]
}
@simboss @giohappy confirm and the attribute table is using the json one
closing because this is also managed in https://github.com/geosolutions-it/support/issues/1482
Some attribute table fields of this layer is not present in the label options of the style editor.
How to reproduce
Current Result The
name
andlocation
fields are not present In the Label dropdown menuATTRIBUTE TABLE
TEXT RULE - LABEL