Page 1 of 1

Multiple map generation...

PostPosted: Sat Jul 28, 2007 4:58 am
by Forboding Angel
So I'm playing with the latest dev version (which gives me a serious rock-solid btw) and I had a thought.

Is there any way possible that you could implement a multiple maps generation tool. Like say I want 5 maps. So I adjust the parameters for 5 seperate maps in the wizard, and l3dt generates one, the the next and so on.

This struck me as a really neat idea. Imagine you can go to bed and have a plethora of maps to choose from waiting for you when you wake up.

I think it'd be kinda neato myself.

PostPosted: Sat Jul 28, 2007 6:15 am
by Madcowthomas
Was there a script that Arron use to test L3DT that generates a few maps.At the bottom of the page is what I seen before.
http://www.bundysoft.com/L3DT/downloads/examples/

Hope this what you where thinking about, okay start to read up on it and thinking not sure if this would work, but Arron speaks this something that is on his to do list.

PostPosted: Sat Jul 28, 2007 7:54 am
by Aaron
Hi Forboding,

The batch map generation feature is the one you're after:

http://www.bundysoft.com/docs/doku.php?id=l3dt:userguide:batch

It probably could do with a user interface, but since there's been very little interest in the feature since it was introduced in 2004 (L3DT v2.2) I've not invested much time on improvements.

Cheers,
Aaron.

PostPosted: Tue Aug 14, 2007 12:36 pm
by Aaron
Hi All,

I just noticed that the batch file on the examples download page uses the old scripted '.def' map definition files, which are no longer supported by L3DT (as of release 2.5a) . I will upload an updated example batch using the new '.def.xml' files once it has finished the build process.

Cheers,
Aaron.

PostPosted: Sat Aug 18, 2007 3:08 am
by Aaron
Hello,

I've uploaded an updated example batch file, and also uploaded an update to L3DT Pro with improved support for batch files. The main changes were:
  • Support for '.def.xml' map definition files listed in batch '.run' files.
  • Better path handling, so that you can drag-n-drop the batch file onto the L3DT icon to begin batch processing.

Cheerio,
Aaron.

Re: Multiple map generation...

PostPosted: Wed Sep 04, 2013 9:03 pm
by nastasache
Hi Aaron,

First of all, thanks for your excellent application!

It is feasible and possible to add in batch file example (AcidTest5) a def.xml file working with files from the disk?

I don't know how to process a folder with heightmaps and I'am thinking you may have a solution to read the files (ie GeoTiff) and pass to def.xml in a way like:

Code: Select all
<string name="Filename">PathToFile</string>


(making HF on that way; then finally running test.zs).

Thank you very much,
Iulian

Re: Multiple map generation...

PostPosted: Wed Sep 11, 2013 2:36 am
by Aaron
Hi Iulian,

Alas, the batch generator system doesn't have a way to import and existing map, as it was originally conceived only to generate all-new maps. It's a good idea though, so I'll have a bit of a thinker on how to generalise the batch system to include processing existing maps. Thanks for the suggestion.

Best regards,
Aaron.

Re: Multiple map generation...

PostPosted: Wed Sep 11, 2013 8:47 pm
by nastasache
Hi Aaron,

Thanks for the answer and application flexibility.

I found a different solution to batch process my maps simple using ZeoScript on an opened .proj, looping with map.LoadFile2(), GenMap() and map.SaveFile2().
Works perfect! At least for AM,TN, LM and TX, and it's all what I need for the moment. Maybe there the only method missing is calc.WM.GenMap() but that's not a problem.

Thanks again and Best regards,
Iulian

Re: Multiple map generation...

PostPosted: Tue Sep 17, 2013 1:31 am
by Telarus
Nice technique. Posting as a bookmark for later. ;)