Skip to content

Instantly share code, notes, and snippets.

@smsm1
smsm1 / Readme.md
Last active August 29, 2015 14:27
Tweaks to Mapilary python upload scripts which make it easier to upload multiple folders. See readme below.

Tweaks to Mapilary python upload scripts which make it easier to upload multiple folders. The upload_with_authentication.py script has been modified so that it automatically confirms all uploads. Occasionally there are upload connection errors, in which case a control+c will cancel the blocked thread and move on to the next upload. Assumes you have the python scripts checked out from Github.

Github scripts: https://github.com/mapillary/mapillary_tools/tree/master/python

Mapillary blog post at http://blog.mapillary.com/technology/2014/07/21/upload-scripts.html

@smsm1
smsm1 / gist:931c1b91cc2b40bdcc3f
Last active August 29, 2015 14:21
England OSM place points and areas that have different place values
node_id | node_name | node_place | area_id | area_name | area_place
------------+---------------------------+-------------------+-----------+---------------------------+-------------------
3170944449 | White Island | island | 237771677 | White Island | islet
3135514753 | Puffin Island | island | 237775398 | Puffin Island | islet
3130896739 | Foremans Island | island | 236953354 | Foremans Island | islet
3130894687 | Newford Island | islet | 239078676 | Newford Island | island
3130895311 | Toll's Island | island | 191593861 | Toll's Island | islet
3169261904 | Frenchman's Rock | islet | 191501886 | Frenchman's Rock | island
1617936495 | Higher Whiteleigh | locality | 119263644 | Higher Whiteleigh | hamlet
27587867 | Askam-in-
@smsm1
smsm1 / gist:9486760
Created March 11, 2014 14:23
great-britain OTP Build log 2014-03-11
13:36:13.510 WARN (OSMLevel.java:136) Could not determine floor number for layer LG, assumed to be ground-level.
13:36:13.510 WARN (OpenStreetMapGraphBuilderImpl.java:1839) Could not infer floor number for layer called 'LG' at 4563241. Vertical movement will still be possible, but elevator cost might be incorrect. Consider an OSM level map.
13:37:32.544 WARN (OpenStreetMapGraphBuilderImpl.java:2178) Unexpected role in multipolygon
13:37:32.544 WARN (OpenStreetMapGraphBuilderImpl.java:2178) Unexpected role in multipolygon
13:37:32.579 WARN (OpenStreetMapGraphBuilderImpl.java:2178) Unexpected role in multipolygon
13:37:32.585 WARN (OpenStreetMapGraphBuilderImpl.java:2178) Unexpected role in multipolygon
13:37:32.585 WARN (OpenStreetMapGraphBuilderImpl.java:2178) Unexpected role in multipolygon
13:37:32.585 WARN (OpenStreetMapGraphBuilderImpl.java:2178) Unexpected role in multipolygon
13:37:32.585 WARN (OpenStreetMapGraphBuilderImpl.java:2178) Unexpected role in multipolygon
13:37:32.606 WARN (OpenStreetM
@smsm1
smsm1 / gist:1629239
Created January 17, 2012 21:59
OSM website gemfile
diff --git a/Gemfile.lock b/Gemfile.lock
index 3343161..241e79e 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -49,7 +49,7 @@ GEM
faraday (0.7.5)
addressable (~> 2.2.6)
multipart-post (~> 1.1.3)
- rack (< 2, >= 1.1.0)
+ rack (>= 1.1.0, < 2)