Library | Static / Dynamic | Cartesian / Geographic | kNN | Index containing points | Index containing boxes | Within radius |
---|---|---|---|---|---|---|
rbush | dynamic | 🗺️ cartesian | ❌ | ✔️ | ✔️ | ❌ |
rbush-knn | dynamic | 🗺️ cartesian | ✔️ | ✔️ | ✔️ | ✔️ |
kdbush | static | 🗺️ cartesian | ❌ | ✔️ | ❌ | ✔️ |
geokdbush | static | 🌏 geo | ✔️ | ✔️ | ❌ | ✔️ |
flatbush | static | 🗺️ cartesian | ✔️ | ✔️ | ✔️ | ✔️ |
geoflatbush | static | 🌏 geo | ✔️ | :heavy_che |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
meta { | |
title: "Coloured Streets AU"; | |
version: "3.53.127_2021-04-10"; | |
description: "Colouring of buildings, address nodes and streets with the same street name in the same colour. Makes working with addresses a lot easier. Check out the linked page to read how to change some settings of this mappaint style."; | |
icon: "ColouredStreetsIcon.svg"; | |
author: "geozeisig, Klumbumbus"; | |
link: "https://josm.openstreetmap.de/wiki/Styles/Coloured_Streets"; | |
min-josm-version: "8087"; /* due to @supports */ | |
/* This mapcss mappaint style was created for JOSM 8087. I try to support future versions of JOSM and its internal default mappaint style as long as possible. */ | |
} |
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> | |
<meta charset="utf-8"> | |
<title>Locate the user</title> | |
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"> | |
<link href="https://api.mapbox.com/mapbox-gl-js/v3.1.2/mapbox-gl.css" rel="stylesheet"> | |
<script src="https://api.mapbox.com/mapbox-gl-js/v3.1.2/mapbox-gl.js"></script> | |
<style> | |
body { margin: 0; padding: 0; } |
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
meta { | |
title: "Sidewalks Plus"; | |
description: "Visualizes the sidewalk attribute of highways. sidewalk=* is rendered as a thick dashed line, separately mapped sidewalks tagged footway=sidewalk are rendered thicker."; | |
link: "https://wiki.openstreetmap.org/wiki/Key:sidewalk"; | |
author: "Cobra;Aharvey"; | |
version: "0.7_2021-06-28"; | |
min-josm-version: "4399"; | |
} | |
meta[lang=de] { |
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
#!/usr/bin/env node | |
/* eslint-disable */ | |
const MapboxClient = require('.'); | |
const MapboxStyles = require('./services/styles'); | |
const MapboxFonts = require('./services/fonts'); | |
const fs = require('fs'); | |
const fontsService = MapboxFonts({ accessToken: process.env.MAPBOX_ACCESS_TOKEN }); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/sh | |
wget -O - 'http://data.actmapi.act.gov.au/arcgis/rest/services/actmapi/?f=pjson' | jq '{"version": "https://jsonfeed.org/version/1", "title": "data.actmapi services", "home_page_url": "http://data.actmapi.act.gov.au/arcgis/rest/services/actmapi/?f=pjson", "items": [.services[].name | {"id": ., "content_text": .}]}' > feed.json |
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
!/bin/sh | |
setoptions=`curl \ -X POST \ --header 'Content-Type: application/json' \ --data '{ "name": "camera.setOptions", "parameters": { "options": { "captureMode": "interval", "captureInterval": 2 } }}' \ http://192.168.43.1:6624/osc/commands/execute | jq '.state'` | |
startcapture=`curl \ -X POST \ --header 'Content-Type: application/json' \ --data '{"name": "camera.startCapture"}' \ http://192.168.43.1:6624/osc/commands/execute | jq '.state'` | |
termux-toast -g bottom "$setoptions - $startcapture" |
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
#!/bin/bash | |
WIDTH=`gdalinfo -json $FILE | jq .size[0]` | |
MINX=`gdalinfo -json $FILE | jq .wgs84Extent.coordinates[0][0][0]` | |
MAXX=`gdalinfo -json $FILE | jq .wgs84Extent.coordinates[0][2][0]` | |
MAXZOOM=`echo "l( ( 360 * $WIDTH ) / ( 256 * ( $MAXX - $MINX ) ) ) / l(2)" | bc -l | perl -nl -MPOSIX -e 'print ceil($_);'` | |
# 2^n tiles at zoom n | |
# therefore 2^n * 256 pixels of width for the world at zoom n | |
# therefore 360 / (2^n * 256) degrees per pixel at zoom n |
NewerOlder