Differences

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

Link to this comparison view

Next revision
Previous revision
project:mapy [2017/10/04 00:58]
over23 created
project:mapy [2017/10/13 09:18] (current)
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: 
 +     * Apple: https://​wiki.openstreetmap.org/​wiki/​Apple_iOS  
 +  * 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.1507078706.txt.gz
  • Last modified: 2017/10/04 00:58
  • by over23