This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"LineString","coordinates":[[10.755478923076922,59.885407081149786],[10.758434933594085,59.88642960486745],[10.758839265368586,59.88938561538462],[10.758962829740153,59.892869522047846],[10.758899257591983,59.894332357792635],[10.75904218947211,59.8977526923077],[10.761849649954542,59.89974904235314],[10.763846000000001,59.90037909571002],[10.767658889702233,59.90156558200992],[10.768248627673362,59.90171714155741],[10.772213076923077,59.90316143781213],[10.774610601233142,59.9037222449207],[10.777408376304393,59.90611976923078],[10.7775791501921,59.90912077288483],[10.777971065176466,59.911877757484156],[10.778145589096072,59.91448684615386],[10.776789681645074,59.918277318354924],[10.776740491733204,59.91901426096397],[10.77309189105872,59.922853923076914],[10.77265332771113,59.923294173864974],[10.772213076923078,59.9235240680719],[10.769855476489093,59.9252115235109],[10.76782008384266,59.92682800691958],[10.763846,59.92844214711 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"areaid": 0, | |
"comment": null, | |
"description": "Kjekstadmarka er skogsområdet mellom Asker, Lier og Røyken.", | |
"filename": "kjekstadmarka", | |
"mapImageUrl": "http://www.turkompisen.no/mbtiles/iosmapImageUrls/kjekstadmarka", | |
"centerLat": 59.78, | |
"centerLon": 10.35, | |
"maxLat": 59.8265943274407, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mb = MBTilesBuilder( tiles_url=«http://example.com/url_til_cache/, filepath=«/tmp/offline_fil.mbtiles», remote=True, cache=False) | |
mb.add_coverage(bbox=( 9.83, 60.2, 10.02, 60.8 ), zoomlevels=[ 7,8,9,10,11,12,13 ] ) | |
mb.run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Simple script to transform coordinates from WGS84 Geographic to UTM Zone 33N. | |
Based on Holsen.js, which in turn is based on "Holsens småprogrammer" | |
License: MIT | |
Written by: Atle F. Sveen | |
**/ | |
var toUtm33 = (function () { | |
'use strict'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ViewController.m | |
// MapboxTest | |
// | |
// Created by Espen Oldeman Lund on 28.08.14. | |
// Copyright (c) 2014 Espen Oldeman Lund. All rights reserved. | |
// | |
#import "ViewController.h" | |
#import "Mapbox.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<script src='//api.tiles.mapbox.com/mapbox.js/v1.6.1/mapbox.js'></script> | |
<link href='//api.tiles.mapbox.com/mapbox.js/v1.6.1/mapbox.css' rel='stylesheet' /> | |
<script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-image/v0.0.3/leaflet-image.js'></script> | |
<script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-image/v0.0.3/leaflet-image.js'></script> | |
<style type="text/css"> | |
html, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width"> | |
<meta name="mobile-web-app-capable" content="yes"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Leaflet example code</title> | |
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.6.0/mapbox.css' rel='stylesheet' /> | |
<script src='http://api.tiles.mapbox.com/mapbox.js/v1.6.0/mapbox.js'></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Open a DEM, do a gaussian blur, then save it again | |
# Heavily based on: | |
# http://gis.stackexchange.com/questions/9431/what-raster-smoothing-generalization-tools-are-available | |
# | |
# Syntax for running snippet: | |
# python smoothDem.py input.tif output.tif 5 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"units": "m", | |
"srs": "EPSG:32633", | |
"layout": "Normal(A4)", | |
"dpi": 60, | |
"layers": [{ | |
"type": "Vector", | |
"styles": { | |
"1": { | |
"fillColor": "orange", |
NewerOlder