模块化的 GIS 引擎​ Turf

码农软件 · 软件分类 · 地理信息系统GIS · 2020-02-21 11:57:51

软件介绍

======

Turf 是一个 JavaScript 的模块化的 GIS 引擎,它执行地理空间与GeoJSON数据处理任务,可以在服务器或在浏览器上运行。

Node.js 示例代码:

// find all the snakes within 1 mile of a wombat

var turf = require('turf');
var fs = require('fs');

var wombats = fs.readFileSync('./wombats.geojson');
var snakes = fs.readFileSync('./snakes.geojson');

var oneMileRing = turf.buffer(wombats, 1, 'miles');
var snakesNearWombats = turf.within(snakes, oneMileRing);

console.log(snakesNearWombats);

安装方法:

npm install turf

本文地址:https://codercto.com/soft/d/26092.html

Beginning PHP and MySQL 5

Beginning PHP and MySQL 5

W. Jason Gilmore / Apress / 2006-01-23 / USD 44.99

Beginning PHP and MySQL 5: From Novice to Professional, Second Edition offers comprehensive information about two of the most prominent open source technologies on the planet: the PHP scripting langua......一起来看看 《Beginning PHP and MySQL 5》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具