- Create a JSON of tasks
- Call them from main and populate the menu
- for each task load the URL.
{"task": | |
{ "layers": [ | |
{"url": "http://cyberjapandata.gsi.go.jp/xyz/ort/{z}/{x}/{y}.jpg", | |
"name": "Japan GSI layer"}, | |
{ "url": "http://www.bing.com/maps/", | |
"name": "Bing"} | |
], | |
"filters": "highway=motorway|trunk|primary|secondary|*link|motorway_link", | |
"comment": "#japan-road-improvement-45 http://tasks.openstreetmap.in/project/45 Aligning existing highways to GSI orthorectified imagery", | |
"source": "GSImaps/ort", |
{ | |
"tasks" : [ | |
{ | |
"name" : "Japan" , | |
"URL" : "https://api.github.com/gists/c02c7c8817084a826110" | |
}, | |
{ | |
"name" : "Bangalore" , | |
"URL" : "https://api.github.com/gists/c02c7c8817084a826110" | |
} |
{ | |
"project": { | |
"type": "task", | |
"name": "Turn Lanes", | |
"description": "Mapping turn lanes from satellite imagery", | |
"doc_url": "https://github.com/mapbox/mapping/issues/144", | |
"changeset": { | |
"source" : " ", | |
"comment": "Add missing turn lanes from satellite imagery https://github.com/mapbox/mapping/issues/144" | |
}, |
The plugin is an update of the Task configuration plugin which I had written a diary post on. When I first created the JOSM configuration plugin it was with the intention of allowing users to directly load the configuration file by providing the gist link. It then occured to me that it would probably be better to save the configuration files incase the user wishes to revisit the task. In order to do that I decided to automatically load a set of task configurations to a list which would be displayed once the plugin loads.This allows the user to load the configurations as many times as he/she wants and additionally switch between different configurations. A new configuration can be addedhere. To create a custom confgiuration the user can use this JSON structure:
"project": {
"type": "task",
"name": " ",
As configured in my dotfiles.
start new:
tmux
start new with session name:
Some notes on remote debugging mac builds on Travisci. It's hard to tell when something hangs what the cause it. Trial and error via commits is tedious. And on Mac , sometimes it's the gui asking for input. So I worked my around to get the access I needed for faster debugging a build. | |
################################################# | |
# Enable remote ssh access to travisci build for debugging | |
################################################# | |
# Add a key so we can login to travisci vm | |
- cat ssh/travisci.pub >> ~/.ssh/authorized_keys | |
- chmod 600 ssh/travisci | |
# Install netcat |
Previously also worked on building a geospatial search engine in Rust and Javascript:
- carmen-core: https://web.archive.org/web/20210107044110/https://github.com/mapbox/carmen-core
- carmen: https://web.archive.org/web/20201112022630/https://github.com/mapbox/carmen
- symspell evaluation for mispellings: https://gist.github.com/aarthykc/389596f0007a52e1cec98980c64a4b44