All Projects → mapbox → whoots-js

mapbox / whoots-js

Licence: ISC License
Request tiles from WMS servers that support EPSG:3857

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to whoots-js

dddplus-archetype-demo
♨️ Using dddplus-archetype build a WMS in 5 minutes. 5分钟搭建一个仓储中台WMS!
Stars: ✭ 56 (+194.74%)
Mutual labels:  wms
warehouse-management-system
It is a Warehouse Management System(WMS)based on Java.
Stars: ✭ 31 (+63.16%)
Mutual labels:  wms
gsky
Distributed Scalable Geospatial Data Server
Stars: ✭ 23 (+21.05%)
Mutual labels:  wms
krawler
A minimalist (geospatial) ETL
Stars: ✭ 51 (+168.42%)
Mutual labels:  wms
GPXSee-maps
GPXSee maps
Stars: ✭ 27 (+42.11%)
Mutual labels:  wms
wms-tiles-downloader
CLI for downloading map tiles from WMS server with given bbox and zoom.
Stars: ✭ 47 (+147.37%)
Mutual labels:  wms
Brutile
BruTile is a .NET library to access tile services like those of OpenStreetMap, MapBox or GeodanMaps.
Stars: ✭ 203 (+968.42%)
Mutual labels:  wms
mywms
myWMS: Warehouse Management System
Stars: ✭ 67 (+252.63%)
Mutual labels:  wms
geotrellis-server
Tools for building raster processing and display services
Stars: ✭ 65 (+242.11%)
Mutual labels:  wms
pidswallow
A swallower script using process hierarchy.
Stars: ✭ 40 (+110.53%)
Mutual labels:  wms
eidea4
企业框架 scm erp wms
Stars: ✭ 53 (+178.95%)
Mutual labels:  wms
deegree3
Official deegree repository providing geospatial core libraries, data access and advanced OGC web service implementations
Stars: ✭ 118 (+521.05%)
Mutual labels:  wms
warehouse-framework
Laravel Warehouse Framework
Stars: ✭ 53 (+178.95%)
Mutual labels:  wms
tile-map-service-net5
Tile server for .NET 5 platform with MBTiles, Filesystem, GeoTIFF, HTTP sources and XYZ, TMS, WMTS, WMS endpoints (protocols support)
Stars: ✭ 45 (+136.84%)
Mutual labels:  wms
rok4
ROK4 est une suite d'outils open source développée par l'IGN France permettant la diffusion de données raster et vecteur en WMS, WMTS ou TMS. DEPRECATED ! Projet maintenu ici : https://github.com/rok4/documentation
Stars: ✭ 18 (-5.26%)
Mutual labels:  wms
Cosmoscout Vr
🌌 A virtual universe which lets you explore, analyze and present huge planetary datasets and large simulation data in real-time.
Stars: ✭ 240 (+1163.16%)
Mutual labels:  wms
Hajk
A modern, full-featured OpenLayers based map viewer and editor
Stars: ✭ 65 (+242.11%)
Mutual labels:  wms
tailormap
B3partners Tailormap repository
Stars: ✭ 26 (+36.84%)
Mutual labels:  wms
mapmint
Fast and easy webmapping.
Stars: ✭ 51 (+168.42%)
Mutual labels:  wms
wms
WMS/WMTS server for Node.js
Stars: ✭ 60 (+215.79%)
Mutual labels:  wms

npm version Build Status Coverage Status

whoots-js

Request tiles from WMS servers that support EPSG:3857.

This project is a JavaScript port of https://github.com/timwaters/whoots by Tim Waters.

What is it?

Given a z/x/y tile coordinate like 19/154308/197167, whoots-js can request imagery from an EPSG:3857 supporting WMS server like this:

https://img.nj.gov/imagerywms/Natural2015?
  bbox=-8242663.382160267,4966572.349857613,-8242586.945131982,4966648.786885899
  &format=image/png&service=WMS&version=1.1.1&request=GetMap&srs=EPSG:3857
  &width=256&height=256&layers=Natural2015

Usage

var WhooTS = require('@mapbox/whoots-js');

// Get an image url for a given tile coordinate
var baseUrl = 'https://img.nj.gov/imagerywms/Natural2015';
var layer = 'Natural2015';
var url = WhooTS.getURL(baseUrl, layer, 154308, 197167, 19);

Server

This project includes a sample redirecting wms proxy server in server.js.

npm run start will start a local server on port 8080 that redirects tile requests.

Valid tile requests look like:

http://localhost:8080/tms/{z}/{x}/{y}/{layer}/{endpoint}
http://localhost:8080/tms/19/154308/197167/Natural2015/https://img.nj.gov/imagerywms/Natural2015

Documentation

Complete API documentation is here: http://mapbox.github.io/whoots-js/

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].