Systems/Sourcecode

From OpenStreetMap Wiki
Jump to: navigation, search
digraph TracklistSetup {


/*--------------------------------------------------------
** Things (nodes)
**------------------------------------------------------*/
// Data stores
Database [style=filled, shape=box, peripheries=2 fillcolor=lightblue];
Planet [style=filled, shape=box, fillcolor=lightblue, label="XML Snapshot\nPlanet.osm"];
TileServer [style=filled, shape=box, fillcolor=lightblue, label="Tile cache"];

//Processes
Atlas[label="PDF atlas", style=filled, fillcolor=yellow];
API [style=filled, peripheries=2 shape=ellipse, fillcolor=yellow];
GPSimport [style=filled, shape=ellipse, fillcolor=yellow label="GPX processor"];
gpstilerender [style=filled, shape=ellipse, fillcolor=yellow label="GPS track\n Tile Rendering"];
maptilerender [style=filled, shape=ellipse, fillcolor=yellow label="Map overlay\n Tile Rendering"];
TigerImport [style=filled, shape=ellipse, fillcolor=yellow];
CoastlineImport [style=filled, shape=ellipse, fillcolor=yellow];
gpsbabel [style=filled, shape=ellipse, fillcolor=yellow];
planetscript [style=filled, shape=ellipse, fillcolor=yellow label="Planet script\n(run periodically)"];
Osmarender[style=filled, fillcolor=yellow];

// Files
OSM [label="osm XML data"];


// User interactive data gathering Programs
JOSM [style=filled, fillcolor=lightcoral];
OsmEditor[style=filled, fillcolor=lightcoral];
EditMap [label="Java applet\nmap editor", style=filled, fillcolor=lightcoral];

// Websites
WhereAmI [label="where am I", style=filled, fillcolor=ivory];
SlippyMap [style=filled, fillcolor=ivory];
TracklogPage [label="tracklog views", style=filled, fillcolor=ivory];
Wiki [label="Wiki pages",style=filled, fillcolor=ivory];
MainSearch [label="Search",style=filled, fillcolor=ivory]


// Other things
GPS [style=filled, fillcolor=greenyellow, shape=egg label="GPS receiver"];
TIGER [style=filled, fillcolor=greenyellow, shape=egg];
PGS [style=filled, fillcolor=greenyellow, shape=egg];
Landsat [style=filled, fillcolor=greenyellow, shape=egg];
Tracklogs [label="GPS track\npoints"];
GPX_tracklog [label="GPX Tracklog\n(Uploaded to web site)"];

//a hint to reduce graph height. 
{rank=same;
"GPS"; "gpsbabel"; "GPX_tracklog"; };

/*--------------------------------------------------------
** Links (arrows)
**------------------------------------------------------*/
// The OpenStreetMap.org website
Database->API [style=bold,dir=both];
Database->TracklogPage;
Database->Stats;
API->OSM [dir=both style=bold];
Database->MainSearch;
maptilerender->SlippyMap;

//osm applet
gpstilerender->EditMap;
OSM->EditMap [dir=both];


// JOSM can load and save OSM files, tracklogs, and use the API
OSM->JOSM [dir=both];
Tracklogs->JOSM;

// ... as can osmeditor
OSM->OsmEditor[dir=both];
Tracklogs->OsmEditor;

// PDF atlas
Planet->Atlas;
Atlas->PrintedMaps;

// What can Osmarender do?
OSM->Osmarender;
Osmarender->Wiki;  // When people upload images
Osmarender->PrintedMaps;

//GPS->gpsbabel->GPX_tracklog->GPSimport;
// Other programs
OSM->RoadNav;
Planet->RoadNav;
GPS->gpsbabel->GPX_tracklog;
GPX_tracklog->GPSimport->Database->gpstilerender;
//GPSimport->Database;
//Database->gpstilerender;
API->Tracklogs;

// Other websites
Planet->WhereAmI;


// Data sources, and imports
Landsat->TileServer;
TileServer->gpstilerender;
OSM->maptilerender;
TileServer->maptilerender;
Database->planetscript;
planetscript->Planet;

GPX_tracklog->JOSM [style=dotted label="offline\npath"];
GPX_tracklog->OsmEditor [style=dotted];

PGS->CoastlineImport; CoastlineImport->API;
TIGER->TigerImport; TigerImport->API;
//Updated by Nick Hill 2 Sep 10:43 BST
}