1"use strict";(globalThis.webpackChunkturf_www||=[]).push([[5074],{4699(e,n,t){t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>u,default:()=>h,frontMatter:()=>d,metadata:()=>i,toc:()=>g});const i=JSON.parse('{"id":"api/types/Units","title":"Units","description":"{() => }","source":"@site/versioned_docs/version-7.2.0/api/types/Units.mdx","sourceDirName":"api/types","slug":"/api/types/Units","permalink":"/docs/7.2.0/api/types/Units","draft":false,"unlisted":false,"editUrl":"https://github.com/Turfjs/turf-www/tree/master/versioned_docs/version-7.2.0/api/types/Units.mdx","tags":[],"version":"7.2.0","frontMatter":{"title":"Units"},"sidebar":"apiSidebar","previous":{"title":"QuadratAnalysisResult","permalink":"/docs/7.2.0/api/types/QuadratAnalysisResult"},"next":{"title":"clusterEachCallback","permalink":"/docs/7.2.0/api/types/clusterEachCallback"}}');var o=t(86070),s=t(67028),r=t(64776),a={};t.r(a),t.d(a,{along:()=>r.Qwm,angle:()=>r.g7h,applyFilter:()=>r.$hf,area:()=>r.Wcw,areaFactors:()=>r.i26,azimuthToBearing:()=>r.Oe8,bbox:()=>r.Qk1,bboxClip:()=>r.ywB,bboxPolygon:()=>r.kJI,bearing:()=>r.dcc,bearingToAzimuth:()=>r.u8E,bezierSpline:()=>r.vKl,booleanClockwise:()=>r.D2R,booleanConcave:()=>r.U7O,booleanContains:()=>r.yxm,booleanCrosses:()=>r.hkq,booleanDisjoint:()=>r.t5S,booleanEqual:()=>r.x0k,booleanIntersects:()=>r.lgr,booleanOverlap:()=>r.cYD,booleanParallel:()=>r.Y5$,booleanPointInPolygon:()=>r.mFO,booleanPointOnLine:()=>r.O84,booleanTouches:()=>r.UsQ,booleanValid:()=>r.hxF,booleanWithin:()=>r.Cei,buffer:()=>r.ra8,center:()=>r.gXo,centerMean:()=>r.rb,centerMedian:()=>r.eZr,centerOfMass:()=>r.NAY,centroid:()=>r.vh2,circle:()=>r.n1W,cleanCoords:()=>r.ayX,clone:()=>r.o8B,cloneProperties:()=>r.Rdw,clusterEach:()=>r.UZ0,clusterReduce:()=>r.HYf,clusters:()=>r.qf7,clustersDbscan:()=>r.Zqw,clustersKmeans:()=>r.pPd,collect:()=>r.Fod,collectionOf:()=>r.iww,combine:()=>r.kg7,concave:()=>r.Ms8,containsNumber:()=>r.lOq,convertArea:()=>r.vnt,convertLength:()=>r.I3T,convex:()=>r.y5H,coordAll:()=>r.D3w,coordEach:()=>r.Fh1,coordReduce:()=>r.k7X,createBins:()=>r.f8u,degreesToRadians:()=>r.tRv,destination:()=>r.j_,difference:()=>r.iv2,directionalMean:()=>r.eFb,dissolve:()=>r.a1F,distance:()=>r.IoC,distanceWeight:()=>r.mJ,earthRadius:()=>r.zXD,ellipse:()=>r.pw2,envelope:()=>r.REH,explode:()=>r.Gdr,factors:()=>r.PgN,feature:()=>r.N4z,featureCollection:()=>r.Lrk,featureEach:()=>r.usj,featureOf:()=>r.mo4,featureReduce:()=>r.n4j,filterProperties:()=>r.qV7,findPoint:()=>r.Yd2,findSegment:()=>r.ptW,flatten:()=>r.Bqz,flattenEach:()=>r.iwz,flattenReduce:()=>r.VJK,flip:()=>r.UUz,geojsonRbush:()=>r.sZS,geojsonType:()=>r.e8v,geomEach:()=>r.kX6,geomReduce:()=>r.jEc,geometry:()=>r.lCx,geometryCollection:()=>r.zbs,getCluster:()=>r.dB3,getCoord:()=>r.uGX,getCoords:()=>r.$Rn,getGeom:()=>r.bgk,getType:()=>r.Pwh,greatCircle:()=>r.Glg,helpers:()=>r._$r,hexGrid:()=>r.O9B,interpolate:()=>r.GWP,intersect:()=>r.y$5,invariant:()=>r.V1S,isNumber:()=>r.EtT,isObject:()=>r.Gvm,isobands:()=>r.Mii,isolines:()=>r.LNI,kinks:()=>r.nUT,length:()=>r.Bw9,lengthToDegrees:()=>r.vlv,lengthToRadians:()=>r.GfV,lineArc:()=>r.FsR,lineChunk:()=>r.W26,lineEach:()=>r.Iet,lineIntersect:()=>r.kVe,lineOffset:()=>r.uO7,lineOverlap:()=>r._Jg,lineReduce:()=>r.t0h,lineSegment:()=>r.wdR,lineSlice:()=>r.ne9,lineSliceAlong:()=>r.qMT,lineSplit:()=>r.JQ7,lineString:()=>r.wiw,lineStrings:()=>r.Nls,lineToPolygon:()=>r.gP4,mask:()=>r.dKf,meta:()=>r.mIj,midpoint:()=>r.PVF,moranIndex:()=>r.KFB,multiLineString:()=>r.NUZ,multiPoint:()=>r.kBJ,multiPolygon:()=>r.g52,nearestNeighborAnalysis:()=>r.rBB,nearestPoint:()=>r.xCI,nearestPointOnLine:()=>r.W1F,nearestPointToLine:()=>r.K9N,planepoint:()=>r.xYr,point:()=>r.zx7,pointGrid:()=>r.hq2,pointOnFeature:()=>r.QwJ,pointToLineDistance:()=>r.d4V,pointToPolygonDistance:()=>r.fJX,points:()=>r.WRA,pointsWithinPolygon:()=>r.nj9,polygon:()=>r.n1,polygonSmooth:()=>r.bmV,polygonTangents:()=>r.v4M,polygonToLine:()=>r.CNZ,polygonize:()=>r.Tz9,polygons:()=>r.qFD,projection:()=>r.Qju,propEach:()=>r.nPV,propReduce:()=>r.qBo,propertiesContainsFilter:()=>r.NLl,quadratAnalysis:()=>r.txz,radiansToDegrees:()=>r.nv6,radiansToLength:()=>r.cJD,random:()=>r.yTv,randomLineString:()=>r.lWQ,randomPoint:()=>r._eC,randomPolygon:()=>r.myJ,randomPosition:()=>r.Dxs,rectangleGrid:()=>r.K1I,rewind:()=>r.KrA,rhumbBearing:()=>
1r.Fc$,rhumbDestination:()=>r.rmV,rhumbDistance:()=>r.EUY,round:()=>r.LIG,sample:()=>r.XM1,sector:()=>r.rkH,segmentEach:()=>r.RPu,segmentReduce:()=>r.OQs,shortestPath:()=>r._6q,simplify:()=>r.CRN,square:()=>r.EwI,squareGrid:()=>r.cS4,standardDeviationalEllipse:()=>r.C0c,tag:()=>r.TcI,tesselate:()=>r.nYW,tin:()=>r.ucs,toMercator:()=>r.FU4,toWgs84:()=>r.zY8,transformRotate:()=>r.qS_,transformScale:()=>r.nIv,transformTranslate:()=>r.tLh,triangleGrid:()=>r.Vwd,truncate:()=>r.xvE,union:()=>r.KCZ,unkinkPolygon:()=>r.BoU,validateBBox:()=>r.O6s,validateId:()=>r.GZo,voronoi:()=>r.B8d});var l=t(35876),c=t(25333);const d={title:"Units"},u=void 0,p={},g=[{value:"Description",id:"description",level:3},{value:"Definition",id:"definition",level:3}];function m(e){const n={a:"a",em:"em",h3:"h3",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c.A,{children:()=>(0,o.jsx)(l.A,{turf:a})}),"\n",(0,o.jsx)(n.h3,{id:"description",children:"Description"}),"\n",(0,o.jsx)(n.p,{children:"Linear measurement units."}),"\n",(0,o.jsxs)(n.p,{children:["\u26a0\ufe0f Warning. Be aware of the implications of using radian or degree units to\nmeasure distance. The distance represented by a degree of longitude ",(0,o.jsx)(n.em,{children:"varies"}),"\ndepending on latitude."]}),"\n",(0,o.jsxs)(n.p,{children:["See ",(0,o.jsx)(n.a,{href:"https://www.thoughtco.com/degree-of-latitude-and-longitude-distance-4070616",children:"https://www.thoughtco.com/degree-of-latitude-and-longitude-distance-4070616"}),"\nfor an illustration of this behaviour."]}),"\n",(0,o.jsx)(n.h3,{id:"definition",children:"Definition"}),"\n",(0,o.jsx)(n.p,{children:'"meters" | "metres" | "millimeters" | "millimetres" | "centimeters" | "centimetres" | "kilometers" | "kilometres" | "miles" | "nauticalmiles" | "inches" | "yards" | "feet" | "radians" | "degrees"'})]})}function h(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.