Pin- und Kabelbelegung von Beyerdynamic DT297 Headsets
B3 B1
B2
B3 B3
var style = require('./style.js'); | |
// postgres reader | |
var r = new PostgresReader({ | |
db: 'mapnik', | |
user: 'osm', | |
pass: 'pass', | |
// one could query imposm-like tables, too | |
tables: { |
diff --git a/Makefile b/Makefile | |
index 36e756f..81ae651 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -10,10 +10,10 @@ clean: | |
rm -fr doc/html | |
install: doc | |
- install -m 755 -g root -o root -d $(DESTDIR)/usr/include | |
- install -m 755 -g root -o root -d $(DESTDIR)/usr/share/doc/libosmium-dev |
require 'formula' | |
class Osmium < Formula | |
head 'https://github.com/joto/osmium.git' | |
homepage 'http://wiki.openstreetmap.org/wiki/Osmium' | |
md5 'dce9eb59d86caf1186fc93567b94feed' | |
depends_on 'boost' | |
depends_on 'lzlib' | |
depends_on 'shapelib' |
<?xml version='1.0' encoding='UTF-8'?> | |
<osm version='0.6' upload='true' generator='JOSM'> | |
<node id='-20' action='modify' visible='true' lat='0.007545848364784001' lon='-0.042220818353617504' /> | |
<node id='-18' action='modify' visible='true' lat='0.024254511946816243' lon='-0.01563068594367967' /> | |
<node id='-16' action='modify' visible='true' lat='-6.288206988774027E-4' lon='0.009432310483254975' /> | |
<node id='-14' action='modify' visible='true' lat='-0.024883332587896705' lon='-0.04545475337644778' /> | |
<node id='-12' action='modify' visible='true' lat='-0.03296816910796113' lon='0.010240794238962547' /> | |
<node id='-10' action='modify' visible='true' lat='0.007006859198660702' lon='-0.025691817125818313' /> | |
<node id='-8' action='modify' visible='true' lat='0.013115403033600963' lon='-0.016169675114151388' /> | |
<node id='-6' action='modify' visible='true' lat='7.186522272704126E-4' lon='-0.0035034296080661336' /> |
<?xml version="1.0" encoding="UTF-8"?> | |
<osm version="0.6" generator="Osmium (http://wiki.openstreetmap.org/wiki/Osmium)"> | |
<bounds minlon="8.1843450" minlat="49.7872840" maxlon="8.1853060" maxlat="49.7880220"/> | |
<node id="115105155" version="1" timestamp="2007-11-15T11:32:33Z" uid="573" user="Jörg Ostertag" changeset="520752" visible="true" lat="49.7843958" lon="8.1898660"/> | |
<node id="115105155" version="2" timestamp="2009-03-30T20:53:02Z" uid="111159" user="MaZderMind" changeset="871151" visible="true" lat="49.7843561" lon="8.1897440"/> | |
<node id="115105155" version="3" timestamp="2009-04-07T05:43:54Z" uid="111159" user="MaZderMind" changeset="309863" visible="true" lat="49.7844842" lon="8.1897131"/> | |
<node id="115105159" version="1" timestamp="2007-11-15T11:32:33Z" uid="573" user="Jörg Ostertag" changeset="520752" visible="true" lat="49.7845467" lon="8.1903491"/> | |
<node id="115105159" version="2" timestamp="2007-11-28T13:05:17Z" uid="11008" user="spacer1971" changeset="641678" visible="true" lat= |
http://localhost:1500/api/today-info | |
http://localhost:1500/api/today-info?date=yesterday | |
http://localhost:1500/api/today-info?date=tomorrow | |
http://localhost:1500/api/today-info?date=2013-06-22 | |
http://localhost:1500/api/upcoming-info | |
http://localhost:1500/api/upcoming-info?num=100 |
<?xml version="1.0"?> | |
<osm version="0.6" generator="Way-with-fistory-fetcher" copyright="OpenStreetMap and contributors" attribution="http://www.openstreetmap.org/copyright" license="http://opendatacommons.org/licenses/odbl/1-0/"> | |
<node id="154762320" changeset="167532" timestamp="2007-12-07T13:44:35Z" version="1" visible="true" user="wunni" uid="7811" lat="51.6990787" lon="10.5121746"> | |
<tag k="created_by" v="JOSM"/> | |
</node> | |
<node id="154762320" changeset="2724228" timestamp="2009-10-03T15:03:12Z" version="2" visible="true" user="Ich_hasse_doitsche_OSM-Korinthenkacker" uid="179968" lat="51.6990787" lon="10.5121746"/> | |
<node id="154762320" changeset="9695653" timestamp="2011-10-30T16:51:29Z" version="3" visible="true" user="Ogmios" uid="81983" lat="51.6990612" lon="10.5120616"/> | |
<node id="154762322" changeset="167532" timestamp="2007-12-07T13:44:35Z" version="1" visible="true" user="wunni" uid="7811" lat="51.6994731" lon="10.5120858"> | |
<tag k="created_by" v="JOSM"/> | |
</node> |
#!/usr/bin/python | |
# | |
# render data from postgresql to an image or a pdf | |
# | |
from optparse import OptionParser | |
import sys, os | |
import mapnik |