Skip to main content
Open

New Reader/Writer: SLD Files

Related products:Integrations
  • September 7, 2017
  • 2 replies
  • 23 views

lifalin2016
Contributor

Hi,

It would be a nice feature to add support for SLD files. They're XML files, so it ought to be fairly straight forward.

Some sort of cross-format support to input/output styles handled by the various style transformers, so I could e.g. read an SLD at designate it to output as MapInfo styles directly, or e.g. output an SLD file based on MapInfo styles, would also be very neat. This is nice-to-have though, and may be a little more complicated.

Note that there may be version issues to consider.

If this can be achieved by packaging some templaters etc., that's great too.

Cheers.

2 replies

revesz
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 7, 2017

SLD(/SE) is really nice but yet a best. It is layer based unlike MapInfo(/DWG/KML).

The tricky thing is that SLD is data driven. Usually the column/field expression and some information about the data is encoded in the XML.

Single symbol style may be created by a transformer like the MapBoxStyler.

But others would require a transformer something like an AttributeValueMapper/AttributeRangeMapper combined with a Styler. Actually it would be really cool :D


lifalin2016
Contributor
Forum|alt.badge.img+29
  • Author
  • Contributor
  • September 13, 2017
Just to clarify: SLD can contain multiple styles (it's rule based), so it may be layer/dataset based as such, but with some appropriate assumptions on feature selections, it could be used to style individual features in an entire dataset.

 

 

But it's still just an XML, and FME handles non-spatial feature data already, so I was just curious as to whether anyone had been looking into this at some point.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings