Results 1 to 2 of 2

Thread: Looking for tile map editor that exports map data as text files

  1. #1

    Default Looking for tile map editor that exports map data as text files

    I am dabbling with some climate modelling software, to get a realistic climate for my fictional world. For its input, the software uses text-based files that include all the data on a planet's topography, bathymetry, and so on. For example, the topography file for a planet divided into 64 x 32 grid cells looks something like this:

    0 0 0 0 0 0 0 0
    0 0 0 1 0 0 0 0
    0 0 2 2 1 0 0 0
    0 1 4 3 3 2 0 0

    and so on. 2048 numbers in total representing elevation data for the 64 x 32 = 2048 grid cells of the planet.

    Now, I am looking for a tile map editor that lets me make a tile map of a planet, and then exports the data as numbers to a text file, according to my specifications. This would allow me to easily create sets of topographic, bathymetric etc. data for using it in my climate modelling software.

    Does anyone know of a tile map editor which can be set up to do this?

    Thank you for your help!

  2. #2

    Default

    Hmm. I'm a bit sleepy, so it's possible I didn't understand correctly, but have you looked at imagemagick? Very good numerical output from bitmaps, constructs images from grids of numbers, etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •