Turf.jl
A port of the Turf.js library to the Julia language.
Introduction
Turf.jl is a port of the geospatial library Turf.js. It works with any type of spatial data that is compliant to the GeoJSON specification.
Turf.jl implements most of the funcionalities available in the original library.
Installation
Install Turf.jl within Julia using
import Pkg; Pkg.add("Turf")or from the REPL using Pkg mode
pkg> add TurfContents
Usage
- See the Getting Started section for an introduction to Turf.jl
Most of the time Turf.jl works very similar to the original library, so the Turf.js documentation is a good place to start.
Some examples can be found in the Examples section.
See the Index for a complete list of documented functions.
Contribute
Contributions are very appreciated! If you want to suggest something, or simply found a bug, please open a issue on Github. Thank you!
Index
Turf.angle_adjacentTurf.areaTurf.bboxTurf.bboxTurf.bboxTurf.bbox_polygonTurf.bearingTurf.bearing_to_azimuthTurf.bezierTurf.centerTurf.centroidTurf.centroidTurf.circleTurf.cleanTurf.cleanTurf.clean!Turf.clean!Turf.clockwiseTurf.combineTurf.concaveTurf.containsTurf.convert_areaTurf.convert_lengthTurf.convert_toTurf.crossesTurf.destinationTurf.disjointTurf.distanceTurf.distance_to_segmentTurf.distance_weightTurf.ellipseTurf.explodeTurf.flipTurf.hexgridTurf.intersectionTurf.length_to_degreesTurf.length_to_radiansTurf.line_intersectsTurf.linearcTurf.lineclipTurf.linesegmentTurf.masscenterTurf.meancenterTurf.mediancenterTurf.midpointTurf.nearestpointTurf.overlapTurf.overlapTurf.parallelTurf.planepointTurf.pnorm_distanceTurf.point_gridTurf.point_in_polygonTurf.point_on_lineTurf.point_to_line_distanceTurf.polygon_tangentsTurf.polygon_to_lineTurf.polygonclipTurf.radians_to_lengthTurf.rectangle_gridTurf.rhumb_bearingTurf.rhumb_destinationTurf.rhumb_distanceTurf.scaleTurf.sectorTurf.simplifyTurf.simplifyTurf.simplifyTurf.simplify!Turf.simplify!Turf.simplify!Turf.squareTurf.square_gridTurf.tagTurf.to_WGS84Turf.to_mercatorTurf.transform_rotateTurf.transform_scaleTurf.transform_translateTurf.triangle_gridTurf.within