Trees | Indices | Help |
|
---|
|
A viewer for the MoSP simulator.
It uses a socket to receive geometric objects from the simulation and draws these onto a layer of OpenStreetMap-map-tiles.
Author: P. Tute
Contact: henne@dcsec.uni-hannover.de
Copyright: (c) 2011-2012, DCSec, Leibniz Universitaet Hannover, Germany
License: GPLv3
|
|||
SimViewer A tool for displaying mosp-simulations. |
|
|||
__maintainer__ = "B. Henne"
|
|||
TILE_SIZE = 256 The size of one OSM-tile in pixels. |
|||
KEYBOARD_SCROLL_VALUE = 50 Scrolling by keyboard will move the camera by this many pixels. |
|||
MESSAGE_TYPES = {'\x00': 'coords', '\x01': 'point', '\x02': 'r Supported message types for lookup after receiving an identifier. |
|||
MESSAGE_SIZE = {'\x00': struct.calcsize('!dd'), '\x01': struct The precalculated size of commonly used structs. |
|||
ID_TYPE_PREFIX = {'\x00': 0, '\x01': 0, '\x02': 100000, '\x03' These values will be added to the IDs of the respecting object. |
|||
PIXEL_DISTANCE = {} precalculate lat/lon distance when moving one pixel for each zoom-level |
|
TILE_SIZEThe size of one OSM-tile in pixels. This is constant as long as OSM does not change.
|
MESSAGE_TYPESSupported message types for lookup after receiving an identifier.
|
MESSAGE_SIZEThe precalculated size of commonly used structs.
|
ID_TYPE_PREFIXThese values will be added to the IDs of the respecting object. This is necessary to be able to differentiate between them after they are mixed together for faster calculations.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Jul 6 13:59:48 2014 | http://epydoc.sourceforge.net |