This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| tips:overpass [2020/11/16 18:40] – created scipio | tips:overpass [2020/11/17 16:36] (current) – scipio | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| select box and export all streets | select box and export all streets | ||
| < | < | ||
| - | [out:json][timeout: | + | [out:xml][timeout: |
| ( | ( | ||
| way[" | way[" | ||
| Line 13: | Line 13: | ||
| >; | >; | ||
| out skel qt; | out skel qt; | ||
| + | </ | ||
| + | |||
| + | selezionare direttamente l'area parcheggi di fes | ||
| + | < | ||
| + | [out: | ||
| + | (way[" | ||
| + | out body; | ||
| + | >; | ||
| + | out skel qt; | ||
| + | </ | ||
| + | |||
| + | export data in OSM | ||
| + | |||
| + | create db | ||
| + | < | ||
| + | spatialite_osm_net -o fes.osm -d fes.sqlite -T roads | ||
| + | echo ' | ||
| + | </ | ||
| + | |||
| + | |||
| + | < | ||
| + | # MakePoint(longitude, | ||
| + | SELECT a.distance, | ||
| + | WHERE f_table_name = ' | ||
| + | </ | ||
| + | |||
| + | |||
| + | < | ||
| + | sqlite3 / | ||
| + | SELECT load_extension(' | ||
| + | |||
| + | |||
| + | |||
| + | |||
| </ | </ | ||