-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
92 lines (70 loc) · 3.96 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
<title>Osm2pandas by balzer82</title>
</head>
<body>
<header>
<div class="container">
<h1>Osm2pandas</h1>
<h2>Overpass-API to Pandas Dataframe</h2>
<section id="downloads">
<a href="https://github.com/balzer82/OSM2Pandas/zipball/master" class="btn">Download as .zip</a>
<a href="https://github.com/balzer82/OSM2Pandas/tarball/master" class="btn">Download as .tar.gz</a>
<a href="https://github.com/balzer82/OSM2Pandas" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
</section>
</div>
</header>
<div class="container">
<section id="main_content">
<h1>
<a name="osm2pandas" class="anchor" href="#osm2pandas"><span class="octicon octicon-link"></span></a>OSM2Pandas</h1>
<h2>
<a name="overpass-api-to-pandas-dataframe" class="anchor" href="#overpass-api-to-pandas-dataframe"><span class="octicon octicon-link"></span></a>Overpass-API to Pandas Dataframe</h2>
<p>The <a href="http://wiki.openstreetmap.org/wiki/Overpass_API">Overpass API</a> provides access to the data behind the Openstreetmap Data.
The <a href="http://overpass-turbo.eu/">Overpass-Turbo</a> is the easiest way to test requests and get the correct code to ask the database.</p>
<p>Go from <a href="http://overpass-turbo.eu/s/4h3">this</a> to this:</p>
<pre><code> lat lon name wheelchair
0 50.984926 13.682178 Niederhäslich Bergmannsweg NaN
1 51.123623 13.782789 Sagarder Weg yes
2 51.065752 13.895734 Weißig, Einkaufszentrum NaN
3 51.007140 13.698498 Stuttgarter Straße NaN
4 51.010199 13.701411 Heilbronner Straße limited
5 51.003121 13.686136 Burgker Straße NaN
6 50.996333 13.689492 Kleinnaundorf, Schule NaN
7 51.087893 13.699240 Peschelstraße/Rankestraße no
8 51.086979 13.639351 Gohliser Weg NaN
9 51.003893 13.626919 Freital Döhlen Daubenbergweg NaN
</code></pre>
<p>and then to this:</p>
<p><a href="http://cdb.io/1n0VuOB">http://cdb.io/1n0VuOB</a></p>
<h3>
<a name="video-tutorial" class="anchor" href="#video-tutorial"><span class="octicon octicon-link"></span></a>Video Tutorial</h3>
<p><a href="https://vimeo.com/101220572">https://vimeo.com/101220572</a></p>
<h2>
<a name="beispiele" class="anchor" href="#beispiele"><span class="octicon octicon-link"></span></a>Beispiele</h2>
<h3>
<a name="kreuzungen-in-osm-finden" class="anchor" href="#kreuzungen-in-osm-finden"><span class="octicon octicon-link"></span></a>Kreuzungen in OSM finden</h3>
<p>Annahme: Eine Kreuzung ist dadurch definiert, dass es einen <code>Node</code> gibt, der mindestens zu 2 verschiedenen <code>highways</code> gehört.</p>
<p><a href="http://nbviewer.ipython.org/github/balzer82/OSM2Pandas/blob/master/OSM2Pandas-Kreuzungen.ipynb">IPython Notebook</a></p>
<p><a href="http://cdb.io/1rmKIDB">Karte</a></p>
<p><img src="junctions.png" alt="Kreuzungen"></p>
</section>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-46744695-1");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html>