Skip to main content
Solved

How could rearrange layer order after getting out of pdfpage formater transformer,in case i have multiple input

  • July 19, 2021
  • 5 replies
  • 37 views

gogopotter90
Contributor
Forum|alt.badge.img+14

i have more than one input ,they are connecting in seperated input ports of pdf page formatter transformer but i have only one port output .

how could i rearrange layer orders for each input .if i get all of them from only one output port

i would like to show some layers down and others up

 

FME 2018

Best answer by redgeographics

thanks for reply , but how could i do that ,and i have only one output port from pdf page formatter i mean all inputs became together after tranformer

i have 3 input port ,only one port output .

 

i have tried to used three pdf page formatter with attribute creator or feature writer 0,1,2 for each one but what suppose to be the last number 2 (over others ),it seems not happened

 

Right, so per input port on your FeatureWriter you can set that Layer Order number. It looks like you can't set it from an attribute though.

On a second note, I would be very careful with using separate PDFPageFormatters if you're overlaying layers on the same page. They'll fit the bounding box of the data coming in to the page area specified, but if they work separate from eachother they won't guarantee all the data properly overlaps. My recommendation would be to feed them into a single PDFPageFormatter input port and then split them out later on, based on an attribute you set before.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+62

In the Adobe Geospatial PDF writer you have a Layer Order setting on the feature type properties.


gogopotter90
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • July 19, 2021

In the Adobe Geospatial PDF writer you have a Layer Order setting on the feature type properties.

thanks for reply , but how could i do that ,and i have only one output port from pdf page formatter i mean all inputs became together after tranformer

i have 3 input port ,only one port output .

 

i have tried to used three pdf page formatter with attribute creator or feature writer 0,1,2 for each one but what suppose to be the last number 2 (over others ),it seems not happened

 


redgeographics
Celebrity
Forum|alt.badge.img+62

thanks for reply , but how could i do that ,and i have only one output port from pdf page formatter i mean all inputs became together after tranformer

i have 3 input port ,only one port output .

 

i have tried to used three pdf page formatter with attribute creator or feature writer 0,1,2 for each one but what suppose to be the last number 2 (over others ),it seems not happened

 

Can you share a screenshot of what your workspace looks like right now?


gogopotter90
Contributor
Forum|alt.badge.img+14
  • Author
  • Contributor
  • July 19, 2021

thanks for reply , but how could i do that ,and i have only one output port from pdf page formatter i mean all inputs became together after tranformer

i have 3 input port ,only one port output .

 

i have tried to used three pdf page formatter with attribute creator or feature writer 0,1,2 for each one but what suppose to be the last number 2 (over others ),it seems not happened

 

it should pipes show over others but i did not get it .

what i did ,i have copied pdfpage formatter so i have the box of map insidepdfformatter at specific position so another pdf page formatter has the same position for the box and i used it to pipes .because the position of pipes should be over map in specific location .any way ,i did not get pipes over map at pdf output .

i have tried also to put ma and pipes together but it seems not good to be because i could not rearrange the layer order ,to let pipes over maps .

 

layer orderpdfpageformatter


redgeographics
Celebrity
Forum|alt.badge.img+62
  • Celebrity
  • Best Answer
  • July 19, 2021

thanks for reply , but how could i do that ,and i have only one output port from pdf page formatter i mean all inputs became together after tranformer

i have 3 input port ,only one port output .

 

i have tried to used three pdf page formatter with attribute creator or feature writer 0,1,2 for each one but what suppose to be the last number 2 (over others ),it seems not happened

 

Right, so per input port on your FeatureWriter you can set that Layer Order number. It looks like you can't set it from an attribute though.

On a second note, I would be very careful with using separate PDFPageFormatters if you're overlaying layers on the same page. They'll fit the bounding box of the data coming in to the page area specified, but if they work separate from eachother they won't guarantee all the data properly overlaps. My recommendation would be to feed them into a single PDFPageFormatter input port and then split them out later on, based on an attribute you set before.