Have you looked at the BoundsExtractor?
Have you looked at the BoundsExtractor?
Thanks for super fast answer
It's not quite what I need to achieve I think, because I needed the full coordinates of the tile, regardless if it has geometry in it or not.
Like, if I'm tiling at 5000,5000 but my minimum x for geometry in this particular tile is 5123, I even though wanted my tile filename to be named "5000,5000"
Perhaps I should change my approach?
Personally I like to use the _column and _row attributes from the Tiler to fanout my tiles. But you could also use them to calculate the tile coordinates if you know the seed coordinates used by the Tiler.
Personally I like to use the _column and _row attributes from the Tiler to fanout my tiles. But you could also use them to calculate the tile coordinates if you know the seed coordinates used by the Tiler.
Might be an idea, but in my case, even though I'm starting my seed at 0,0, the way it works it starts the tiling counting from the first geometry it finds in x,y, which in case are variable
You should be able to determine the theoretical bounds of your tile by using the the boundsExtractor as @david_r suggests and using an expression like
(floor(minX/tile_interval_x)*tile_interval_x)+seedX
For your data that would be
@Evaluate(@floor(@Value(_xmin)/5000)*5000)
@Evaluate(@floor(@Value(_ymin)/5000)*5000)
That's pretty smart. Many thanks @david_r and @jdh :)