Cmarender
From CommonMap
| development |
|---|
|
cmarender is a bottom-up type distributed map render. It implements TurtleEggs. This is a pure Java program. You can download it from sourceforge.net
System requirement
- Java Runtime Environment, Sun Java 1.5 or latter. (OpenJDK 1.7 is also works.)
- CPU: faster is better. (No lower limit)
- Harddisk: at least 100 MB, (program 10 MB, rendering style 3MB, temporary 0.5 MB, distribution directory: 100 MB)
- Memory: 256 MB
- OS: independent
- Network: needs 10 kbps over (don't use old wifi).
How to use it?
- Download the package first, cmarender's main is very small but the dependencies are big. First download it by zip.
- Unzip it and place the directory somewhere.
- Double click cmarender.jar in it. (For command line, input
java -jar cmarender.jar.) Then cmarender runs. - cmarender starts to download or update rendering style files.
- The first, it takes long time. From second time, it is not. It is just doing svn upload.
- Before the finishing the download, configure cmarender (and TurtleEggs part).
- Configure your cmarender, input and check follows.
- your account name and the password. They are those of CommonMap's.
- (optional) TurtleEggs port. The default is 0, which means never open. If you can serve tiles directory and you know you can open some ports, Please set one of them. Before setting it, you needs to understand what you are doing.
- If you can use TurtleEggs, start TurtleEggs first. TurtleEggs asks tracker to connect it. If the connection is success, TurtleEggs starts. If it is faild, TurtleEggs stops. Without working TurtleEggs, cmarender works.
- Starts cmarender by clicking "start". If it has jobs, it renders map automatically.
- By clicking "stop", the rendered stops when a job is end. It doesn't stop immediately.
Where can we see jobs, push rendering requests or canceling?
Access the web first. (note: this is temporary.)
- Select a level 11 tile that you want to render. and hit 'r' key on it.
- Reload the map by 'permalink'. The tile's colour becomes green.
- Your cmarender takes a request and starts to render a tile requested. When it is rendering, the tile is coloured red.
- cmarender uploads the tiles to tile server, then the map changes.
- When TurtleEggs running, cmarender never uploads the tiles. Instead of it, the tile server access the TurtleEggs to download the tiles.
- (This is turtleEggs specific.) If you want to see how the TurtleEggs works, select 'TurtleEggs' layer on the request map. your browser is going to take map tiles from your or others TurtleEgss. The logs on your TurtleEggs panel shows who accesses your holding tiles.


