Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
project:mapy [2017/10/04 02:58]
over23 created
project:mapy [2017/10/13 11:17]
over23
Line 1: Line 1:
 ====== OpenStreetMaps ====== ====== OpenStreetMaps ======
 +  * find nearby mappers: http://​resultmaps.neis-one.org/​oooc?​layers=B00FTFFFFT
  
 +  * overdrive'​s profile: https://​www.openstreetmap.org/​user/​Over23 
 +  * apps for Cell: 
 +  * apps for PC:
  
 want to query tag #urbex, or find key abandon: ​ want to query tag #urbex, or find key abandon: ​
-https://​wiki.openstreetmap.org/​wiki/​Tag:​man_made=works +  * https://​wiki.openstreetmap.org/​wiki/​Tag:​man_made=works 
-https://​wiki.openstreetmap.org/​wiki/​Key:​abandoned:​+  ​* ​https://​wiki.openstreetmap.org/​wiki/​Key:​abandoned:​ 
 + 
 +  * http://​overpass-api.de/​ 
 +  * https://​wiki.openstreetmap.org/​wiki/​Overpass_API 
 +  * https://​overpass-turbo.eu/​ 
 + 
 + 
 +<​file>​ 
 +/* 
 +This query looks for nodes, ways and relations  
 +with the given key. 
 +Choose your region and hit the Run button above! 
 +*/ 
 +[out:​json][timeout:​25];​ 
 +// gather results 
 +
 +  // query part for: “"​abandoned:"​=*” 
 +  node["​abandoned:"​]({{bbox}});​ 
 +  way["​abandoned:"​]({{bbox}});​ 
 +  relation["​abandoned:"​]({{bbox}});​ 
 +); 
 +// print results 
 +out body; 
 +>; 
 +out skel qt; 
 +</​file>​
  
-http://​overpass-api.de/​ 
-https://​wiki.openstreetmap.org/​wiki/​Overpass_API 
-https://​overpass-turbo.eu/​ 
  
  
 +__seach for gas-station example: https://​overpass-turbo.eu/,​ found: in menu last item: https://​wiki.openstreetmap.org/​wiki/​Tag:​amenity%3Dfuel
 +__
  
-seach for gas-station example: https://​overpass-turbo.eu/​ +<file java> 
-``` +/*
-<!--+
 This query looks for nodes, ways and relations ​ This query looks for nodes, ways and relations ​
 with the given key/value combination. with the given key/value combination.
 Choose your region and hit the Run button above! Choose your region and hit the Run button above!
---> +*/ 
-{{key=amenity}} +[out:​json][timeout:​25];​ 
-{{value=fuel}} +// gather results 
-<​osm-script output="​json">​ +( 
-  ​<​union>​ +  ​// query part for: “amenity=fuel” 
-    <query type="node"+  ​node["amenity"​="​fuel"]({{bbox}}); 
-      <has-kv k="{{key}}"​ v="{{value}}"/> +  way["amenity"​="​fuel"]({{bbox}}); 
-      <​bbox-query ​{{bbox}}/> +  relation["amenity"​="​fuel"]({{bbox}}); 
-    </​query>​ +); 
-    <query type="way"+// print results 
-      <has-kv k="​{{key}}" ​v="{{value}}"/> +out body; 
-      <​bbox-query ​{{bbox}}/> +>; 
-    </​query>​ +out skel qt; 
-    <query type="relation"​+</file>
-      <has-kv k="{{key}}"​ v="{{value}}"/> +
-      <​bbox-query ​{{bbox}}/> +
-    </​query>​ +
-  </union> +
-  <​print mode="body"/> +
-  <​recurse type="​down"/​+
-  <​print mode="​skeleton"/>​ +
-</osm-script> +
-```+
  • project/mapy.txt
  • Last modified: 2017/10/13 11:18
  • by over23