flutter_map_sld 0.4.0 copy "flutter_map_sld: ^0.4.0" to clipboard
flutter_map_sld: ^0.4.0 copied to clipboard

Parse, validate, and use OGC Styled Layer Descriptor (SLD) and Symbology Encoding (SE) styles in Dart. Raster-first, pure Dart, no Flutter dependency.

0.4.0 #

  • Vector symbolizers: PointSymbolizer, LineSymbolizer, PolygonSymbolizer with Stroke, Fill, Graphic, Mark, ExternalGraphic.
  • TextSymbolizer: label via Expression (PropertyName, Literal), Font, Halo, LabelPlacement (point and line placement).
  • OGC Filter Encoding: sealed Filter model with 6 comparison operators, PropertyIsBetween, PropertyIsLike, PropertyIsNull, and logical operators (And, Or, Not).
  • Expression evaluation: Expression.evaluate() and Filter.evaluate() against feature property maps.
  • Rule selection: Rule.appliesTo() combining filter and scale, SldDocument.selectMatchingRules() returning MatchedRule with full layer/style/FTS context.
  • Convenience methods: selectPointSymbolizers(), selectLineSymbolizers(), selectPolygonSymbolizers(), selectTextSymbolizers().
  • New validation rules: stroke-width-negative, stroke-opacity-out-of-range, fill-opacity-out-of-range, graphic-size-negative, unknown-mark-name, font-size-negative, halo-radius-negative.

0.2.0 #

  • Scale-dependent rule selection: Rule.appliesAtScale() with OGC-convention bounds (inclusive lower, exclusive upper) and SldDocument.selectRasterSymbolizersAtScale().
  • ChannelSelection: domain model and parser for RGB and gray band selection with per-channel ContrastEnhancement.
  • ShadedRelief: domain model and parser (brightnessOnly, reliefFactor).
  • VendorOption: typed parsing of <VendorOption name="...">value</VendorOption> into RasterSymbolizer.vendorOptions, separate from ExtensionNode.
  • Async stream parsing: SldDocument.parseAsyncStream(Stream<List<int>>) convenience wrapper.
  • Parser fix: known-but-unimplemented OGC elements (ImageOutline, Geometry, OverlapBehavior) are now preserved as ExtensionNode with issue code unsupported-element instead of being silently dropped.
  • New validation rules: empty-scale-range (error), relief-factor-negative (error), incomplete-rgb-channels (error), vendor-option-missing-name (warning).

0.1.0 #

  • Initial release: raster-first pure Dart core.
  • Parse SLD/SE XML from string or bytes (SldDocument.parseXmlString, SldDocument.parseBytes).
  • Support for SLD 1.0 and SE/SLD 1.1 namespace variants (sld:, se:, unprefixed).
  • Domain model: SldDocument, SldLayer, UserStyle, FeatureTypeStyle, Rule, RasterSymbolizer, ColorMap, ColorMapEntry, ContrastEnhancement.
  • Unknown/vendor XML elements preserved as ExtensionNode.
  • Separate parse and validation results (SldParseResult, SldValidationResult).
  • Validation rules: opacity range, empty ColorMap, quantity ordering, duplicate quantities, entry opacity range, GeoServer intervals vendor extension.
  • Legend and color scale extraction (extractLegend, extractColorScale).
0
likes
0
points
408
downloads

Publisher

unverified uploader

Weekly Downloads

Parse, validate, and use OGC Styled Layer Descriptor (SLD) and Symbology Encoding (SE) styles in Dart. Raster-first, pure Dart, no Flutter dependency.

Repository (GitHub)
View/report issues

Topics

#gis #sld #ogc #geospatial #mapping

License

unknown (license)

Dependencies

xml

More

Packages that depend on flutter_map_sld