<div dir="ltr">köszi, nézem...</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div style="font-family:arial"><font size="4">Peter Bodo</font></div><div style="font-family:arial;font-size:small">Route4U - wheelchair route planner</div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small">+367093183822</div><div style="font-family:arial;font-size:small"><a href="http://route4u.org/" target="_blank">http://route4u.org/</a><br></div><div style="font-family:arial;font-size:small">skype: peter_bodo</div><div style="font-family:arial;font-size:small">linkedin: <a href="https://www.linkedin.com/in/peterbodo" target="_blank">https://www.linkedin.com/in/peterbodo</a></div><div style="font-family:arial;font-size:small">twitter : <a href="https://twitter.com/bodopete" target="_blank">https://twitter.com/bodopete</a></div><div style="font-family:arial;font-size:small"><br></div></div></div></div>
<br><div class="gmail_quote">2015-10-24 12:05 GMT+02:00 Vid Gabor <span dir="ltr"><<a href="mailto:vidgabor@gmail.com" target="_blank">vidgabor@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Én most néztem a QGIS tud átvenni közvetlenül az OSM-ből adatokat, és abban van egy halom ilyen funkció, de még csak a manual olvasásig jutottam, meg feltelepítettem, de még nem az igazi.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-10-22 23:18 GMT+02:00 Peter Bodo <span dir="ltr"><<a href="mailto:peter.bodo@geologika.hu" target="_blank">peter.bodo@geologika.hu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Köszi, ez így jó lesz :)</div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div style="font-family:arial"><font size="4">Peter Bodo</font></div><div style="font-family:arial;font-size:small">Route4U - wheelchair route planner</div><div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small">+367093183822</div><div style="font-family:arial;font-size:small"><a href="http://route4u.org/" target="_blank">http://route4u.org/</a><br></div><div style="font-family:arial;font-size:small">skype: peter_bodo</div><div style="font-family:arial;font-size:small">linkedin: <a href="https://www.linkedin.com/in/peterbodo" target="_blank">https://www.linkedin.com/in/peterbodo</a></div><div style="font-family:arial;font-size:small">twitter : <a href="https://twitter.com/bodopete" target="_blank">https://twitter.com/bodopete</a></div><div style="font-family:arial;font-size:small"><br></div></div></div></div><div><div>
<br><div class="gmail_quote">2015-10-22 10:48 GMT+02:00 Imre Samu <span dir="ltr"><<a href="mailto:pella.samu@gmail.com" target="_blank">pella.samu@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Milyen pontosan kell :) <div>* tapasztalatom szerint az overpass nem vágja el a (admin) polygonhatáron az utakat , ha már 1 méterre belelóg, akkor már megjelenik az overpass queryben, még akkor is, ha Bécsig elszalad az a bicikli út egy relationnal ...</div><div>*és nem minden highway számít utcahálózatának </div><div><br></div><div>Overpass-ban az utak hossza még nincs implementálva: <a href="https://github.com/drolbr/Overpass-API/issues/237" target="_blank">https://github.com/drolbr/Overpass-API/issues/237</a></div><div><br></div><div>Szerintem precíz eredményt sql-el kapsz. </div><div>Tutoriál úthálózat hosszának meghatározására : <a href="https://github.com/openstreetmap/osm2pgsql/blob/master/docs/analysis.md" target="_blank">https://github.com/openstreetmap/osm2pgsql/blob/master/docs/analysis.md</a><br></div><div><br></div><div><br></div><div>Vácra én valamelyik régebbi adatbázis állapotra ezt kaptam :</div><div><br><div><font face="monospace, monospace" color="#0000ff">With telepules_polygon as </font></div><div><font face="monospace, monospace" color="#0000ff">(SELECT way FROM planet_osm_polygon WHERE boundary='administrative' AND admin_level='8' AND name=<b>'Vác' </b>limit 1)</font></div><div><font face="monospace, monospace" color="#0000ff">SELECT</font></div><div><font face="monospace, monospace" color="#0000ff"> round(SUM(</font></div><div><font face="monospace, monospace" color="#0000ff"> ST_Length(ST_Transform(</font></div><div><font face="monospace, monospace" color="#0000ff"> ST_Intersection(way, (SELECT way FROM telepules_polygon))</font></div><div><font face="monospace, monospace" color="#0000ff"> ,4326)::geography)</font></div><div><font face="monospace, monospace" color="#0000ff"> )) AS "distance (meters)", highway AS "highway type"</font></div><div><font face="monospace, monospace" color="#0000ff"> FROM planet_osm_line</font></div><div><font face="monospace, monospace" color="#0000ff"> WHERE highway IS NOT NULL</font></div><div><font face="monospace, monospace" color="#0000ff"> AND ST_Intersects(way, (SELECT way FROM telepules_polygon))</font></div><div><font face="monospace, monospace" color="#0000ff"> GROUP BY highway</font></div><div><font face="monospace, monospace" color="#0000ff"> ORDER BY "distance (meters)" DESC;</font><br><br></div></div><div><div><font face="monospace, monospace"> distance (meters) | highway type </font></div><div><font face="monospace, monospace">-------------------+----------------</font></div><div><font face="monospace, monospace"> 147185 | track</font></div><div><font face="monospace, monospace"> 125998 | residential</font></div><div><font face="monospace, monospace"> 50295 | service</font></div><div><font face="monospace, monospace"> 46291 | footway</font></div><div><font face="monospace, monospace"> 22226 | path</font></div><div><font face="monospace, monospace"> 16817 | primary</font></div><div><font face="monospace, monospace"> 15842 | unclassified</font></div><div><font face="monospace, monospace"> 12880 | cycleway</font></div><div><font face="monospace, monospace"> 10168 | secondary</font></div><div><font face="monospace, monospace"> 9727 | tertiary</font></div><div><font face="monospace, monospace"> 9622 | trunk</font></div><div><font face="monospace, monospace"> 6579 | living_street</font></div><div><font face="monospace, monospace"> 5960 | trunk_link</font></div><div><font face="monospace, monospace"> 2513 | pedestrian</font></div><div><font face="monospace, monospace"> 1865 | steps</font></div><div><font face="monospace, monospace"> 499 | primary_link</font></div><div><font face="monospace, monospace"> 310 | platform</font></div><div><font face="monospace, monospace"> 109 | secondary_link</font></div><div><font face="monospace, monospace"> 77 | raceway</font></div><div><font face="monospace, monospace"> 44 | tertiary_link</font></div><div><font face="monospace, monospace">(20 rows)</font></div></div><div><br></div><div><br></div><div>annyi kiegészítés, hogy a pontos belterület meghatározása nem lesz könnyű.</div><div>elsőre arra gondoltam, hogy a landuse=residential / <span style="color:rgb(0,0,0);font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;font-size:12px;line-height:15.2727px">landuse=industrial </span>polygon segítségével megkapom, de ez nem mindenütt működik. </div><div>Vácon például pont nagyon szét van ez szabdalva... overpass-turbo: landuse=* in "Vác" ( <a href="http://overpass-turbo.eu/s/cch" target="_blank">http://overpass-turbo.eu/s/cch</a> )</div><div><br></div><div>üdv,<br></div><div> Imre</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2015. október 22. 8:48 Peter Bodo írta, <span dir="ltr"><<a href="mailto:peter.bodo@geologika.hu" target="_blank">peter.bodo@geologika.hu</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_extra">Sziasztok,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Tudtok egyszerű módszert egy város utcahálózatának hosszának a mérésére?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Amit most használok:</div><div class="gmail_extra">overpass-turbo:</div><div class="gmail_extra">highway=* in [város]</div><div class="gmail_extra"><br></div><div class="gmail_extra">ezzel máris az a gond, hogy a külterületet is hozzácsapja</div><div class="gmail_extra"><br></div><div class="gmail_extra">Aztán JOSM measure toollal lemérem</div><div class="gmail_extra">ezzel meg az a gond, hogy elég erőforrásigényes egy metorpolisznál</div><div class="gmail_extra"><br></div><div class="gmail_extra">A legjobb az lenne, ha lehetne mondjuk overpassban olyan lekérést adni, ami nem küldözgeti az egész nyers adatot, csak a hosszt.</div><div class="gmail_extra"><br></div><div class="gmail_extra">VAn ilyen lehetőség?</div><div class="gmail_extra">üdv,</div><div class="gmail_extra">Peti</div></div></div></div><span><font color="#888888"><span><font color="#888888">
<p></p>
-- <br>
Magyar OSM Levelezőlista - <a href="mailto:openstreetmap-hungary@googlegroups.com" target="_blank">openstreetmap-hungary@googlegroups.com</a><br>
leiratkozás: <a href="mailto:openstreetmap-hungary%2Bunsubscribe@googlegroups.com" target="_blank">openstreetmap-hungary+unsubscribe@googlegroups.com</a><br>
--- <br>
Azért kapta ezt az üzenetet, mert feliratkozott a Google Csoportok „openstreetmap-hungary” csoportjára.<br>
Az erről a csoportról és az ahhoz kapcsolódó e-mailekről való leiratkozáshoz küldjön egy e-amailt a(z) <a href="mailto:openstreetmap-hungary+unsubscribe@googlegroups.com" target="_blank">openstreetmap-hungary+unsubscribe@googlegroups.com</a> címre.<br>
További lehetőségekért látogasson el ide: <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</font></span></font></span></blockquote></div><span><font color="#888888"><br></font></span></div></div><span><font color="#888888">
<p></p>
-- <br>
Magyar OSM Levelezőlista - <a href="mailto:openstreetmap-hungary@googlegroups.com" target="_blank">openstreetmap-hungary@googlegroups.com</a><br>
leiratkozás: <a href="mailto:openstreetmap-hungary%2Bunsubscribe@googlegroups.com" target="_blank">openstreetmap-hungary+unsubscribe@googlegroups.com</a><br>
--- <br>
Azért kapta ezt az üzenetet, mert feliratkozott a Google Csoportok „openstreetmap-hungary” csoportjára.<br>
Az erről a csoportról és az ahhoz kapcsolódó e-mailekről való leiratkozáshoz küldjön egy e-amailt a(z) <a href="mailto:openstreetmap-hungary+unsubscribe@googlegroups.com" target="_blank">openstreetmap-hungary+unsubscribe@googlegroups.com</a> címre.<br>
További lehetőségekért látogasson el ide: <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</font></span></blockquote></div><br></div></div></div><div><div>
<p></p>
-- <br>
Magyar OSM Levelezőlista - <a href="mailto:openstreetmap-hungary@googlegroups.com" target="_blank">openstreetmap-hungary@googlegroups.com</a><br>
leiratkozás: <a href="mailto:openstreetmap-hungary%2Bunsubscribe@googlegroups.com" target="_blank">openstreetmap-hungary+unsubscribe@googlegroups.com</a><br>
--- <br>
Azért kapta ezt az üzenetet, mert feliratkozott a Google Csoportok „openstreetmap-hungary” csoportjára.<br>
Az erről a csoportról és az ahhoz kapcsolódó e-mailekről való leiratkozáshoz küldjön egy e-amailt a(z) <a href="mailto:openstreetmap-hungary+unsubscribe@googlegroups.com" target="_blank">openstreetmap-hungary+unsubscribe@googlegroups.com</a> címre.<br>
További lehetőségekért látogasson el ide: <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</div></div></blockquote></div><br></div>
<p></p>
-- <br>
Magyar OSM Levelezőlista - <a href="mailto:openstreetmap-hungary@googlegroups.com" target="_blank">openstreetmap-hungary@googlegroups.com</a><br>
leiratkozás: <a href="mailto:openstreetmap-hungary%2Bunsubscribe@googlegroups.com" target="_blank">openstreetmap-hungary+unsubscribe@googlegroups.com</a><br>
--- <br>
Azért kapta ezt az üzenetet, mert feliratkozott a Google Csoportok „openstreetmap-hungary” csoportjára.<br>
Az erről a csoportról és az ahhoz kapcsolódó e-mailekről való leiratkozáshoz küldjön egy e-amailt a(z) <a href="mailto:openstreetmap-hungary+unsubscribe@googlegroups.com" target="_blank">openstreetmap-hungary+unsubscribe@googlegroups.com</a> címre.<br>
További lehetőségekért látogasson el ide: <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</div></div></blockquote></div><br></div>