Skip to main content
Question

SVG Template Examples


Forum|alt.badge.img

Are there any examples of the SVG write templates being used online?

I want to setup a template that allows my features to have both an id and title parameter but without any prefix.

So that would be:

<g id={value1} title={value2}><path fme:parameters...

2 replies

danilo_fme
Evangelist
Forum|alt.badge.img+42
  • Evangelist
  • April 21, 2018

Hi @pwittle,

I don't know if it can to help you: Working with SVG

Thanks,

Danilo


Forum|alt.badge.img
  • Author
  • April 23, 2018

Hi @danilo_fme

I'm not sure if it does help I'm afraid as that is the one I had been looking at previously.

If you look at the attached screenshot you can see that it is possible to use an attribute as the Feature Type Name in the SVG writer. This ends up in the id property of the output.

I note that a number of the posts on here relate the 'Style' attribute which also now appears to be an option on this same screen.

I am looking to be able to create and fill in a title attribute but I'm not sure it is possible unless I can define it somewhere on this screen. Does anyone even know if FME accepts the idea of a 'title' attribute at the Feature Type level in the XML output?


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