- Project format
- Comunication protocol
- Cgi protocol
- Template format
Grulesd
Grulesd is the server which answer map and information queries. It
reads one or more project configurations and uses a XML protocol both
for answering queries and to accept commands (like shutdown, load or
drop a project, list statistics).
Grulesd is usually launched by command line and accept the following options:
- -k kill another running instance of grulesd
- -r restarts another running instance of grulesd if present, otherwise it simply starts.
- -c does not rebuild all cache files. Recommended for
shorter startup. Highly unrecommended if some project changed
meanwhile and you are not sure about what you are doing.
- -v [number] verbose level: use 3 or 4 for timings, 10 for really
heavy debug. Default is 0 (silent, only error reporting)
- -f read a startup file with a newline separated list of
xml project files to be loaded.
- -p [port] listen on specified port fore request streams and on
port+1 for control streams. Deafault listening ports are 6148 annd 6149
- -g< uses opengl as a canvas for drawing maps (needs a
suitable graphic boards
- -j return maps in jpg format (default is png format), to
reduce size giving up a bit of quality
|