Skip to content

Instantly share code, notes, and snippets.

@abruzzi
Created April 11, 2014 02:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abruzzi/10438434 to your computer and use it in GitHub Desktop.
Save abruzzi/10438434 to your computer and use it in GitHub Desktop.
setup your own map server
digraph gis_stack{
fontname="Microsoft YaHei";
fontsize=12;
rankdir=LR;
node [shape="Mrecord", fontname="Microsoft YaHei", fontsize=10];
edge [color="#F1C40F", fontname="Microsoft YaHei", fontsize=10];
openlayers [shape="none", image="OpenLayers.trac.png", label=""];
leaflet [shape="none", image="leaflet-logo.png", label=""];
tile_cache [label="TileCache", style="filled", color="orange"];
mapnik [label="Mapnik", style="filled", color="orange"];
subgraph cluster_datasource {
label = "Datasource"
style="filled";
color="cornsilk";
node [style="filled", color="orange"];
postgis [label="PostGIS database"]
shapefile [label="ERSI shapefiles"]
osm [label="OpenStreetMap"]
}
openlayers -> tile_cache [label="WMS over HTTP"];
leaflet -> tile_cache [label="WMS over HTTP"];
tile_cache -> mapnik [label="fetching & caching"];
mapnik -> postgis [label="rendering & styling"];
mapnik -> shapefile [style="dashed"];
mapnik -> osm [style="dashed"];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment