Hello. I'm loving the powerpoint writer, nice work safers! I can see alot of potential uses for this, particuarly with making graphics, schematics, charts, etc. It seems like it can only write polygons, not lines - is this correct? Owen
could you be a bit more specific with your question? The PowerPointStyler is used to layout your Slide. The PowerPoint writer writes a number of slides.
Do you mean you can only add polygons to a slide and not lines?
And maybe you can also have a look at this question: powerpoint-writer-and-transformers-documentation it contains links to the relevant documentation of the PowerPoint Writer.
could you be a bit more specific with your question? The PowerPointStyler is used to layout your Slide. The PowerPoint writer writes a number of slides.
Do you mean you can only add polygons to a slide and not lines?
And maybe you can also have a look at this question: powerpoint-writer-and-transformers-documentation it contains links to the relevant documentation of the PowerPoint Writer.
Have you checked the input before it goes into the PowerPointStyler?
Hi @owen
According to the Powerpoint documentation,
lines (as well as aggregates, null geometry, points, polygons, and
rasters) are supported geometries. I was able to write line geometries
out using some training data using build 18284.
That being said,
it appears the writer is creating polygons from some line geometry. I'm
uncertain why some lines are written out as polygons (possibly
self-intersection). I was able to successfully force the writer to
create only line shapes by using the Chopper.
Another option is to set the Fill parameter to 'No Fill' in order to visually represent lines.
Hope this helps,
Debbi
Thanks Debbi. I'm still having trouble with this - what am I doing wrong? I also have build 18284, and the data is clean (no self intersections). I looks like the lines are being closed into polygons.
Workspace
Data in inspector
Output
Output when lines are chopped to 2 vertices
Thanks Debbi. I'm still having trouble with this - what am I doing wrong? I also have build 18284, and the data is clean (no self intersections). I looks like the lines are being closed into polygons.
Workspace
Data in inspector
Output
Output when lines are chopped to 2 vertices
If you select one of your line features in Data Inspector, what is the fme_geometry? Looking at the way your lines are chopped, I suspect your 'lines' may be an arc or curve instead (the start and end vertices extend beyond what is visually represented when chopped).
If you could provide a small sample of your dataset, that would be helpful as well.
Thanks Debbi. I'm still having trouble with this - what am I doing wrong? I also have build 18284, and the data is clean (no self intersections). I looks like the lines are being closed into polygons.
Workspace
Data in inspector
Output
Output when lines are chopped to 2 vertices
Thanks for sending the dataset and my apologies for the trouble you are having with the PPT writer. It appears at this point the writer is closing lines with more than two vertices to form polygons. This is very likely a bug. Would you mind creating a support case at safe.com/support? That way I will be able to attach it to the bug report.
For a workaround, continue using the Chopper but try switching the Join type (in Powerpoint) from 'Miter' to 'Round' or 'Bevel' for your lines. Once you do, the lines should look more like you would expect. The screenshot below uses the round join type.
Thanks,
Debbi
Thanks for sending the dataset and my apologies for the trouble you are having with the PPT writer. It appears at this point the writer is closing lines with more than two vertices to form polygons. This is very likely a bug. Would you mind creating a support case at safe.com/support? That way I will be able to attach it to the bug report.
For a workaround, continue using the Chopper but try switching the Join type (in Powerpoint) from 'Miter' to 'Round' or 'Bevel' for your lines. Once you do, the lines should look more like you would expect. The screenshot below uses the round join type.
Thanks,
Debbi
I'm
pleased to let you know that this issue has been fixed in our latest
FME 2018 (builds 18295 and up). You can find the installer at safe.com/downloads.
Thank you for your patience as we worked to resolve this issue.
I'm
pleased to let you know that this issue has been fixed in our latest
FME 2018 (builds 18295 and up). You can find the installer at safe.com/downloads.
Thank you for your patience as we worked to resolve this issue.
I am using builds 18450 and I think I'm having similar issue too - I can't put points data into powerpoint. I tested with polygons and that worked fine. (both source files are esri shapefile)
I am using builds 18450 and I think I'm having similar issue too - I can't put points data into powerpoint. I tested with polygons and that worked fine. (both source files are esri shapefile)
We are also working on a how to use the powerpoint writer/styler tutorial and should be posted within the next week or so.
Hope that helps
-Liz