@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 4.71 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
*/
const e=new Map([[1025,109452],[1033,109451],[9001,109404],[9002,109405],[9003,109406],[9005,109407],[9014,109408],[9030,109409],[9031,109410],[9033,109411],[9034,109412],[9035,109413],[9036,109414],[9037,109415],[9038,109416],[9039,109417],[9040,109418],[9041,109419],[9042,109420],[9043,109421],[9050,109422],[9051,109423],[9052,109424],[9053,109425],[9060,109426],[9061,109427],[9062,109428],[9063,109429],[9070,109430],[9080,109431],[9081,109432],[9082,109433],[9083,109434],[9084,109435],[9085,109436],[9086,109437],[9087,109438],[9093,109439],[9094,109440],[9095,109441],[9096,109442],[9097,109444],[9098,109445],[9099,109446],[9300,109447],[9301,109448],[9302,109449],[109001,109442],[109002,109443],[109003,109444],[109004,109445],[109005,109450],[109006,109451],[109007,109452],[109008,109453],[109009,109454],[109010,109455],[109011,109456],[109012,109457],[109013,109458],[109014,109459],[109015,109462],[109016,109464],[109017,109465],[109018,109466],[109030,109460],[109031,109461]]);function n(e){return(n,a)=>[n,{type:e,wkid:n,factor:a}]}const a=n("angular"),t=new Map([a(1031,4.84813681109536e-9),a(9101,1),a(9102,.017453292519943295),a(9103,.0002908882086657216),a(9104,484813681109536e-20),a(9105,.015707963267948967),a(9106,.015707963267948967),a(9109,1e-6),a(9112,.00015707963267948965),a(9113,15707963267948967e-22),a(9114,.0009817477042468104)]),r=n("linear"),p=new Map([r(1025,.001),r(1033,.01),r(9001,1),r(9002,.3048),r(9003,.30480060960121924),r(9005,.3047972654),r(9014,1.8288),r(9030,1852),r(9031,1.0000135965),r(9033,20.11684023368047),r(9034,.2011684023368047),r(9035,1609.3472186944375),r(9036,1e3),r(9037,.9143917962),r(9038,20.1166195164),r(9039,.201166195164),r(9040,.9143984146160287),r(9041,.3047994715386762),r(9042,20.116765121552632),r(9043,.2011676512155263),r(9050,.9143992),r(9051,.3047997333333333),r(9052,20.1167824),r(9053,.201167824),r(9060,.9143992042898124),r(9061,.30479973476327077),r(9062,20.116782494375872),r(9063,.2011678249437587),r(9070,.30480083333333335),r(9080,.30479951024814694),r(9081,.30479841),r(9082,.3047996),r(9083,.3047995),r(9084,.9143985307444408),r(9085,.91439523),r(9086,.9143988),r(9087,.9143985),r(9093,1609.344),r(9094,.3047997101815088),r(9095,.3048007491),r(9096,.9144),r(9097,20.1168),r(9098,.201168),r(9099,.914398),r(9300,.30479933333333337),r(9301,20.116756),r(9302,.20116756),r(109001,.9144),r(109002,.9144018288036576),r(109003,20.1168),r(109004,.201168),r(109005,.1),r(109006,.01),r(109007,.001),r(109008,.0254),r(109009,.025400050800101603),r(109010,5.0292),r(109011,5.029210058420118),r(109012,1853.248),r(109013,1853.184),r(109014,1.7018),r(109015,.8466683600033867),r(109016,.00035277777777777776),r(109017,1e-6),r(109018,1e-9),r(109030,5e4),r(109031,15e4)]),o=p.get(9001),w=n("area"),c=new Map([w(109401,1e4),w(109402,4046.8564224),w(109403,4046.872609874252),w(109404,1),w(109405,.09290304),w(109406,.09290341161327487),w(109407,.09290137299531805),w(109408,3.34450944),w(109409,3429904),w(109410,1.000027193184865),w(109411,404.6872609874253),w(109412,.04046872609874252),w(109413,2589998.470319522),w(109414,1e6),w(109415,.8361123569578626),w(109416,404.6783807676053),w(109417,.04046783807676053),w(109418,.8361244606523066),w(109419,.09290271785025629),w(109420,404.6842389557165),w(109421,.04046842389557164),w(109422,.83612589696064),w(109423,.0929028774400711),w(109424,404.6849341289498),w(109425,.04046849341289498),w(109426,.836125904805842),w(109427,.09290287831176021),w(109428,404.6849379260275),w(109429,.04046849379260275),w(109430,.09290354800069446),w(109431,.09290274144751023),w(109432,.09290207073852812),w(109433,.09290279616016),w(109434,.09290273520025),w(109435,.836124673027592),w(109436,.8361186366467529),w(109437,.8361251654414399),w(109438,.83612461680225),w(109439,2589988.110336),w(109440,.09290286332673177),w(109441,.09290349665192114),w(109442,.83612736),w(109443,.8361307045194736),w(109444,404.68564224),w(109445,.040468564224),w(109446,.836123702404),w(109447,.09290263360044447),w(109448,404.683871963536),w(109449,.0404683871963536),w(109450,.01),w(109451,1e-4),w(109452,1e-6),w(109453,64516e-8),w(109454,.0006451625806477421),w(109455,25.29285264),w(109456,25.29295381171408),w(109457,3434528.149504),w(109458,3434290.937856),w(109459,2.89612324),w(109460,25e8),w(109461,225e8),w(109462,.7168473118308245),w(109463,100),w(109464,1.244521604938271e-7),w(109465,1e-12),w(109466,1e-18)]),M=c.get(109404);export{t as angularUnitLookup,c as areaUnitLookup,p as linearUnitLookup,e as linearUnitToAreaUnit,o as meters,M as squareMeters};