Changes between Version 9 and Version 10 of WikiStart


Ignore:
Timestamp:
Jul 26, 2018 6:57:48 PM (7 years ago)
Author:
Uriel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v9 v10  
    88
    99The downside to this is that the entire earth is very big and requires a lot of RAM to hold all the data when the map is zoomed in far enough. The solution to this was to use scripts to break the planet up into smaller pieces which can be individually processed.
     10
     11=== Scripting
     12All commands in Maperitive that can be performed by clicking in the GUI can also be performed by writing and running a script. Most of the commands can be found on the [http://maperitive.net/docs/ Maperitive docs website], or by running Maperitive and clicking Help/Documentation, then the Commands Tab. You can run a script with the run-script command.
     13
     14Maperitive scripts can be run from the command line without opening a GUI, which is helpful for memory-draining operations that would be made significantly slower by having to draw them on the screen. You can do this by entering the script name as a parameter to {{{Maperitive.Console.exe}}}.
     15
     16Maperitive also has it's own Python library, "Maperipy", which exposes a lot of useful, more complicated functionality. Documentation can be found by running Maperitive and clicking Help/Documentation, then the Maperipy Tab. You can run python scripts using the Console version or with the run-python command. Maperitive provides many examples of Python scripts in the Maperitive\Python folder.
    1017
    1118=== SRTM Data