Skip to main content
Solved

How to get coordinates in file name from rastertiler?

  • November 2, 2021
  • 2 replies
  • 35 views

Forum|alt.badge.img

I'm looking for some help on what I am sure is a common problem hwoever being new to the software I'm not too sure what the correct terms are.

I am using the RasterTiler to split a large DEM into smaller tiles and write them to a new format. This is working fine but I would like to have the a coordinate of a corner of the raster written to the filename of the output. You've probably seen similar below, which is what I'm trying to achieve:

imageFor reference, this is what my workspace set up looks like:

imageThanks for your help getting me to understand this new software.

Best answer by nielsgerrits

You can use the BoundsExtractor to extract the x/y min/max from the tiles, then you can use these attributes in the filename. Sample workspace attached.

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.

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2937 replies
  • Best Answer
  • November 2, 2021

You can use the BoundsExtractor to extract the x/y min/max from the tiles, then you can use these attributes in the filename. Sample workspace attached.


Forum|alt.badge.img
  • Author
  • 1 reply
  • November 2, 2021

You can use the BoundsExtractor to extract the x/y min/max from the tiles, then you can use these attributes in the filename. Sample workspace attached.

Thanks very much for your help, works like a charm.