as_sld function
- Langage dominant
- Python
- Étoiles
- 29
- Forks
- 17
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
When I go to print my sld out my filter ends up below my symbolizer. Is there any way to avoid since this violates sld styling policies? Here is my code.
mysld = sld.StyledLayerDescriptor()
nl = mysld.create_namedlayer('test')
ustyle = nl.create_userstyle()
fts = ustyle.create_featuretypestyle()
firstRule = fts.create_rule('test',sld.PolygonSymbolizer)
firstRule.create_filter('value', '>', 'T')
print mysld.as_sld(pretty_print=True)
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start by inspecting the as_sld(pretty_print=True) entry point used in the example and reproduce the generated SLD ordering with the shown filter and PolygonSymbolizer. Compare the output with the required styling order; done means the filter is emitted in the correct position relative to the symbolizer and the existing output behavior remains covered.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100