Package sabx10 :: Package osm :: Module consts
[hide private]
[frames] | no frames]

Module consts

source code

Various constants used in generating PDF maps.

Variables [hide private]
float PPI = 200.0
desired points per inch for PNG Maps
float MAPNIK_PPI = 90.7
points per inch Mapnik uses
float PIX_SCALE_FACTOR = 2.20507166483
factor for scaling between Mapnik PPI and our PPI
float LETTER_WIDTH = 8.5
inch width of letter-sized page
float LETTER_HEIGHT = 11.0
inch height of letter-sized page
float LEGAL_WIDTH = 8.5
inch width of legal-sized page
float LEGAL_HEIGHT = 14.0
inch height of legal-sized page
float WIDTH = 8.0
inch width of page size we're using
float HEIGHT = 10.5
inch height of page size we're using
  __package__ = 'sabx10.osm'