All Projects → nickpeihl → turf-async

nickpeihl / turf-async

Licence: other
Demonstrating how to use Turf.js with web workers to run geoprocesses asynchronously

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to turf-async

pyturf
A modular geospatial engine written in python
Stars: ✭ 15 (-70%)
Mutual labels:  geojson, turf
turf dart
A turf.js-like geospatial analysis library working with GeoJSON, written in pure Dart.
Stars: ✭ 14 (-72%)
Mutual labels:  geojson, turf
Turf
A modular geospatial engine written in JavaScript
Stars: ✭ 6,659 (+13218%)
Mutual labels:  geojson, turf
turf-go
A Go language port of Turf.js
Stars: ✭ 41 (-18%)
Mutual labels:  geojson, turf
Mapbox Gl Js
Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
Stars: ✭ 8,017 (+15934%)
Mutual labels:  geojson, mapbox-gl-js
who-owns-what
Who owns what in nyc?
Stars: ✭ 146 (+192%)
Mutual labels:  mapbox-gl-js
mapbox-gl-accessibility
An accessibility control for Mapbox GL JS
Stars: ✭ 64 (+28%)
Mutual labels:  mapbox-gl-js
geojson-to-sqlite
CLI tool for converting GeoJSON files to SQLite (with SpatiaLite)
Stars: ✭ 41 (-18%)
Mutual labels:  geojson
maptalks.mapboxgl
MapboxglLayer for maptalks.js
Stars: ✭ 51 (+2%)
Mutual labels:  mapbox-gl-js
check-geojson
a checker for the geojson format. goes beyond a schema, checking semantics and producing character-level warnings.
Stars: ✭ 36 (-28%)
Mutual labels:  geojson
linked-places-format
Linked Places format is used to describe attestations of places in a standard way, primarily for linking gazetteer datasets.
Stars: ✭ 54 (+8%)
Mutual labels:  geojson
geocoder
Web app interface for geocoding addresses in CSV files.
Stars: ✭ 17 (-66%)
Mutual labels:  geojson
mapbox-gl-rails
A gem to provide Mapbox GL JS and it's ecosystem (plugins) for Rails applications 🚆
Stars: ✭ 32 (-36%)
Mutual labels:  mapbox-gl-js
lascallesdelasmujeres
Proyecto colaborativo para fomentar la generación de contenidos en OSM y Wikipedia, sobre mujeres.
Stars: ✭ 45 (-10%)
Mutual labels:  mapbox-gl-js
geojson
Library for serializing the GeoJSON vector GIS file format
Stars: ✭ 171 (+242%)
Mutual labels:  geojson
osm2geojson
Tool to convert open street map xml to geojson
Stars: ✭ 17 (-66%)
Mutual labels:  geojson
wavencoderjs
A fast cross-browser riff wave encoder for real-time audio synthesis in HTML5
Stars: ✭ 22 (-56%)
Mutual labels:  web-worker
detect-features
Detect and report browser and hardware features.
Stars: ✭ 63 (+26%)
Mutual labels:  web-worker
geojson-to-wfs-t-2
A lightweight javascript module to format WFS-T-2 statements from GeoJSON features
Stars: ✭ 21 (-58%)
Mutual labels:  geojson
leaflet-paintpolygon
Leaflet plugin to create polygon with circle as paint
Stars: ✭ 38 (-24%)
Mutual labels:  turf

Turf Async

A simple Mapbox-GL.js app demonstrating how to use Turf.js with web workers to run geoprocesses asynchronously

Why?

Turf.js is great for doing small geoprocessing jobs in the browser. However, with larger jobs, it can freeze the browser for long periods. While the browser is waiting for the Turf process to complete, you can't pan or zoom on the map or even switch browser tabs.

With web workers we can move the geoprocessing job off the main user interface thread. This means we can still manipulate the map and switch browser tabs while we wait for the job to complete.

Demo

Notice how the dance party stops momentarily when we click the Turf Sync button? Don't let the dance party stop! Click the Turf Async button to run the process in a web worker. This frees up the user interface resources for the dance party to continue!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].