Solved

Tiler - convert a huge polygon to individual tiles (1 tile = 1 file)

  • 4 November 2015
  • 8 replies
  • 4 views

Badge
Hi,

 

 

I have read a Huge polygon and used a Tiler transformer. I specified the Tiling Type to "Number of Tiles"

 

and assigend the horizontal and vertical numbers..How do I then configure the Writer to save 1 tile to 1 individual file?

 

 

thanks

 

Jubert

 

 

icon

Best answer by takashi 4 November 2015, 06:41

View original

8 replies

Userlevel 3
Badge +17
Hi Jubert,

 

 

Consider using the "Fanout". See here to learn more.

 

FME Workbench About Fanout

 

 

Takashi
Badge
Hi Jubert,

 

 

Consider using the "Fanout". See here to learn more.

 

FME Workbench About Fanout

 

 

Takashi
Hi Takashi,

 

 

thanks for the feedback, yes its fanout to save the files into multiple files..however the Tiler Transformer does not generate an attribute Index which can separate each tile generated.

 

 

It creates two attributes though.. an _column and an _row.. but If I assign a single attribute for the fanout. it would only separate it into either _column or a _row.

 

 

 

 

Userlevel 3
Badge +17
Hi Jubert,

 

 

Consider using the "Fanout". See here to learn more.

 

FME Workbench  About Fanout

 

 

Takashi
You can create a unique identifier based on _column and _row. An easiest way is to concatenate them with the StringConcatenator. For example:

 

@Value(_row)[delimiter]@Value(_column)
[delimiter]: any character. I want to put an underscore here, but the system will not display that correctly...
Badge
Hi Jubert,

 

 

Consider using the "Fanout". See here to learn more.

 

FME Workbench About Fanout

 

 

Takashi
thanks! there is a trick though...simply by concatenating the two columns it would create duplicates so another value should be added..for example "_"

 

 

Userlevel 3
Badge +17
thanks! there is a trick though...simply by concatenating the two columns it would create duplicates so another value should be added..for example "_"

 

 

You are right. A delimiter is necessary in this case.

If the format of the destination dataset is a folder-based one (e.g. Esri Shape), the destination file name (i.e. feature type name) can also be created in the feature type name field of the writer feature type properties dialog (FME 2015.1+).

e.g.

Userlevel 3
Badge +17
@dewetvannieker, this may reproduce the issue (missing underscores, unexpected Italic).

 

You can create a unique identifier based on _column and _row. An easiest way is to concatenate them with the StringConcatenator. For example:

 

 

@Value(_row)_@Value(_column)
@dewetvannieker, this may reproduce the issue (missing underscores, unexpected Italic).

 

You can create a unique identifier based on _column and _row. An easiest way is to concatenate them with the StringConcatenator. For example:

 

 

@Value(_row)_@Value(_column)

Thanks Takashi. We'll look into this. As a workaround, you may be able to use the HTML entity & # 64; @

Badge
Hi @takashi @dewetvannieker,

 

 

there is another issue I guess, I left it running over night and takes forever. posted a new question.

 

https://knowledge.safe.com/questions/19647/tiler-b...

 

 

cheers!

 

,

Reply