Skip to main content
Solved

Esri polygon shape file to KML conversion, without fill need to generate Polygon features in KML. Please find attached file for my generated output and Expected output samples.


venu
Contributor
Forum|alt.badge.img+5
  • Contributor

 Expected

Expected output Generated

Generated output

 

 

Best answer by takashi

Hi @venu​ , I tried to write a transparent polygon with a KMLStyler (Fill Opacity: 0.00) and KML writer into a KML dataset, and successfully did that.

I'm using FME 2020.1.1 build 20608. What version of FME are you using?​

View original
Did this help you find an answer to your question?

11 replies

nielsgerrits
VIP
Forum|alt.badge.img+53

Convert the polygon to polyline using the GeometryCoercer (fme_line) before writing it.

Of the polygon has donuts in it, you need the DonutHoleExtractor before the GeometryCoercer.


ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • August 19, 2020

If you just want to change the display, but still want to be able to click on the polygons to retrieve information, I would use a KMLStyler and set the Fill Opacity to 0


venu
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • August 19, 2020
nielsgerrits wrote:

Convert the polygon to polyline using the GeometryCoercer (fme_line) before writing it.

Of the polygon has donuts in it, you need the DonutHoleExtractor before the GeometryCoercer.

I don't want to convert as line.. I need polygon without fill​


venu
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • August 19, 2020
ebygomm wrote:

If you just want to change the display, but still want to be able to click on the polygons to retrieve information, I would use a KMLStyler and set the Fill Opacity to 0

I have tried this, but still I didn't get the output as like I want. I hope that is bug in the KMLStyler


venu
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • August 19, 2020

@Takashi Iijima​  please suggest the workaround.


takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • Best Answer
  • August 20, 2020

Hi @venu​ , I tried to write a transparent polygon with a KMLStyler (Fill Opacity: 0.00) and KML writer into a KML dataset, and successfully did that.

I'm using FME 2020.1.1 build 20608. What version of FME are you using?​


ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • August 20, 2020
takashi wrote:

Hi @venu​ , I tried to write a transparent polygon with a KMLStyler (Fill Opacity: 0.00) and KML writer into a KML dataset, and successfully did that.

I'm using FME 2020.1.1 build 20608. What version of FME are you using?​

The KML styler also works as expected for me in 2019.2.3.1 Build 19823


venu
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • August 20, 2020
takashi wrote:

Hi @venu​ , I tried to write a transparent polygon with a KMLStyler (Fill Opacity: 0.00) and KML writer into a KML dataset, and successfully did that.

I'm using FME 2020.1.1 build 20608. What version of FME are you using?​

Hi @Takashi Iijima​ 

I am also using same version 32bit FME desktop, but result is coming with Fill

 

Parameter details below

KMLStyler

 

Please advice

 

 

 


ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • August 20, 2020
venu wrote:

Hi @Takashi Iijima​ 

I am also using same version 32bit FME desktop, but result is coming with Fill

 

Parameter details below

KMLStyler

 

Please advice

 

 

 

Set the fill colour (even though you won't see it). If I don't set this I get a white fill


venu
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • August 22, 2020
venu wrote:

Hi @Takashi Iijima​ 

I am also using same version 32bit FME desktop, but result is coming with Fill

 

Parameter details below

KMLStyler

 

Please advice

 

 

 

Thanks, I understand works fine​


venu
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • August 22, 2020
takashi wrote:

Hi @venu​ , I tried to write a transparent polygon with a KMLStyler (Fill Opacity: 0.00) and KML writer into a KML dataset, and successfully did that.

I'm using FME 2020.1.1 build 20608. What version of FME are you using?​

Works fine thanks​


Reply


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