as_sld function
- Lenguaje dominante
- Python
- Estrellas
- 29
- Forks
- 17
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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)
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- tooling
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100