Home | Trees | Indices | Help |
---|
|
Create the template data and process the templates so that OSM format XML files can be generated. These files will later be processed by Mapnik into PDF files containing ride maps.
|
|||
SabxProcessor Specialized TemplateProcessor to handle SABX files and turn them into map data that Mapnik can handle. |
|
|||
|
|||
|
|||
list of Cluster
|
|
||
|
|||
list of Cluster
|
|
||
|
|||
|
|||
|
|||
|
|
|||
__package__ =
|
|
Go through all the segments for the ride and add way ids. This is necessary because the OSM way elements are generated from SABX segments and must have unique ids. |
Go through all the turns for the ride and add node ids. This is necessary because some OSM node elements are generated from SABX turns and must have unique ids. Also, add a name to the turn because all nodes are expected to have names. |
Find clusters of turns that are within "dist" distance of eachother. Clusters are used to create smaller maps of turns whose icons would overlap on the large map and be hard to distinguish. These are like insets on some maps used to show highly detailed areas of interest. |
Enlarge and set the pixel size for the Cluster boxes. |
Generate and size the clusters for a list of turns. |
Go through a list of stops or pois, filter out duplicates, and add node ids to them. Adding node ids is necessary because some OSM node elements are generated from SABX stops and pois and must have unique ids. Filtering out duplicates is necessary because some stops and pois can be visited more than once in a ride if a ride passes through the same place twice (or more). For the map, the stop or poi icon should only be displayed once. |
Update the parking for a ride by adding a node id. This is necessary because some OSM node elements are generated from SABX parking elements and must have unique ids. |
Go through the given ride and generate turn clusters and lists of zoomed-in and zommed-out turns, stops, and pois. |
Go through all the rides in the rideset and generate the data needed by the template to create the PDF map data. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat May 1 23:03:30 2010 | http://epydoc.sourceforge.net |