Skip to content

Instantly share code, notes, and snippets.

Avatar

Peter Neubauer peterneubauer

  • Neo Technology
  • Malmö, Sweden
View GitHub Profile
@peterneubauer
peterneubauer / .surfingkeys
Last active Mar 2, 2018 — forked from marcusramberg/.cvimrc
surfingkeus settings
View .surfingkeys
// only keep E, R and T from Surfingkeys for gmail.com and twitter.com
unmapAllExcept(['E','R','T'], /gmail.com|twitter.com/);
View Svalbard_photostory.js
//This is intended to be viewed from https://mapillary-hacks.github.io/photostories/?src=https://rawgit.com/peterneubauer/70dd589ab415d8095ddabf7ed1d12eaf/raw/Svalbard_photostory.js
var project_title = 'Life at the Ny Ålesund Polar Research village';
var project_subtitle = 'Mapillary for research';
var images = [
'rvFcR03VS8Qi1JButzIqVQ',
'tGOee9btWUpYweuS_cchig',
'3sYvg9FDsNU3x_pjkVuN6g',
'iInqJ7OIoVWeySXyKcu5wg',
'AHt_kRElQYFGeFBus8DYZw',
View gist:6a50a345786addcd463ffd3377741c6e
var project_title = 'Testte';
var project_subtitle = 'stest';
var images = ['OLp7WDtFIsOlJdQHXHY3Hg'];
var titles = ['hej'];
var content = ['content'];
View feeditems.json
{
"took": 2,
"timed_out": false,
"_shards": {
"total": 20,
"successful": 20,
"failed": 0
},
"hits": {
"total": 42,
@peterneubauer
peterneubauer / .block
Last active Mar 9, 2016
mapillary-js perspective photo + Esri Leaflet, map clicking support
View .block
license: CC-0
View Upload gopro images.md

Add the lon/lat info from the gpx file

python ./geotag_from_gpx.py ~/Downloads/harry/20140406 ~/Downloads/harry/20151208012858-66158-data.gpx

Split the images into time sequences using the defaults for time and sequence max-length

python ./sequence_split.py ~/Downloads/harry/20140406   

resulting in different folders that can be uploaded via the Mapilary web upload, setting the max-images to more than 300 if necessary.

View scoutsigns-manual.md

ScoutSigns User Manual

Introduction

ScoutSigns is a JOSM plugin to help you quickly map speed limits and other information from actual road signs automatically captured by Scout and Mapillary users.

The sign information is collected by people like you! The latest version of Scout has a ScoutSigns mobile component built right into the app. (Right now, the ScoutSigns component is only available for iOS for iPhone 5 or better.) If you mount the phone on the windshield while driving with Scout (and you opt in) you will automagically contribute to this fast growing sign database that is free for the OSM community to use. Could not be easier!

NEW On top of that, ScoutSigns will also pull in the highest quality signs from Mapillary! As a mapper, it is likely that you already know the fantastic Mapillary project - an open source Street View is the best way to describe it. Recently, [Mapillary starte

View upload_images_to_mapillary.md

Bulk-uploading images taken outside Mapillary apps

Prepare the data

Copy the images from your Action Cam into a folder structure where every folder contains the images that will form one sequence (taken in consequtive 2s intervals)

tree  ~/Downloads/colombia 
/Users/peterneubauer/Downloads/colombia
└── 01
View ICA_
W/RestTemplate(10972): GET request for "https://api.ica.se/api/user/shoppinglists/1351586" resulted in 500 (Internal Server Error); invoking error handler
E/MP-Decision( 2006): num online cores: 2 reqd : 3 available : 4 rq_depth:3.000000 hotplug_avg_load_dw: 200
E/MP-Decision( 2006): UP cpu:1 core_idx:1 Nw:1.900000 Tw:140 rq:3.000000 seq:0.000000
E/MP-Decision( 2006): UP cpu:2 core_idx:2 Nw:2.700000 Tw:90 rq:3.000000 seq:98.000000
I/dalvikvm(10972): threadid=27: stack overflow on call to Ljava/lang/String;.<init>:VLIIL
I/dalvikvm(10972): method requires 136+20+20=176 bytes, fp is 0x73af93a0 (160 left)
I/dalvikvm(10972): expanding stack end (0x73af9300 to 0x73af9000)
I/dalvikvm(10972): Shrank stack (to 0x73af9300, curFrame is 0x73af99e4)
W/dalvikvm(10972): threadid=27: thread exiting with uncaught exception (group=0x41859da0)
D/HockeyApp(10972): Writing unhandled exception to: /data/data/se.ica.handla/files/81b0636e-3eb3-48a4-a6fb-ed116e9e4b09.stacktrace