@arcgis/core 5.2.0-next.63 → 5.2.0-next.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arcade/Feature.js +1 -1
- package/arcade/ImmutableArray.js +1 -1
- package/arcade/ImmutablePathArray.js +1 -1
- package/arcade/ImmutablePointArray.js +1 -1
- package/arcade/Pixel.js +1 -1
- package/arcade/Voxel.js +1 -1
- package/arcade/arcadeAsyncRuntime.js +1 -1
- package/arcade/arcadeCompiler.js +1 -1
- package/arcade/arcadeRuntime.js +1 -1
- package/arcade/containerUtils.js +1 -1
- package/arcade/debug.js +1 -1
- package/arcade/deepClone.js +1 -1
- package/arcade/functions/convertdirection.js +1 -1
- package/arcade/functions/date.js +1 -1
- package/arcade/functions/feature.js +1 -1
- package/arcade/functions/featuresetbase.js +1 -1
- package/arcade/functions/featuresetgeom.js +1 -1
- package/arcade/functions/featuresetstats.js +1 -1
- package/arcade/functions/featuresetstring.js +1 -1
- package/arcade/functions/fieldStats.js +1 -1
- package/arcade/functions/geomasync.js +1 -1
- package/arcade/functions/geometry.js +1 -1
- package/arcade/functions/geomsync.js +1 -1
- package/arcade/functions/knowledgegraph.js +1 -1
- package/arcade/functions/maths.js +1 -1
- package/arcade/functions/stats.js +1 -1
- package/arcade/functions/string.js +1 -1
- package/arcade/functions/track.js +1 -1
- package/arcade/geometry/functions.js +1 -1
- package/arcade/languageUtils.js +1 -1
- package/arcade.js +1 -1
- package/arcgisGlobal.d.ts +9 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{bb95922cd4631d6f17fb.js → 04ac5ac6f592d8c34bbd.js} +1 -1
- package/assets/esri/core/workers/chunks/{44e64186318728d1be51.js → 067b00498ae85f635f60.js} +1 -1
- package/assets/esri/core/workers/chunks/{62f3ca0719ac6bc76512.js → 09c43bcb09aad02e83a9.js} +1 -1
- package/assets/esri/core/workers/chunks/0b20f92bae2b4c40d299.js +1 -0
- package/assets/esri/core/workers/chunks/0c3c311400ee352187ea.js +1 -0
- package/assets/esri/core/workers/chunks/0c582abc8d25249eb530.js +1 -0
- package/assets/esri/core/workers/chunks/0d6776055e9b34c14151.js +1 -0
- package/assets/esri/core/workers/chunks/0d7d54e74b5639a0be6e.js +1 -0
- package/assets/esri/core/workers/chunks/0da5b27b070ab780f8b3.js +1 -0
- package/assets/esri/core/workers/chunks/0e6b6fcc55cc43ede1fc.js +1 -0
- package/assets/esri/core/workers/chunks/{bcb5017500d144b73908.js → 126f1f6b355723db6c4f.js} +1 -1
- package/assets/esri/core/workers/chunks/12a64eca4c571926d9d4.js +1 -0
- package/assets/esri/core/workers/chunks/{b2c0262c4a76b8a86200.js → 149284464115981694ff.js} +1 -1
- package/assets/esri/core/workers/chunks/1642fa1263d8f4a45101.js +1 -0
- package/assets/esri/core/workers/chunks/1840d74ebae777a0200b.js +1 -0
- package/assets/esri/core/workers/chunks/19bf6826e7d9a4d52035.js +1 -0
- package/assets/esri/core/workers/chunks/1bfbdec791e19f5a2534.js +1 -0
- package/assets/esri/core/workers/chunks/1d8280f63a6698e74f20.js +1 -0
- package/assets/esri/core/workers/chunks/{a12803108c3b12808698.js → 242cad472fbc38b24dbc.js} +2 -2
- package/assets/esri/core/workers/chunks/25197ecb324d6f08e03e.js +1 -0
- package/assets/esri/core/workers/chunks/253c231b5a52f1d2d3a5.js +1 -0
- package/assets/esri/core/workers/chunks/25999b6f96ec305a7679.js +1 -0
- package/assets/esri/core/workers/chunks/259bdacfb7b0f866a8d0.js +1 -0
- package/assets/esri/core/workers/chunks/28565756f884d0851003.js +1 -0
- package/assets/esri/core/workers/chunks/2a5a165848413764381b.js +1 -0
- package/assets/esri/core/workers/chunks/2e7a5bb740281ef59199.js +1 -0
- package/assets/esri/core/workers/chunks/{285a5bd708f0fe1c620c.js → 2ea3ca68cfa4d34e8f3b.js} +1 -1
- package/assets/esri/core/workers/chunks/2f87a49bdd00f899d81d.js +1 -0
- package/assets/esri/core/workers/chunks/{37a95f097533bad1b338.js → 302d91b7c480c6c9304b.js} +1 -1
- package/assets/esri/core/workers/chunks/{3d6d2b42ba2ad7086d5d.js → 3b493e8043ec1a2a5d96.js} +1 -1
- package/assets/esri/core/workers/chunks/3ddd717ea12d9823eee2.js +1 -0
- package/assets/esri/core/workers/chunks/40e48b720d89cd067892.js +1 -0
- package/assets/esri/core/workers/chunks/{a833fc9250635eb4152f.js → 41f7f3615d3ecb87c59a.js} +1 -1
- package/assets/esri/core/workers/chunks/{95b3b8fe45ef4ac6b277.js → 450bc48a7389607bce1e.js} +1 -1
- package/assets/esri/core/workers/chunks/465a050fd838ee8eddf3.js +1 -0
- package/assets/esri/core/workers/chunks/{0d61c8d348b09179777a.js → 46d8a1d6f7341ad20749.js} +1 -1
- package/assets/esri/core/workers/chunks/4710f21b138a2c9a0345.js +1 -0
- package/assets/esri/core/workers/chunks/48a0dfaabb9b4bce4191.js +1 -0
- package/assets/esri/core/workers/chunks/49a3888bf9e2481642ac.js +1 -0
- package/assets/esri/core/workers/chunks/{4ee900e5dbb130fa0c7b.js → 4a40b894ec89b0a4f9bf.js} +1 -1
- package/assets/esri/core/workers/chunks/{d847c3cb2043a983145b.js → 4addea2e35b0c845743e.js} +1 -1
- package/assets/esri/core/workers/chunks/{e0a4d0288abd334b0673.js → 4ae626868e14bedd7fc5.js} +1 -1
- package/assets/esri/core/workers/chunks/529ee4670940720e888b.js +1 -0
- package/assets/esri/core/workers/chunks/{a3c882fe7599dc0f4f27.js → 59d1708ae13c6e7e6e55.js} +1 -1
- package/assets/esri/core/workers/chunks/59dd83e5aee2908c7eca.js +1 -0
- package/assets/esri/core/workers/chunks/{b5c7813495657f844171.js → 5adf16c034a590b5e9f5.js} +1 -1
- package/assets/esri/core/workers/chunks/{b8bdacebd4d24ba90f3f.js → 5fde1234c5cccaee6763.js} +1 -1
- package/assets/esri/core/workers/chunks/60f9b37dd738d884c48d.js +1 -0
- package/assets/esri/core/workers/chunks/62c8413f3bbc1378273d.js +1 -0
- package/assets/esri/core/workers/chunks/6501ee40bf25f9f75d02.js +1 -0
- package/assets/esri/core/workers/chunks/663cf8bff17c894cd5f8.js +1 -0
- package/assets/esri/core/workers/chunks/6d1371b521c7f94fd77e.js +1 -0
- package/assets/esri/core/workers/chunks/6d5038d4351fe29e2718.js +1 -0
- package/assets/esri/core/workers/chunks/6f102c90908c9900cdaa.js +1 -0
- package/assets/esri/core/workers/chunks/6f39545710d1b35d922c.js +1 -0
- package/assets/esri/core/workers/chunks/7278fdf6bfcdffa10a7f.js +1 -0
- package/assets/esri/core/workers/chunks/72eb0ac55026a4f5d6a7.js +1 -0
- package/assets/esri/core/workers/chunks/73cb499d7d68c59ba34e.js +1 -0
- package/assets/esri/core/workers/chunks/{b8d788e110c212a879ab.js → 73f228d966b89c73c9e9.js} +1 -1
- package/assets/esri/core/workers/chunks/76bccc318d7cc33829a7.js +1 -0
- package/assets/esri/core/workers/chunks/777eafdb86b26b35c803.js +1 -0
- package/assets/esri/core/workers/chunks/7821aeba3e414b318a75.js +1 -0
- package/assets/esri/core/workers/chunks/7b531feba4fd662575f9.js +1 -0
- package/assets/esri/core/workers/chunks/7c57354d026e27e056d4.js +1 -0
- package/assets/esri/core/workers/chunks/7d163d9d90393e491ee5.js +1 -0
- package/assets/esri/core/workers/chunks/7d4c65311064a5c2e0b1.js +1 -0
- package/assets/esri/core/workers/chunks/{0474af7687466d8befd2.js → 7e2794705b4e679fcb3f.js} +1 -1
- package/assets/esri/core/workers/chunks/7ebbb90d80600d9ba889.js +1 -0
- package/assets/esri/core/workers/chunks/7f125963555dc1ce63ad.js +1 -0
- package/assets/esri/core/workers/chunks/{763cbb6716e398436a6d.js → 7f6eee102871769fdf8f.js} +1 -1
- package/assets/esri/core/workers/chunks/805c97b875d3066fb8df.js +1 -0
- package/assets/esri/core/workers/chunks/8566449c39eba55147f5.js +1 -0
- package/assets/esri/core/workers/chunks/86ed75b7169b8ee43025.js +1 -0
- package/assets/esri/core/workers/chunks/{9482a6d7baa24bbf5693.js → 89132395eca329b9ab92.js} +1 -1
- package/assets/esri/core/workers/chunks/{28bc5e8e82f188b30eb9.js → 894343e415639df88243.js} +1 -1
- package/assets/esri/core/workers/chunks/8b4759cef5ae5e43253b.js +1 -0
- package/assets/esri/core/workers/chunks/8ba4175f5e9a24ffecf7.js +1 -0
- package/assets/esri/core/workers/chunks/8be707044d992ef5f1d8.js +1 -0
- package/assets/esri/core/workers/chunks/{bd862382f72ebd446b46.js → 8d2cac1952e817daaf1f.js} +1 -1
- package/assets/esri/core/workers/chunks/8e38c5e63aae42bdf5a4.js +29 -0
- package/assets/esri/core/workers/chunks/{02ab09285a5c4ca98066.js → 8f785b722b1a131bf370.js} +1 -1
- package/assets/esri/core/workers/chunks/8f9874f42f21a4cb3acd.js +1 -0
- package/assets/esri/core/workers/chunks/{57824ecc10b25e3ad794.js → 903e1cd8b76eff19ebdf.js} +1 -1
- package/assets/esri/core/workers/chunks/90f4b81c6034253b70d7.js +1 -0
- package/assets/esri/core/workers/chunks/917c11cb40a7742d7f98.js +1 -0
- package/assets/esri/core/workers/chunks/93ab247ff34694ac60eb.js +1 -0
- package/assets/esri/core/workers/chunks/93c0a620a147cbf4a0ba.js +1 -0
- package/assets/esri/core/workers/chunks/{6e45d0db97ffa4509177.js → 94bf7f0da6ad3f7ea277.js} +1 -1
- package/assets/esri/core/workers/chunks/9be6827e5756031a56c1.js +1 -0
- package/assets/esri/core/workers/chunks/9c57161ad48d8d546dc7.js +1 -0
- package/assets/esri/core/workers/chunks/{b2cf1d3f0d48eac23a84.js → 9c5dff4f13102871786e.js} +1 -1
- package/assets/esri/core/workers/chunks/9d0bda096cdbd7e22f4b.js +1 -0
- package/assets/esri/core/workers/chunks/9dfb7d120195991e9672.js +1 -0
- package/assets/esri/core/workers/chunks/9ed5e6b06afea6c85330.js +1 -0
- package/assets/esri/core/workers/chunks/{79b857bb301f9c4169d6.js → 9fee8441fbac9f723f77.js} +1 -1
- package/assets/esri/core/workers/chunks/a108f276659d5f25352c.js +1 -0
- package/assets/esri/core/workers/chunks/{b32ede7805c7c6644e4c.js → a3bf8aa81ee398da5b52.js} +1 -1
- package/assets/esri/core/workers/chunks/{5b30231ae0a8f4b8435f.js → a504fa17d83facf1c01f.js} +1 -1
- package/assets/esri/core/workers/chunks/a52c88e2d837b525ff6c.js +1 -0
- package/assets/esri/core/workers/chunks/{23a3d8f91caf3136b2aa.js → a5fdb02b1714e93fa69e.js} +1 -1
- package/assets/esri/core/workers/chunks/{538fe46dfd685a490e23.js → a7f42ada0aa69873a938.js} +1 -1
- package/assets/esri/core/workers/chunks/a97e0b9b057664911c14.js +1 -0
- package/assets/esri/core/workers/chunks/{cb58aff1ff186fa18345.js → a9f616f22042b0dce8b9.js} +1 -1
- package/assets/esri/core/workers/chunks/afd63c18ce4656271c8e.js +1 -0
- package/assets/esri/core/workers/chunks/{f04cb48fc73635d0572f.js → b059dabb1c732829487c.js} +1 -1
- package/assets/esri/core/workers/chunks/b313464b987db8a3987a.js +1 -0
- package/assets/esri/core/workers/chunks/b318823aefcefad6fad5.js +1 -0
- package/assets/esri/core/workers/chunks/b378e504a5b1afc8d0ce.js +1 -0
- package/assets/esri/core/workers/chunks/{9fb87a7dba62b527c0ba.js → b3a1a93c6dc9247cb048.js} +1 -1
- package/assets/esri/core/workers/chunks/b4e5ee81b9eb171499a6.js +1 -0
- package/assets/esri/core/workers/chunks/b5397dc03fa0bd654ba6.js +1 -0
- package/assets/esri/core/workers/chunks/b5b698008b8f3f4d5d61.js +1 -0
- package/assets/esri/core/workers/chunks/b7bcb31737b01d7736d0.js +1 -0
- package/assets/esri/core/workers/chunks/b9a1046ca2cd0cca5da5.js +1 -0
- package/assets/esri/core/workers/chunks/{cda04571d7623c17ada2.js → b9c7aa04861f545a559c.js} +1 -1
- package/assets/esri/core/workers/chunks/{7df795bc4fa1d433463b.js → ba030767cf935f967454.js} +1 -1
- package/assets/esri/core/workers/chunks/{53d165b4f30fd64e5d8a.js → bd311c85437743cf7d2f.js} +1 -1
- package/assets/esri/core/workers/chunks/bd88228f781a0399d8bd.js +1 -0
- package/assets/esri/core/workers/chunks/bece22668622a9a6bfe2.js +1 -0
- package/assets/esri/core/workers/chunks/bfb626805405646a0419.js +1 -0
- package/assets/esri/core/workers/chunks/c02ae1d40c1fe95ae6c5.js +1 -0
- package/assets/esri/core/workers/chunks/c203df41f9d2e4b80889.js +1 -0
- package/assets/esri/core/workers/chunks/{278409028bc5af45b507.js → c4c83b5129c279c3615b.js} +1 -1
- package/assets/esri/core/workers/chunks/c6ef0636073e28350c91.js +1 -0
- package/assets/esri/core/workers/chunks/c7e391df714839484cd1.js +1 -0
- package/assets/esri/core/workers/chunks/cded485ad893a7dd2948.js +1 -0
- package/assets/esri/core/workers/chunks/{1cf8fb704c48ac3d3b15.js → cf360767310fb45660a8.js} +1 -1
- package/assets/esri/core/workers/chunks/{8f2fecd8a0a972d68590.js → cf8ce63711488f2e677c.js} +1 -1
- package/assets/esri/core/workers/chunks/d214ac457ac970479536.js +1 -0
- package/assets/esri/core/workers/chunks/d4058352db1e8255b52e.js +1 -0
- package/assets/esri/core/workers/chunks/d4d385d19e62ef1c286f.js +1 -0
- package/assets/esri/core/workers/chunks/d4f005dadba75422b401.js +1 -0
- package/assets/esri/core/workers/chunks/d583bcea4d1a21da9147.js +1 -0
- package/assets/esri/core/workers/chunks/{52c4b4dabcb0d162be72.js → d5e15021928e95c11463.js} +1 -1
- package/assets/esri/core/workers/chunks/{fc639c730115e07a4a1a.js → d6500f6b2ff115d9eb09.js} +1 -1
- package/assets/esri/core/workers/chunks/{3f775deea48e268411f1.js → d7267f429a051943187b.js} +1 -1
- package/assets/esri/core/workers/chunks/d9c78c2db04a06ee83ed.js +1 -0
- package/assets/esri/core/workers/chunks/{e65ee26feca0564aeb9b.js → dc7e4f7879debf557e46.js} +145 -97
- package/assets/esri/core/workers/chunks/e1492d2404c3ed82931e.js +1 -0
- package/assets/esri/core/workers/chunks/e34ed3b818b2eb4116c5.js +1 -0
- package/assets/esri/core/workers/chunks/e7149d23615fee31ab7e.js +1 -0
- package/assets/esri/core/workers/chunks/ec774f5d6ea5c29536e5.js +1 -0
- package/assets/esri/core/workers/chunks/ed71a4e353715db0a6e9.js +1 -0
- package/assets/esri/core/workers/chunks/{1e342d532925569daadb.js → f475672ff4c2ec9367c2.js} +1 -1
- package/assets/esri/core/workers/chunks/{cc414fd2e313d89d524d.js → f54eba484f40d5eeb590.js} +1 -1
- package/assets/esri/core/workers/chunks/{04ffe788d2efc0a076dd.js → f5c9659fc5d571d501c9.js} +1 -1
- package/assets/esri/core/workers/chunks/f622b27ebdf1c918fd6d.js +1 -0
- package/assets/esri/core/workers/chunks/{dd95f50dac3f33cdb6d2.js → f6a13f07a5f7b781a9a8.js} +1 -1
- package/assets/esri/core/workers/chunks/{d849bdaf5bdfdc37531a.js → f6f7d885b4d6080e3f58.js} +1 -1
- package/assets/esri/core/workers/chunks/f8b8d3d2710c83acccf3.js +1 -0
- package/assets/esri/core/workers/chunks/f95870bb4d8e4e13e69e.js +1 -0
- package/assets/esri/core/workers/chunks/fa59f10ed0f182a2a7f3.js +1 -0
- package/assets/esri/core/workers/chunks/faa55265020591fd2224.js +1 -0
- package/assets/esri/core/workers/chunks/fc827f58db3194922056.js +1 -0
- package/assets/esri/libs/parquet/pkg/bundle_bg.wasm +0 -0
- package/chunks/Component.glsl.js +60 -62
- package/chunks/DefaultMaterial.glsl.js +27 -28
- package/chunks/GaussianSplat.glsl.js +7 -7
- package/chunks/GaussianSplatShadow.glsl.js +9 -9
- package/chunks/GlobalIllumination.glsl.js +35 -15
- package/chunks/Path.glsl.js +7 -6
- package/chunks/RealisticTree.glsl.js +22 -24
- package/chunks/SSAO.glsl.js +1 -1
- package/chunks/Terrain.glsl.js +3 -2
- package/chunks/Water.glsl.js +20 -11
- package/chunks/aiServices.js +1 -1
- package/chunks/array.js +1 -1
- package/chunks/bundle2.js +1 -1
- package/chunks/languageUtils.js +1 -1
- package/config.js +1 -1
- package/form/ExpressionInfo.d.ts +1 -1
- package/form/ExpressionInfo.js +1 -1
- package/form/elements/FieldElement.d.ts +3 -2
- package/form/elements/inputs/ComboBoxInput.d.ts +4 -15
- package/form/elements/inputs/ComboBoxInput.js +1 -1
- package/form/elements/inputs/DynamicChoiceInput.d.ts +31 -0
- package/form/elements/inputs/DynamicChoiceInput.js +2 -0
- package/form/elements/inputs/Input.d.ts +1 -1
- package/form/elements/inputs/RadioButtonsInput.d.ts +4 -15
- package/form/elements/inputs/RadioButtonsInput.js +1 -1
- package/form/elements/inputs/SingleChoiceInput.d.ts +18 -0
- package/form/elements/inputs/SingleChoiceInput.js +2 -0
- package/form/elements/inputs.d.ts +11 -2
- package/form/elements/inputs.js +1 -1
- package/geometry/support/normalizeUtils.d.ts +1 -1
- package/kernel.js +1 -1
- package/layers/ImageryTileLayer.d.ts +1 -1
- package/layers/RouteLayer.d.ts +1 -1
- package/layers/graphics/sources/ParquetSource.js +1 -1
- package/layers/graphics/sources/parquet/FileProvider.js +1 -1
- package/layers/graphics/sources/parquet/ParquetFileInfo.js +1 -1
- package/layers/graphics/sources/support/ParquetSourceWorker.js +1 -1
- package/layers/mixins/ArcGISImageService.d.ts +24 -24
- package/layers/mixins/TiledImagery.d.ts +1 -1
- package/layers/orientedImagery/transformations/rectifyMapPoint.js +1 -1
- package/layers/raster/datasets/EphemeralBlockCache.js +1 -1
- package/layers/raster/datasets/RawBlockCache.js +1 -1
- package/layers/support/KMLSublayer.js +1 -1
- package/libs/parquet/parquet.js +1 -1
- package/networks/support/CircuitExportJobInfo.d.ts +1 -1
- package/networks/support/CircuitVerifyJobInfo.d.ts +1 -1
- package/networks/support/TopologyValidationJobInfo.d.ts +1 -1
- package/networks/support/TraceJobInfo.d.ts +1 -1
- package/package.json +2 -2
- package/portal/jsonTypes.d.ts +1 -1
- package/rest/closestFacility.d.ts +1 -1
- package/rest/find.d.ts +1 -1
- package/rest/geometryService.d.ts +21 -21
- package/rest/geoprocessor.d.ts +2 -2
- package/rest/identify.d.ts +1 -1
- package/rest/imageService.d.ts +19 -19
- package/rest/lastMileDelivery.d.ts +8 -8
- package/rest/locator.d.ts +4 -4
- package/rest/networkService.d.ts +1 -1
- package/rest/networks/queryAssociations.d.ts +1 -1
- package/rest/networks/synthesizeAssociationGeometries.d.ts +1 -1
- package/rest/networks/trace.d.ts +1 -1
- package/rest/networks/traverseAssociations.d.ts +1 -1
- package/rest/places.d.ts +3 -3
- package/rest/print.d.ts +1 -1
- package/rest/query.d.ts +11 -11
- package/rest/route.d.ts +1 -1
- package/rest/serviceArea.d.ts +1 -1
- package/rest/support/JobInfo.d.ts +5 -5
- package/rest/support/Query.js +1 -1
- package/rest/symbolService.d.ts +1 -1
- package/support/revision.js +1 -1
- package/symbols/LabelSymbol3D.js +1 -1
- package/symbols/LineSymbol3D.js +1 -1
- package/symbols/MeshSymbol3D.js +1 -1
- package/symbols/PointSymbol3D.js +1 -1
- package/symbols/PolygonSymbol3D.js +1 -1
- package/views/2d/layers/features/sources/strategies/ParquetTileLoadStrategy.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightReshapeTool3D.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
- package/views/3d/analysis/VolumeMeasurement/VolumeMeasurementShiftTool.js +1 -1
- package/views/3d/interactive/editingTools/transform/TransformTool3D.js +1 -1
- package/views/3d/layers/GaussianSplatLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPathSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPathSymbolLayerConstants.js +1 -1
- package/views/3d/layers/graphics/defaultSymbolComplexity.js +1 -1
- package/views/3d/state/controllers/RotateController.js +1 -1
- package/views/3d/state/utils/navigationUtils.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatDataStore.js +1 -1
- package/views/3d/support/gaussianSplatting/GaussianSplatFadeHelper.js +1 -1
- package/views/3d/terrain/OverlayRenderer.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathEvaluate.glsl.js +49 -32
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexInfo.glsl.js +5 -5
- package/views/3d/webgl-engine/core/shaderLibrary/attributes/PathVertexPosition.glsl.js +23 -23
- package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialAuxiliaryPasses.glsl.js +24 -16
- package/views/3d/webgl-engine/core/shaderLibrary/default/DefaultMaterialExternalColor.glsl.js +25 -0
- package/views/3d/webgl-engine/lib/GaussianSplatRenderUtils.js +2 -0
- package/views/3d/webgl-engine/lib/GaussianSplatRenderer.js +1 -1
- package/views/3d/webgl-engine/lib/GaussianSplatShadows.js +1 -1
- package/views/3d/webgl-engine/lib/PathBuilder.js +1 -1
- package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
- package/views/3d/webgl-engine/lib/PathExtruder.js +1 -1
- package/views/3d/webgl-engine/materials/PathMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/PathTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/DefaultMaterial.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplat.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatPassParameters.js +2 -0
- package/views/3d/webgl-engine/shaders/GaussianSplatShadow.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatShadowTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/GaussianSplatTechnique.js +1 -1
- package/views/3d/webgl-engine/shaders/RealisticTree.glsl.js +1 -1
- package/views/draw/support/InteractiveHandle.js +1 -1
- package/views/draw/support/managers/SurfaceManager.js +1 -1
- package/views/interactive/Tooltip.d.ts +3 -3
- package/views/interactive/Tooltip.js +1 -1
- package/views/interactive/options/ElevationOptions.d.ts +20 -0
- package/views/interactive/options/ElevationOptions.js +2 -0
- package/views/interactive/options/LabelOptions.d.ts +74 -0
- package/views/interactive/options/LabelOptions.js +2 -0
- package/views/interactive/options/SnappingOptions.d.ts +157 -0
- package/views/interactive/options/SnappingOptions.js +2 -0
- package/views/interactive/options/TooltipOptions.d.ts +152 -0
- package/views/interactive/options/TooltipOptions.js +2 -0
- package/views/interactive/options/TooltipVisibleElements.d.ts +105 -0
- package/views/interactive/options/TooltipVisibleElements.js +2 -0
- package/views/interactive/options/ValueOptions.d.ts +63 -0
- package/views/interactive/options/ValueOptions.js +2 -0
- package/views/interactive/sketch/SketchLabelOptions.d.ts +7 -9
- package/views/interactive/sketch/SketchLabelOptions.js +1 -1
- package/views/interactive/sketch/SketchTooltipElevationOptions.js +1 -1
- package/views/interactive/sketch/SketchTooltipOptions.d.ts +8 -50
- package/views/interactive/sketch/SketchTooltipOptions.js +1 -1
- package/views/interactive/sketch/SketchTooltipVisibleElements.d.ts +10 -95
- package/views/interactive/sketch/SketchTooltipVisibleElements.js +1 -1
- package/views/interactive/sketch/SketchValueOptions.d.ts +7 -45
- package/views/interactive/sketch/SketchValueOptions.js +1 -1
- package/views/interactive/sketch/Units.d.ts +10 -29
- package/views/interactive/sketch/Units.js +1 -1
- package/views/interactive/snapping/SnappingOptions.d.ts +7 -78
- package/views/interactive/snapping/SnappingOptions.js +1 -1
- package/views/interactive/support/Units.d.ts +33 -0
- package/views/interactive/support/Units.js +2 -0
- package/views/interactive/support/types.d.ts +33 -0
- package/views/interactive/tooltip/types.d.ts +6 -2
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
- package/widgets/BatchAttributeForm/expressions/ExpressionsManager.js +1 -1
- package/widgets/BatchAttributeForm/expressions/ExpressionsModel.js +1 -1
- package/widgets/LayerList/ListItem.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/services/SuperimposeService.js +1 -1
- package/widgets/OrientedImageryViewer/services/TransformationService.js +1 -1
- package/widgets/OrientedImageryViewer/support/superimposeUtils.js +1 -1
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/TableList/ListItem.js +1 -1
- package/assets/esri/core/workers/chunks/02dd79beb13eff6be85e.js +0 -1
- package/assets/esri/core/workers/chunks/0623acb2bd14a61b65c9.js +0 -29
- package/assets/esri/core/workers/chunks/069b6d8bdb34ee88d437.js +0 -1
- package/assets/esri/core/workers/chunks/0790bf0eb276cd9166f6.js +0 -1
- package/assets/esri/core/workers/chunks/08c2bf9defcece9e049a.js +0 -1
- package/assets/esri/core/workers/chunks/0ae0483b72f5e8d00d55.js +0 -1
- package/assets/esri/core/workers/chunks/0d1224693a62a26a0e72.js +0 -1
- package/assets/esri/core/workers/chunks/10b367563f894ceb9864.js +0 -1
- package/assets/esri/core/workers/chunks/11e00ca5ac1b004f4ecc.js +0 -1
- package/assets/esri/core/workers/chunks/13033178de9f637a2356.js +0 -1
- package/assets/esri/core/workers/chunks/13c893e448bedc5c1cef.js +0 -1
- package/assets/esri/core/workers/chunks/14cd8bb1ad4da8d1d2ca.js +0 -1
- package/assets/esri/core/workers/chunks/15c2d9bec0455fc363a9.js +0 -1
- package/assets/esri/core/workers/chunks/246cd372d4184233f48e.js +0 -1
- package/assets/esri/core/workers/chunks/268ab65afc3fce775ad2.js +0 -1
- package/assets/esri/core/workers/chunks/279a9a38b04a21cdfd11.js +0 -1
- package/assets/esri/core/workers/chunks/2a1c6df073e6ca6a6365.js +0 -1
- package/assets/esri/core/workers/chunks/3406a01dad6338e3c548.js +0 -1
- package/assets/esri/core/workers/chunks/36781219ca9ba5d7fe52.js +0 -1
- package/assets/esri/core/workers/chunks/36999a2e383c8eb3c398.js +0 -1
- package/assets/esri/core/workers/chunks/36f8a912842181e1f0aa.js +0 -1
- package/assets/esri/core/workers/chunks/3f1a7f8a9ead64bf0b7b.js +0 -1
- package/assets/esri/core/workers/chunks/41e821ce229bc56dc1a1.js +0 -1
- package/assets/esri/core/workers/chunks/43b39abd49c4a8ce891f.js +0 -1
- package/assets/esri/core/workers/chunks/456e616f32e7de696d38.js +0 -1
- package/assets/esri/core/workers/chunks/478540265c86436da05e.js +0 -1
- package/assets/esri/core/workers/chunks/479f486ec1797629ec70.js +0 -1
- package/assets/esri/core/workers/chunks/484b3e2a220c440ccbb4.js +0 -1
- package/assets/esri/core/workers/chunks/4a340836ddbc856993f2.js +0 -1
- package/assets/esri/core/workers/chunks/54b9667450d066c6f6ce.js +0 -1
- package/assets/esri/core/workers/chunks/57b07448da06d0302a46.js +0 -1
- package/assets/esri/core/workers/chunks/5a9ff50fdcc99ae28cce.js +0 -1
- package/assets/esri/core/workers/chunks/5dbd8ca7e7b8eb9a0bf7.js +0 -1
- package/assets/esri/core/workers/chunks/5dc17b76c6ecc24e7b9a.js +0 -1
- package/assets/esri/core/workers/chunks/5e3d5347223f0111f40f.js +0 -1
- package/assets/esri/core/workers/chunks/5eb6f37c74a217772eca.js +0 -1
- package/assets/esri/core/workers/chunks/6210fb6cd31844f23964.js +0 -1
- package/assets/esri/core/workers/chunks/638ed1297efdb24f4711.js +0 -1
- package/assets/esri/core/workers/chunks/63ede7295938f7010808.js +0 -1
- package/assets/esri/core/workers/chunks/661a59133ae34f172174.js +0 -1
- package/assets/esri/core/workers/chunks/687cf21e027f49b44d22.js +0 -1
- package/assets/esri/core/workers/chunks/6c2b5087a9df65267f4e.js +0 -1
- package/assets/esri/core/workers/chunks/6c98a64d92c9bca78203.js +0 -1
- package/assets/esri/core/workers/chunks/6d247ff53421d27628ce.js +0 -1
- package/assets/esri/core/workers/chunks/700c08dd2e734c15e621.js +0 -1
- package/assets/esri/core/workers/chunks/70452f6d63e9be8d03dd.js +0 -1
- package/assets/esri/core/workers/chunks/733b2e181683d5fc7c95.js +0 -1
- package/assets/esri/core/workers/chunks/7659391f952d134164cf.js +0 -1
- package/assets/esri/core/workers/chunks/7889f4a17cf249f2acc5.js +0 -1
- package/assets/esri/core/workers/chunks/7a2dcd57849048c6e00d.js +0 -1
- package/assets/esri/core/workers/chunks/7a2dfa42610fe8414ed7.js +0 -1
- package/assets/esri/core/workers/chunks/7ce52b850dd785bfa33f.js +0 -1
- package/assets/esri/core/workers/chunks/7d85048c6cd6ad84faf9.js +0 -1
- package/assets/esri/core/workers/chunks/7fdd6a5fa062778be55d.js +0 -1
- package/assets/esri/core/workers/chunks/81accb1820e2735fa376.js +0 -1
- package/assets/esri/core/workers/chunks/8210fc9e072209e26fa9.js +0 -1
- package/assets/esri/core/workers/chunks/8369edafab7bdc59b95a.js +0 -1
- package/assets/esri/core/workers/chunks/84fa102a93b2144c28fb.js +0 -1
- package/assets/esri/core/workers/chunks/85ce7673d42526a79fd2.js +0 -1
- package/assets/esri/core/workers/chunks/8722e2790272e90a1897.js +0 -1
- package/assets/esri/core/workers/chunks/8a1970e68bc1e833cb7f.js +0 -1
- package/assets/esri/core/workers/chunks/8bb20ef549ec1c86b38e.js +0 -1
- package/assets/esri/core/workers/chunks/8c535c6a39d2be2ed655.js +0 -1
- package/assets/esri/core/workers/chunks/9008090a5d8431ddfa22.js +0 -1
- package/assets/esri/core/workers/chunks/92696cce2b980373f9ad.js +0 -1
- package/assets/esri/core/workers/chunks/98b27cf8acbfa4259758.js +0 -1
- package/assets/esri/core/workers/chunks/9a6208ab670ad74e6f7d.js +0 -1
- package/assets/esri/core/workers/chunks/a09ce34fc7c8abe64ed5.js +0 -1
- package/assets/esri/core/workers/chunks/a10f63a08d976be058be.js +0 -1
- package/assets/esri/core/workers/chunks/a5f058567419ea70dff6.js +0 -1
- package/assets/esri/core/workers/chunks/a965d151515b76dd7566.js +0 -1
- package/assets/esri/core/workers/chunks/afeeb11b39e140303b5a.js +0 -1
- package/assets/esri/core/workers/chunks/b7170816736769d3b7b0.js +0 -1
- package/assets/esri/core/workers/chunks/b8e5d7aefddddbd0a10c.js +0 -1
- package/assets/esri/core/workers/chunks/b958f87f23f984131d09.js +0 -1
- package/assets/esri/core/workers/chunks/b9f40681af1fa00b5bbe.js +0 -1
- package/assets/esri/core/workers/chunks/c4c25db769a78e677e33.js +0 -1
- package/assets/esri/core/workers/chunks/c85ba0700eafdc8d6f9e.js +0 -1
- package/assets/esri/core/workers/chunks/c97451f75c23be979476.js +0 -1
- package/assets/esri/core/workers/chunks/ca118c42c0f609ca7912.js +0 -1
- package/assets/esri/core/workers/chunks/cb17cd8aaf77238c0236.js +0 -1
- package/assets/esri/core/workers/chunks/d03f427442bb0c287d05.js +0 -1
- package/assets/esri/core/workers/chunks/d08d3c6f21e6ba8268ca.js +0 -1
- package/assets/esri/core/workers/chunks/d37a72111dffc4c4db70.js +0 -1
- package/assets/esri/core/workers/chunks/d41ab2abcfacc87809b5.js +0 -1
- package/assets/esri/core/workers/chunks/d4ed094962a41d756c95.js +0 -1
- package/assets/esri/core/workers/chunks/d83ea3e4e9ab45334068.js +0 -1
- package/assets/esri/core/workers/chunks/d9b83d7dd7d1f7729a91.js +0 -1
- package/assets/esri/core/workers/chunks/dbcec48c4ba104a6d0b5.js +0 -1
- package/assets/esri/core/workers/chunks/dc24e80d061f7b063608.js +0 -1
- package/assets/esri/core/workers/chunks/df30053a10d4930924d5.js +0 -1
- package/assets/esri/core/workers/chunks/e5bb7ee670a3ba5ba3fe.js +0 -1
- package/assets/esri/core/workers/chunks/e5c75459de85a6dd2f14.js +0 -1
- package/assets/esri/core/workers/chunks/e798ca23f02a2dd65bd4.js +0 -1
- package/assets/esri/core/workers/chunks/f1299b4fc760ccca1518.js +0 -1
- package/assets/esri/core/workers/chunks/f65adaaa33d9f3b131f6.js +0 -1
- package/assets/esri/core/workers/chunks/f6715b8765cd36d81ec8.js +0 -1
- package/assets/esri/core/workers/chunks/f7fa932ade85cb2847b6.js +0 -1
- package/assets/esri/core/workers/chunks/f9a4f4efd63b8189a4eb.js +0 -1
- package/assets/esri/core/workers/chunks/f9b654f801cb416e9e17.js +0 -1
- package/assets/esri/core/workers/chunks/fa1c58e5b582d61a03ab.js +0 -1
- package/assets/esri/core/workers/chunks/fdec3a2e100688c42e41.js +0 -1
- package/assets/esri/core/workers/chunks/fefbde2c2e527bb716ee.js +0 -1
- /package/assets/esri/core/workers/chunks/{a12803108c3b12808698.js.LICENSE.txt → 242cad472fbc38b24dbc.js.LICENSE.txt} +0 -0
|
@@ -683,7 +683,7 @@ export abstract class ArcGISImageService {
|
|
|
683
683
|
* If no [mosaic rule](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageHistogramParameters/#mosaicRule) is provided, the default mosaic rule from the layer will be applied.
|
|
684
684
|
*
|
|
685
685
|
* @param parameters - Specifies parameters for calculating volume.
|
|
686
|
-
* @param requestOptions - Additional
|
|
686
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
687
687
|
* (will override requestOptions defined during construction).
|
|
688
688
|
* @returns When resolved, [ImageVolumeResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageVolumeResult/) is returned
|
|
689
689
|
* containing an array of [ImageVolume](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageVolume/).
|
|
@@ -721,7 +721,7 @@ export abstract class ArcGISImageService {
|
|
|
721
721
|
* This operation is supported at 10.9.1 and later.
|
|
722
722
|
*
|
|
723
723
|
* @param parameters - Specifies parameters for computing angles.
|
|
724
|
-
* @param requestOptions - Additional
|
|
724
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
725
725
|
* (will override requestOptions defined during construction).
|
|
726
726
|
* @returns When resolved, returns an instance of [ImageAngleResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageAngleResult/)
|
|
727
727
|
* containing computed north and up angles.
|
|
@@ -737,7 +737,7 @@ export abstract class ArcGISImageService {
|
|
|
737
737
|
* The result of this operation contains histograms computed for the given extent.
|
|
738
738
|
*
|
|
739
739
|
* @param parameters - Specifies parameters for computing histograms.
|
|
740
|
-
* @param requestOptions - Additional
|
|
740
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
741
741
|
* (will override requestOptions defined during construction).
|
|
742
742
|
* @returns Resolves to an object containing histogram results.
|
|
743
743
|
* See the object specification table below for details.
|
|
@@ -778,7 +778,7 @@ export abstract class ArcGISImageService {
|
|
|
778
778
|
* Requires that the raster catalog item has a valid `icsToPixel` resource.
|
|
779
779
|
*
|
|
780
780
|
* @param parameters - Specifies parameters for computing image space pixel location.
|
|
781
|
-
* @param requestOptions - Additional
|
|
781
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
782
782
|
* (will override requestOptions defined during construction).
|
|
783
783
|
* @returns When resolved, returns an instance of
|
|
784
784
|
* [ImagePixelLocationResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImagePixelLocationResult/) containing x and y values for the column and row of each input geometry.
|
|
@@ -798,7 +798,7 @@ export abstract class ArcGISImageService {
|
|
|
798
798
|
* resolution for the projected geometry's extent. The statistics and histogram are then computed based on the source pixel's values.
|
|
799
799
|
*
|
|
800
800
|
* @param parameters - Specifies parameters for computing statistics and histograms.
|
|
801
|
-
* @param requestOptions - Additional
|
|
801
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
802
802
|
* (will override requestOptions defined during construction).
|
|
803
803
|
* @returns Resolves to an object containing histogram and statistics results.
|
|
804
804
|
* See the object specification table below for details.
|
|
@@ -921,7 +921,7 @@ export abstract class ArcGISImageService {
|
|
|
921
921
|
* This operation is supported with ArcGIS Enterprise version 11.2 or higher image services.
|
|
922
922
|
*
|
|
923
923
|
* @param parameters - Specifies the find images parameters.
|
|
924
|
-
* @param requestOptions - Additional
|
|
924
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
925
925
|
* (will override requestOptions defined during construction).
|
|
926
926
|
* @returns Resolves to a [FindImagesResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FindImagesResult/) containing images that meet the search requirements.
|
|
927
927
|
* @since 4.29
|
|
@@ -1002,7 +1002,7 @@ export abstract class ArcGISImageService {
|
|
|
1002
1002
|
* This operation is supported with ArcGIS Enterprise version 11.3 or higher image services.
|
|
1003
1003
|
*
|
|
1004
1004
|
* @param parameters - Specifies the image url parameters.
|
|
1005
|
-
* @param requestOptions - Additional
|
|
1005
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1006
1006
|
* (will override requestOptions defined during construction).
|
|
1007
1007
|
* @returns Resolves to a [ImageUrlResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageUrlResult/) containing the image's url.
|
|
1008
1008
|
* @since 4.30
|
|
@@ -1020,7 +1020,7 @@ export abstract class ArcGISImageService {
|
|
|
1020
1020
|
* the [ImageSampleParameters.mosaicRule](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageSampleParameters/#mosaicRule) and [ImageSampleParameters.pixelSize](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageSampleParameters/#pixelSize) parameters.
|
|
1021
1021
|
*
|
|
1022
1022
|
* @param parameters - The parameters used in the getSamples operation.
|
|
1023
|
-
* @param requestOptions - Additional
|
|
1023
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1024
1024
|
* (will override requestOptions defined during construction).
|
|
1025
1025
|
* @returns When resolved, [ImageSampleResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageSampleResult/) is returned containing an array of [ImageSamples](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageSample/).
|
|
1026
1026
|
* @since 4.20
|
|
@@ -1058,7 +1058,7 @@ export abstract class ArcGISImageService {
|
|
|
1058
1058
|
* are not specified, then the current layer settings will be used.
|
|
1059
1059
|
*
|
|
1060
1060
|
* @param parameters - The identify parameters used in the identify operation.
|
|
1061
|
-
* @param requestOptions - Additional
|
|
1061
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1062
1062
|
* (will override requestOptions defined during construction).
|
|
1063
1063
|
* @returns When resolved, a [ImageIdentifyResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageIdentifyResult/)
|
|
1064
1064
|
* is returned.
|
|
@@ -1070,7 +1070,7 @@ export abstract class ArcGISImageService {
|
|
|
1070
1070
|
* This operation is supported with ArcGIS Enterprise version 11.2 or higher image services.
|
|
1071
1071
|
*
|
|
1072
1072
|
* @param parameters - Specifies the image to map parameters.
|
|
1073
|
-
* @param requestOptions - Additional
|
|
1073
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1074
1074
|
* (will override requestOptions defined during construction).
|
|
1075
1075
|
* @returns Resolves to a geometry object.
|
|
1076
1076
|
* @since 4.29
|
|
@@ -1085,7 +1085,7 @@ export abstract class ArcGISImageService {
|
|
|
1085
1085
|
* This operation is supported with ArcGIS Enterprise version 11.2 or higher image services.
|
|
1086
1086
|
*
|
|
1087
1087
|
* @param parameters - Specifies the image to map multiray parameters.
|
|
1088
|
-
* @param requestOptions - Additional
|
|
1088
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1089
1089
|
* (will override requestOptions defined during construction).
|
|
1090
1090
|
* @returns Resolves to a geometry object where the coordinates are in map coordinates.
|
|
1091
1091
|
* @since 4.29
|
|
@@ -1096,7 +1096,7 @@ export abstract class ArcGISImageService {
|
|
|
1096
1096
|
* This operation is supported with ArcGIS Enterprise version 11.2 or higher image services.
|
|
1097
1097
|
*
|
|
1098
1098
|
* @param parameters - Specifies the map to image parameters.
|
|
1099
|
-
* @param requestOptions - Additional
|
|
1099
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1100
1100
|
* (will override requestOptions defined during construction).
|
|
1101
1101
|
* @returns Resolves to a geometry object where the coordinates are in image space.
|
|
1102
1102
|
* @since 4.29
|
|
@@ -1107,7 +1107,7 @@ export abstract class ArcGISImageService {
|
|
|
1107
1107
|
* the sensor name, and measured values.
|
|
1108
1108
|
*
|
|
1109
1109
|
* @param parameters - Specifies parameters for measuring the area and perimeter for a given geometry on an image service.
|
|
1110
|
-
* @param requestOptions - Additional
|
|
1110
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1111
1111
|
* (will override requestOptions defined during construction).
|
|
1112
1112
|
* @returns When resolved, returns an instance of [ImageAreaResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageAreaResult/)
|
|
1113
1113
|
* containing the name of the raster dataset being used, the sensor name, and measured values.
|
|
@@ -1133,7 +1133,7 @@ export abstract class ArcGISImageService {
|
|
|
1133
1133
|
* * Raster items in the mosaic dataset must have 3D transformation (e.g. mosaic dataset built with UAV raster type).
|
|
1134
1134
|
*
|
|
1135
1135
|
* @param parameters - Specifies parameters for measuring the area and the perimeter.
|
|
1136
|
-
* @param requestOptions - Additional
|
|
1136
|
+
* @param requestOptions - Additional options to be used for the data request.
|
|
1137
1137
|
* @returns When resolved, returns an instance of [MeasureAreaFromImageResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/MeasureAreaFromImageResult/)
|
|
1138
1138
|
* containing the polygon's geometry in a map space, and its length, area and center.
|
|
1139
1139
|
* @since 4.29
|
|
@@ -1144,7 +1144,7 @@ export abstract class ArcGISImageService {
|
|
|
1144
1144
|
* includes the name of the raster dataset being used, the sensor name, and measured values.
|
|
1145
1145
|
*
|
|
1146
1146
|
* @param parameters - Specifies parameters for measuring the distance and angle between two points on an image service.
|
|
1147
|
-
* @param requestOptions - Additional
|
|
1147
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1148
1148
|
* (will override requestOptions defined during construction).
|
|
1149
1149
|
* @returns When resolved, returns an instance of [ImageDistanceResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageDistanceResult/)
|
|
1150
1150
|
* containing the name of the raster dataset being used, the sensor name, and measured values.
|
|
@@ -1159,7 +1159,7 @@ export abstract class ArcGISImageService {
|
|
|
1159
1159
|
*
|
|
1160
1160
|
* @param parameters - Specifies parameters for measuring the height of an object between two points on
|
|
1161
1161
|
* an image service.
|
|
1162
|
-
* @param requestOptions - Additional
|
|
1162
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1163
1163
|
* (will override requestOptions defined during construction).
|
|
1164
1164
|
* @returns When resolved, returns an instance of [ImageHeightResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageHeightResult/)
|
|
1165
1165
|
* containing the name of the raster dataset being used, the sensor name, and measured values.
|
|
@@ -1173,7 +1173,7 @@ export abstract class ArcGISImageService {
|
|
|
1173
1173
|
* * Raster items in the mosaic dataset must have 3D transformation (e.g. mosaic dataset built with UAV raster type).
|
|
1174
1174
|
*
|
|
1175
1175
|
* @param parameters - Specifies parameters for measuring the length of a polyline.
|
|
1176
|
-
* @param requestOptions - Additional
|
|
1176
|
+
* @param requestOptions - Additional options to be used for the data request.
|
|
1177
1177
|
* @returns When resolved, returns an instance of [MeasureLengthFromImageResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/MeasureLengthFromImageResult/)
|
|
1178
1178
|
* containing the [Polyline](https://developers.arcgis.com/javascript/latest/references/core/geometry/Polyline/) in a map space and its length.
|
|
1179
1179
|
* @since 4.29
|
|
@@ -1184,7 +1184,7 @@ export abstract class ArcGISImageService {
|
|
|
1184
1184
|
*
|
|
1185
1185
|
* @param parameters - Specifies parameters for determining a point location or a centroid
|
|
1186
1186
|
* of a given area on the image service.
|
|
1187
|
-
* @param requestOptions - Additional
|
|
1187
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1188
1188
|
* (will override requestOptions defined during construction).
|
|
1189
1189
|
* @returns When resolved, returns an instance of [ImagePointResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImagePointResult/)
|
|
1190
1190
|
* containing the name of the raster dataset being used, the sensor name, and measured values.
|
|
@@ -1196,7 +1196,7 @@ export abstract class ArcGISImageService {
|
|
|
1196
1196
|
* This operation is supported with ArcGIS Enterprise version 10.6 or higher image services.
|
|
1197
1197
|
*
|
|
1198
1198
|
* @param parameters - Specifies the imagery boundary parameters.
|
|
1199
|
-
* @param requestOptions - Additional
|
|
1199
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1200
1200
|
* (will override requestOptions defined during construction).
|
|
1201
1201
|
* @returns Resolves to an object containing boundary geometry of an image service.
|
|
1202
1202
|
* @since 4.29
|
|
@@ -1209,7 +1209,7 @@ export abstract class ArcGISImageService {
|
|
|
1209
1209
|
* @param query - Specifies the attributes and spatial
|
|
1210
1210
|
* filter of the query. If no parameters are specified, then the extent and count of all rasters
|
|
1211
1211
|
* satisfying the layer's configuration/filters are returned.
|
|
1212
|
-
* @param requestOptions - Additional
|
|
1212
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1213
1213
|
* (will override requestOptions defined during construction).
|
|
1214
1214
|
* @returns When resolved, returns the extent and count of the rasters
|
|
1215
1215
|
* that satisfy the input query. See the object specification table below for details.
|
|
@@ -1238,7 +1238,7 @@ export abstract class ArcGISImageService {
|
|
|
1238
1238
|
* This operation is supported with ArcGIS Enterprise version 11.2 or higher image services.
|
|
1239
1239
|
*
|
|
1240
1240
|
* @param parameters - Specifies the parameters for query GPS info operation.
|
|
1241
|
-
* @param requestOptions - Additional
|
|
1241
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1242
1242
|
* (will override requestOptions defined during construction).
|
|
1243
1243
|
* @returns Resolves to an object containing information about images and cameras.
|
|
1244
1244
|
* @since 4.29
|
|
@@ -1250,7 +1250,7 @@ export abstract class ArcGISImageService {
|
|
|
1250
1250
|
*
|
|
1251
1251
|
* @param query - Specifies the query parameters. If no parameters are specified, then all Object IDs satisfying the
|
|
1252
1252
|
* layer's configuration/filters are returned.
|
|
1253
|
-
* @param requestOptions - Additional
|
|
1253
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1254
1254
|
* (will override requestOptions defined during construction).
|
|
1255
1255
|
* @returns When resolved, returns an array of numbers representing the object IDs of the rasters satisfying the query.
|
|
1256
1256
|
* @since 4.21
|
|
@@ -1262,7 +1262,7 @@ export abstract class ArcGISImageService {
|
|
|
1262
1262
|
*
|
|
1263
1263
|
* @param query - Specifies the query parameters. If no parameters are specified, then count of all rasters satisfying the layer's
|
|
1264
1264
|
* configuration/filters are returned.
|
|
1265
|
-
* @param requestOptions - Additional
|
|
1265
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1266
1266
|
* (will override requestOptions defined during construction).
|
|
1267
1267
|
* @returns When resolved, returns the number of rasters satisfying the query.
|
|
1268
1268
|
* @since 4.21
|
|
@@ -1285,7 +1285,7 @@ export abstract class ArcGISImageService {
|
|
|
1285
1285
|
*
|
|
1286
1286
|
* @param query - Specifies the query parameters. If no parameters are specified, then all features satisfying the layer's
|
|
1287
1287
|
* configuration/filters are returned.
|
|
1288
|
-
* @param requestOptions - Additional
|
|
1288
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
1289
1289
|
* (will override requestOptions defined during construction).
|
|
1290
1290
|
* @returns When resolved, a [FeatureSet](https://developers.arcgis.com/javascript/latest/references/core/rest/support/FeatureSet/) containing an array
|
|
1291
1291
|
* of graphics is returned.
|
|
@@ -350,7 +350,7 @@ export abstract class TiledImagery {
|
|
|
350
350
|
* The number of sample locations in the response is based on the `sampleDistance` or `sampleCount` parameter and the maximum is 1000.
|
|
351
351
|
*
|
|
352
352
|
* @param parameters - The parameters used in the getSamples operation.
|
|
353
|
-
* @param requestOptions - Additional
|
|
353
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
354
354
|
* (will override requestOptions defined during construction).
|
|
355
355
|
* @returns When resolved, [ImageSampleResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageSampleResult/) is returned containing an array of [ImageSamples](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ImageSample/).
|
|
356
356
|
* @since 4.33
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import
|
|
2
|
+
import"../../../core/RandomLCG.js";import"../../../core/Logger.js";import"../../../core/has.js";import{create as e}from"../../../core/libs/gl-matrix-2/factories/vec3f64.js";import t from"../../../geometry/Point.js";import a from"../../../geometry/Polygon.js";import{fromArray as n,intersectLine as r,fromPoints as i}from"../../../geometry/support/plane.js";import o from"./updateElevation.js";import{pointToArray as c,or as s}from"./utils.js";import{worldToImagePanoramic as m,worldToImage as p}from"./worldToImage.js";import{normalizeDegrees as f}from"../../../widgets/OrientedImageryViewer/components/imageNavigationUtils.js";async function l(a,n,o,m=h){const{cameraLocation:p,farPlaneVertices:f}=o,l=c(p),g=new Array;await y(f,o,g);let w=i(g[0],g[1],g[2]),b=a.clone();for(let h=0;h<m;h++){const m=e();if(!r(w,l,c(a),m))break;let f=0,h=null;if(({error:f,imagePoint:h,pointWithZ:b}=await d(n,new t(m,p.spatialReference),o)),f<=1)break;const[y,j]=u(p.spatialReference,g);if(s(y<=1,j<=1))break;g.splice(0,g.length,...await R(y,j,new t(m,p.spatialReference),o)),w=i(g[0],g[1],g[2])}return c(b)}async function g(a,i,o,m=h){const{cameraLocation:p,farPlaneVertices:f}=o,l=c(p),g=new Array;await y(f,o,g);const w=[0,0,0,0];let d=n(w,g.flat(),!1),j=a.clone();for(let h=0;h<m;h++){const m=e();if(!r(w,l,c(a),m)||!d)break;let f,h=0;if(({error:h,imagePoint:f,pointWithZ:j}=await b(i,new t(m,p.spatialReference),o)),h<=1)break;const[y,x]=u(p.spatialReference,g);if(s(y<=1,x<=1))break;g.splice(0,g.length,...await R(y,x,new t(m,p.spatialReference),o)),d=n(w,g.flat(),!1)}return c(j)}const h=10,w=10;function u(e,t){const n=new a({spatialReference:e});n.addRing(t);return[n.extent?.width?n.extent.width/w:1,n.extent?.height?n.extent.height/w:1]}async function y(e,t,a){const n=e.map(e=>e.clone()),r=await o(n,t);a.push(...r.map(c))}async function d(e,t,a){const n=await o(t,a),r=p(n,a);return{error:j(r,e),imagePoint:r,pointWithZ:n}}async function b(e,t,a){const n=await o(t,a),r=m(n,a),i=f(r.heading+a.cameraHeading);return{error:Math.abs(i-e.heading)+Math.abs(r.pitch-e.pitch),imagePoint:r,pointWithZ:n}}const j=(e,t)=>Math.abs(e.x-t.x)+Math.abs(e.y-t.y);async function R(e,a,n,r){const i=[[-e,-a],[e,-a],[e,a],[-e,a]].map(([e,a])=>new t([n.x+e,n.y+a],n.spatialReference));return o(i,r).then(e=>e.map(e=>e.toArray()))}export{l as rectifyMapPoint,g as rectifyMapPointPanoramic};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
class t{constructor(t=15e3,e=5e3){this._timer=null,this._cachedBlocks=new Map,this._size=-1,this._duration=t,this._interval=Math.min(t,e)}decreaseRefCount(t,e){const s=t+"/"+e,r=this._cachedBlocks;if(r.has(s)){const t=r.get(s);return t.refCount--,t.refCount<=0&&(r.delete(s),t.controller&&t.controller.abort()),t.refCount}return 0}getBlock(t,e){const s=t+"/"+e,r=this._cachedBlocks;if(r.has(s)){const t=r.get(s);return t.ts=Date.now(),t.refCount++,r.delete(s),r.set(s,t),t.block}return null}putBlock(t,e,s,r){const i=this._cachedBlocks,c=t+"/"+e;if(i.has(c)){const t=i.get(c);t.ts=Date.now(),t.refCount++}else i.set(c,{block:s,ts:Date.now(),refCount:1,controller:r});this._trim(),this._updateTimer()}deleteBlock(t,e){const s=this._cachedBlocks,r=t+"/"+e;s.has(r)&&s.delete(r)}updateMaxSize(t){this._size=t,this._trim()}empty(){this._cachedBlocks.clear(),this._clearTimer()}getCurrentSize(){return this._cachedBlocks.size}_updateTimer(){if(null!=this._timer)return;const t=this._cachedBlocks;this._timer=setInterval(()=>{const e=Array.from(t),s=Date.now();for(let r=0;r<e.length&&e[r][1].ts<=s-this._duration;r++)t.delete(e[r][0]);0===t.size&&this._clearTimer()},this._interval)}_trim(){const t=this._cachedBlocks;if(-1===this._size||this._size>=t.size)return;const e=Array.from(t);for(let s=0;s<e.length-this._size;s++)t.delete(e[s][0])}_clearTimer(){null!=this._timer&&(clearInterval(this._timer),this._timer=null)}}export{t as default};
|
|
2
|
+
class t{constructor(t=15e3,e=5e3,s=-1){this._timer=null,this._cachedBlocks=new Map,this._size=-1,this._duration=t,this._interval=Math.min(t,e),this._size=s}decreaseRefCount(t,e){const s=t+"/"+e,r=this._cachedBlocks;if(r.has(s)){const t=r.get(s);return t.refCount--,t.refCount<=0&&(r.delete(s),t.controller&&t.controller.abort()),t.refCount}return 0}getBlock(t,e){const s=t+"/"+e,r=this._cachedBlocks;if(r.has(s)){const t=r.get(s);return t.ts=Date.now(),t.refCount++,r.delete(s),r.set(s,t),t.block}return null}putBlock(t,e,s,r){const i=this._cachedBlocks,c=t+"/"+e;if(i.has(c)){const t=i.get(c);t.ts=Date.now(),t.refCount++}else i.set(c,{block:s,ts:Date.now(),refCount:1,controller:r});this._trim(),this._updateTimer()}deleteBlock(t,e){const s=this._cachedBlocks,r=t+"/"+e;s.has(r)&&s.delete(r)}updateMaxSize(t){this._size=t,this._trim()}empty(){this._cachedBlocks.clear(),this._clearTimer()}getCurrentSize(){return this._cachedBlocks.size}_updateTimer(){if(null!=this._timer)return;const t=this._cachedBlocks;this._timer=setInterval(()=>{const e=Array.from(t),s=Date.now();for(let r=0;r<e.length&&e[r][1].ts<=s-this._duration;r++)t.delete(e[r][0]);0===t.size&&this._clearTimer()},this._interval)}_trim(){const t=this._cachedBlocks;if(-1===this._size||this._size>=t.size)return;const e=Array.from(t).sort((t,e)=>t[1].refCount-e[1].refCount||t[1].ts-e[1].ts);for(let s=0;s<e.length-this._size;s++)t.delete(e[s][0])}_clearTimer(){null!=this._timer&&(clearInterval(this._timer),this._timer=null)}}export{t as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import e from"../../../geometry/Point.js";import n from"./EphemeralBlockCache.js";import{projectExtent as t,projectResolution as o,snapPyramid as l}from"../functions/rasterProjectionHelper.js";const r=new Map,c=new n;function i(e,n,t){const o=[];return null!=n&&o.push(`sliceId=${n}`),null!=t&&o.push(`bandIds=${t.join(",")}`),o.length?`${e}?${o.join("&")}`:e}function u(e,n){const t={extent:null,rasterInfo:n,cache:new Map},o=r.get(e);return o?(o.push(t),o.length-1):(r.set(e,[t]),0)}function a(e,n){const t=r.get(e);t&&(t[n]=null,t.some(e=>null!=e)||s(e))}function f(e,n){const t=r.get(e);if(t){const e=n.map(e=>t[e]).filter(e=>null!=e);for(const n of e)if(n){Array.from(n.cache.values()).forEach(e=>{e.isResolved||e.isRejected||!e.controller||e.controller.abort()}),n.cache.clear()}}}function s(e){r.delete(e)}function m(e,n,t){const o=r.get(e);if(!o)return null==n?c.decreaseRefCount(e,t):0;if(null==n||null==o[n])return c.decreaseRefCount(e,t);const l=o[n]?.cache,i=l?.get(t);if(l&&i){if(i.refCount--,0===i.refCount){l.delete(t);for(let e=0;e<o.length;e++)o[e]?.cache.delete(t);i.controller&&i.controller.abort()}return i.refCount}return 0}function h(e,n,t){const o=r.get(e);if(!o)return null==n?c.getBlock(e,t):null;if(null==n||null==o[n]){for(let e=0;e<o.length;e++){const n=o[e]?.cache.get(t);if(n)return n.refCount++,n.block}return c.getBlock(e,t)}const l=o[n]?.cache.get(t);if(l)return l.refCount++,l.block;for(let r=0;r<o.length;r++){if(r===n||!o[r])continue;const e=o[r]?.cache,l=e?.get(t);if(e&&l)return l.refCount++,e.set(t,l),l.block}return null}function x(e,n,t,o,l=null){const i=r.get(e);if(!i)return void(null==n&&c.putBlock(e,t,o,l));if(null==n||null==i[n])return void c.putBlock(e,t,o,l);const u={refCount:1,block:o,isResolved:!1,isRejected:!1,controller:l};o.then(()=>u.isResolved=!0).catch(()=>u.isRejected=!0),i[n]?.cache.set(t,u)}function d(e,n,t){const o=r.get(e);o?null!=n&&null!=o[n]?o[n]?.cache.delete(t):c.deleteBlock(e,t):null==n&&c.deleteBlock(e,t)}function g(e,n){const t=r.get(e);return t?t[n]??null:null}function p(n,r,c,i,u,a,f=null){const s=g(n,r);if(!s)return;const m=s.extent,{cache:h,rasterInfo:x}=s;if(m?.xmin===c.xmin&&m.xmax===c.xmax&&m.ymin===c.ymin&&m.ymax===c.ymax)return;i=i??0;const d=c.clone().normalize(),{spatialReference:p,transform:y}=x,R=new Set;for(let g=0;g<d.length;g++){const n=d[g];if(n.xmax-n.xmin<=i||n.ymax-n.ymin<=i)continue;let r=t(n,p,f);if(null==r)continue;if(null!=y&&(r=y.inverseTransform(r),null==r))continue;const c=new e({x:i,y:i,spatialReference:n.spatialReference});if(null==u&&!(u=o(c,p,n,f)))return;const{pyramidLevel:s,pyramidResolution:m,excessiveReading:h}=l(u,x,a||"closest");if(h)return;const{storageInfo:k}=x,{origin:M}=k,{x:C,y:b}=m,j=Math.max(0,Math.floor((r.xmin-M.x)/C)),v=Math.max(0,Math.floor((M.y-r.ymax)/b)),B=Math.ceil(r.width/C-.1),w=Math.ceil(r.height/b-.1),$=s>0?k.pyramidBlockWidth:k.blockWidth,I=s>0?k.pyramidBlockHeight:k.blockHeight,E=k.blockBoundary[s];if(!E)continue;const H=1,P=Math.max(E.minCol,Math.floor(j/$)-H),W=Math.max(E.minRow,Math.floor(v/I)-H),z=Math.min(E.maxCol,Math.floor((j+B-1)/$)+H),A=Math.min(E.maxRow,Math.floor((v+w-1)/I)+H);for(let e=W;e<=A;e++)for(let n=P;n<=z;n++)R.add(`${s}/${e}/${n}`)}h.forEach((e,n)=>{if(!R.has(n)){const e=h.get(n);(null==e||e.isResolved||e.isRejected)&&h.delete(n)}}),s.extent={xmin:c.xmin,ymin:c.ymin,xmax:c.xmax,ymax:c.ymax}}export{f as clearRegisteredIds,m as decreaseRefCount,d as deleteBlock,s as deleteRaster,h as getBlock,i as getRasterId,x as putBlock,u as register,a as unregister,p as update};
|
|
2
|
+
import e from"../../../geometry/Point.js";import n from"./EphemeralBlockCache.js";import{projectExtent as t,projectResolution as o,snapPyramid as l}from"../functions/rasterProjectionHelper.js";const r=new Map,c=new n(15e3,5e3,100);function i(e,n,t){const o=[];return null!=n&&o.push(`sliceId=${n}`),null!=t&&o.push(`bandIds=${t.join(",")}`),o.length?`${e}?${o.join("&")}`:e}function u(e,n){const t={extent:null,rasterInfo:n,cache:new Map},o=r.get(e);return o?(o.push(t),o.length-1):(r.set(e,[t]),0)}function a(e,n){const t=r.get(e);t&&(t[n]=null,t.some(e=>null!=e)||s(e))}function f(e,n){const t=r.get(e);if(t){const e=n.map(e=>t[e]).filter(e=>null!=e);for(const n of e)if(n){Array.from(n.cache.values()).forEach(e=>{e.isResolved||e.isRejected||!e.controller||e.controller.abort()}),n.cache.clear()}}}function s(e){r.delete(e)}function m(e,n,t){const o=r.get(e);if(!o)return null==n?c.decreaseRefCount(e,t):0;if(null==n||null==o[n])return c.decreaseRefCount(e,t);const l=o[n]?.cache,i=l?.get(t);if(l&&i){if(i.refCount--,0===i.refCount){l.delete(t);for(let e=0;e<o.length;e++)o[e]?.cache.delete(t);i.controller&&i.controller.abort()}return i.refCount}return 0}function h(e,n,t){const o=r.get(e);if(!o)return null==n?c.getBlock(e,t):null;if(null==n||null==o[n]){for(let e=0;e<o.length;e++){const n=o[e]?.cache.get(t);if(n)return n.refCount++,n.block}return c.getBlock(e,t)}const l=o[n]?.cache.get(t);if(l)return l.refCount++,l.block;for(let r=0;r<o.length;r++){if(r===n||!o[r])continue;const e=o[r]?.cache,l=e?.get(t);if(e&&l)return l.refCount++,e.set(t,l),l.block}return null}function x(e,n,t,o,l=null){const i=r.get(e);if(!i)return void(null==n&&c.putBlock(e,t,o,l));if(null==n||null==i[n])return void c.putBlock(e,t,o,l);const u={refCount:1,block:o,isResolved:!1,isRejected:!1,controller:l};o.then(()=>u.isResolved=!0).catch(()=>u.isRejected=!0),i[n]?.cache.set(t,u)}function d(e,n,t){const o=r.get(e);o?null!=n&&null!=o[n]?o[n]?.cache.delete(t):c.deleteBlock(e,t):null==n&&c.deleteBlock(e,t)}function g(e,n){const t=r.get(e);return t?t[n]??null:null}function p(n,r,c,i,u,a,f=null){const s=g(n,r);if(!s)return;const m=s.extent,{cache:h,rasterInfo:x}=s;if(m?.xmin===c.xmin&&m.xmax===c.xmax&&m.ymin===c.ymin&&m.ymax===c.ymax)return;i=i??0;const d=c.clone().normalize(),{spatialReference:p,transform:y}=x,R=new Set;for(let g=0;g<d.length;g++){const n=d[g];if(n.xmax-n.xmin<=i||n.ymax-n.ymin<=i)continue;let r=t(n,p,f);if(null==r)continue;if(null!=y&&(r=y.inverseTransform(r),null==r))continue;const c=new e({x:i,y:i,spatialReference:n.spatialReference});if(null==u&&!(u=o(c,p,n,f)))return;const{pyramidLevel:s,pyramidResolution:m,excessiveReading:h}=l(u,x,a||"closest");if(h)return;const{storageInfo:k}=x,{origin:M}=k,{x:C,y:b}=m,j=Math.max(0,Math.floor((r.xmin-M.x)/C)),v=Math.max(0,Math.floor((M.y-r.ymax)/b)),B=Math.ceil(r.width/C-.1),w=Math.ceil(r.height/b-.1),$=s>0?k.pyramidBlockWidth:k.blockWidth,I=s>0?k.pyramidBlockHeight:k.blockHeight,E=k.blockBoundary[s];if(!E)continue;const H=1,P=Math.max(E.minCol,Math.floor(j/$)-H),W=Math.max(E.minRow,Math.floor(v/I)-H),z=Math.min(E.maxCol,Math.floor((j+B-1)/$)+H),A=Math.min(E.maxRow,Math.floor((v+w-1)/I)+H);for(let e=W;e<=A;e++)for(let n=P;n<=z;n++)R.add(`${s}/${e}/${n}`)}h.forEach((e,n)=>{if(!R.has(n)){const e=h.get(n);(null==e||e.isResolved||e.isRejected)&&h.delete(n)}}),s.extent={xmin:c.xmin,ymin:c.ymin,xmax:c.xmax,ymax:c.ymax}}export{f as clearRegisteredIds,m as decreaseRefCount,d as deleteBlock,s as deleteRaster,h as getBlock,i as getRasterId,x as putBlock,u as register,a as unregister,p as update};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import t from"../../core/Collection.js";import{EventedMixin as r}from"../../core/Evented.js";import{JSONSupportMixin as i}from"../../core/JSONSupport.js";import{Loadable as s}from"../../core/Loadable.js";import{on as o,sync as l,watch as a,whenOnce as n}from"../../core/reactiveUtils.js";import{stripHTML as p}from"../../core/string.js";import{property as u,subclass as h}from"../../core/accessorSupport/decorators.js";import{ensureType as y}from"../../core/accessorSupport/ensureType.js";import c from"../../geometry/Extent.js";import f from"../../graphic/KMLGraphicOrigin.js";import{computeExtent as d,sublayersFromJSON as m,fetchService as v,parseKML as b}from"./kmlUtils.js";import{reader as g}from"../../core/accessorSupport/decorators/reader.js";var j;let S=j=class extends(r(i(s))){constructor(...e){super(...e),this.description=null,this.fullExtent=null,this.id=null,this.networkLink=null,this.parent=null,this.sublayers=null,this.title=null,this.sourceJSON=null,this.layer=null,this.addHandles([o(()=>this.sublayers,"after-add",({item:e})=>{e.parent=this,e.layer=this.layer},l),o(()=>this.sublayers,"after-remove",({item:e})=>{e.layer=e.parent=null},l),a(()=>this.sublayers,(e,t)=>{if(t)for(const r of t)r.layer=r.parent=null;if(e)for(const r of e)r.parent=this,r.layer=this.layer},l),a(()=>this.layer,e=>{if(this.sublayers)for(const t of this.sublayers)t.layer=e},l)])}initialize(){n(()=>this.networkLink).then(()=>n(()=>!0===this.visible)).then(()=>this.load())}async load(e){if(!this.networkLink)return this;if(this.networkLink.viewFormat)return this;const r=null!=e?e.signal:null,i=this._fetchService(this._get("networkLink")?.href??"",r).then(e=>{const r=d(e.sublayers);this.fullExtent=c.fromJSON(r),this.sourceJSON=e;const i=y(t.ofType(j),m(j,e));this.sublayers?this.sublayers.addMany(i):this.sublayers=i,this.layer?.emit("sublayer-update"),this.layer&&this.layer.notifyChange("visibleSublayers")});return this.addResolvingPromise(i),this}get visible(){return this._get("visible")}set visible(e){this._get("visible")!==e&&(this._set("visible",e),this.layer&&this.layer.notifyChange("visibleSublayers"))}readVisible(e,t){return!!t.visibility}get origin(){return this.layer?new f(this.layer,this):null}_fetchService(e,t){return v(e,this.layer.outSpatialReference,this.layer.refreshInterval,t).then(e=>b(e.data))}};e([u()],S.prototype,"description",void 0),e([u({type:c})],S.prototype,"fullExtent",void 0),e([u()],S.prototype,"id",void 0),e([u({readOnly:!0,value:null})],S.prototype,"networkLink",void 0),e([u({json:{write:{allowNull:!0}}})],S.prototype,"parent",void 0),e([u({type:t.ofType(
|
|
2
|
+
import{__decorate as e}from"tslib";import t from"../../core/Collection.js";import{EventedMixin as r}from"../../core/Evented.js";import{JSONSupportMixin as i}from"../../core/JSONSupport.js";import{Loadable as s}from"../../core/Loadable.js";import{on as o,sync as l,watch as a,whenOnce as n}from"../../core/reactiveUtils.js";import{stripHTML as p}from"../../core/string.js";import{property as u,subclass as h}from"../../core/accessorSupport/decorators.js";import{ensureType as y}from"../../core/accessorSupport/ensureType.js";import c from"../../geometry/Extent.js";import f from"../../graphic/KMLGraphicOrigin.js";import{computeExtent as d,sublayersFromJSON as m,fetchService as v,parseKML as b}from"./kmlUtils.js";import{reader as g}from"../../core/accessorSupport/decorators/reader.js";var j;let S=j=class extends(r(i(s))){constructor(...e){super(...e),this.description=null,this.fullExtent=null,this.id=null,this.networkLink=null,this.parent=null,this.sublayers=null,this.title=null,this.sourceJSON=null,this.layer=null,this.addHandles([o(()=>this.sublayers,"after-add",({item:e})=>{e.parent=this,e.layer=this.layer},l),o(()=>this.sublayers,"after-remove",({item:e})=>{e.layer=e.parent=null},l),a(()=>this.sublayers,(e,t)=>{if(t)for(const r of t)r.layer=r.parent=null;if(e)for(const r of e)r.parent=this,r.layer=this.layer},l),a(()=>this.layer,e=>{if(this.sublayers)for(const t of this.sublayers)t.layer=e},l)])}initialize(){n(()=>this.networkLink).then(()=>n(()=>!0===this.visible)).then(()=>this.load())}async load(e){if(!this.networkLink)return this;if(this.networkLink.viewFormat)return this;const r=null!=e?e.signal:null,i=this._fetchService(this._get("networkLink")?.href??"",r).then(e=>{const r=d(e.sublayers);this.fullExtent=c.fromJSON(r),this.sourceJSON=e;const i=y(t.ofType(j),m(j,e));this.sublayers?this.sublayers.addMany(i):this.sublayers=i,this.layer?.emit("sublayer-update"),this.layer&&this.layer.notifyChange("visibleSublayers")});return this.addResolvingPromise(i),this}get visible(){return this._get("visible")}set visible(e){this._get("visible")!==e&&(this._set("visible",e),this.layer&&this.layer.notifyChange("visibleSublayers"))}readVisible(e,t){return!!t.visibility}get origin(){return this.layer?new f(this.layer,this):null}_fetchService(e,t){return v(e,this.layer.outSpatialReference,this.layer.refreshInterval,t).then(e=>b(e.data))}};e([u()],S.prototype,"description",void 0),e([u({type:c})],S.prototype,"fullExtent",void 0),e([u()],S.prototype,"id",void 0),e([u({readOnly:!0,value:null})],S.prototype,"networkLink",void 0),e([u({json:{write:{allowNull:!0}}})],S.prototype,"parent",void 0),e([u({type:t.ofType(j),json:{write:{allowNull:!0}}})],S.prototype,"sublayers",void 0),e([u({value:null,json:{read:{source:"name",reader:e=>p(e)}}})],S.prototype,"title",void 0),e([u({value:!0})],S.prototype,"visible",null),e([g("visible",["visibility"])],S.prototype,"readVisible",null),e([u()],S.prototype,"sourceJSON",void 0),e([u()],S.prototype,"layer",void 0),e([u()],S.prototype,"origin",null),S=j=e([h("esri.layers.support.KMLSublayer")],S);export{S as default};
|
package/libs/parquet/parquet.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import e from"../../core/Error.js";import t from"../../core/Logger.js";import{latitudeFieldNames as n,longitudeFieldNames as o}from"../../layers/support/locationUtils.js";import{loadParquetModule as i}from"./loadParquetModule.js";const r=()=>t.getLogger("esri.layers.ParquetLayer"),a=new Set(["uncompressed","snappy","gzip"]),l=new Set(["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeBigInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong"]);function s(t,n){switch(n){case"esriGeometryPoint":return t.GeometryType.Point;case"esriGeometryPolygon":case"polygon":return t.GeometryType.Polygon;case"esriGeometryPolyline":case"polyline":return t.GeometryType.Polyline;case"esriGeometryMultipoint":case"multipoint":return t.GeometryType.Multipoint;default:throw new e("parquet",`Found unexpected GeometryType: ${n}`)}}function u(e,t){const n=t.encoding,o=s(e,t.geometryType),i=t.spatialReference.wkid;if(null==i)throw new Error("InternalError: Wkid must be defined.");switch(n.type){case"wkb":return e.GeometryField.fromWkb(n.field,i,o);case"location":{const{yField:t,xField:r}=n;return e.GeometryField.fromLocation(t,r,i,o)}}}function m(e,t){const n=e.GeometryInfo.new();t.geometry&&n.setGeometry(u(e,t.geometry));const o=t.displayOptimization;if(o){const{index:t,parentColumn:i}=o,r=e=>null!=i?[i,e].join("."):e;if("z"===t.type){const o=e.DisplayOptimizationZBuilder.new();o.setCodeField(r(t.code)),o.setXColumn(r(t.xColumn)),o.setYColumn(r(t.yColumn)),o.setCooordinatePrecision(t.coordinatePrecision),o.setFullExtent(t.fullExtent),o.setSpatialReference(t.wkid,null==t.wkid?t.wkt:void 0),o.setHasZ(!!t.zColumn),o.setHasM(!!t.mColumn),t.zColumn&&o.setZColumn(r(t.zColumn)),t.mColumn&&o.setMColumn(r(t.mColumn)),n.setOptmizationZ(o)}if("xz"===t.type){const o=s(e,t.geometryType),i=e.DisplayOptimizationXZBuilder.new();i.setCodeField(r(t.code)),i.setEncoding(t.encoding),i.setFullExtent(t.fullExtent),i.setGeometryType(o),i.setSpatialReference(t.wkid,null==t.wkid?t.wkt:void 0),i.setMaxLevel(t.maxLevel),i.setHasZ(t.hasZ??!1),i.setHasM(t.hasM??!1);for(const n of t.levels??[]){const t=new Float64Array(n.transform.translate),o=new Float64Array(n.transform.scale),a=r(n.column);i.addLevel(e.MultiscaleGeometryField.new(n.level,n.scale,a,t,o))}n.setOptmizationXZ(i)}}return n}async function p(t,n){const o=await i(),r=n.geometryInfo?m(o,n.geometryInfo):null,a=n.provider.fetchRange.bind(n.provider),l=n.provider.fetchLength.bind(n.provider);try{return await o.ParquetFile.fromUrl(t,a,l,r)}catch(s){throw new e("parquet","Failed to parse file",{error:s})}}function c(e){const t=e.keyValueMetadata("geo");return null!=t?JSON.parse(t):null}function d(t){if(t.keyValueMetadata("esri"))throw new e("parquet:unsupported","File was created using an unsupported experimental display index. Please regenerate the file.");const n=t.keyValueMetadata("geodisplay");if(null!=n)return y(JSON.parse(n));const o=t.keyValueMetadata("org.apache.spark.sql.parquet.row.metadata");if(null!=o){const e=JSON.parse(o);for(const t of e.fields)if(null!=t.metadata&&"type"in t.metadata&&("xz"===t.metadata.type||"z"===t.metadata.type)){return y({parentColumn:t.name,index:t.metadata})}}return null}function y(e){if("xz"===e.index.type&&(e.index.geometryType=k(e.index.geometryType),"esri-pbf"===e.index.encoding&&(e.index.encoding="esriPBF"),"esriPBF"!==e.index.encoding))return r().warn("parquet:unsupported",`Encoding for display index must be of type esriPBF, but found ${e.index.encoding}`),null;const{xmin:t,ymin:n,xmax:o,ymax:i}=e.index.fullExtent;return Number.isFinite(t)&&Number.isFinite(n)&&Number.isFinite(o)&&Number.isFinite(i)?e:(r().warn("parquet:protocol-violation","Ignoring display optimization, found bad extent",{index:e.index}),null)}function f(e){g(e);const t=w(e),n=c(e),o=d(e),i=x(n,t),{hasZ:r,hasM:a}=P(n,o);let l,s;if(i)switch(i.type){case"location":s={wkid:4326},l="esriGeometryPoint";break;case"wkb":if(n){const e=n.primary_column,t=n.columns[e];l=F(t),s=z(t)}}if(o){const e=o.index;!s&&e.wkid&&(s={wkid:e.wkid}),l||(l="z"===e.type?"esriGeometryPoint":G(e.geometryType))}return{geoMetadata:n,displayOptimization:o,hasZ:r,hasM:a,geometryEncoding:i,geometryInfo:s&&l?{geometry:i?{geometryType:l,spatialReference:s,encoding:i}:null,displayOptimization:o}:null,geometryType:l,spatialReference:s,extent:b(n,o,s),fields:t}}function g(t){for(const n of t.compressionCodecs())if(!a.has(n))throw new e("parquet:unsupported",`Compression codec ${n} is unsupported. Must be of type ${Array.from(a).join(",")}`)}function w(e){return e.fields(!1).map(e=>({name:e.name,alias:e.name,type:e.type}))}function x(e,t){if(null!=e){const t=e.primary_column;return{type:"wkb",field:t,orientation:"counterclockwise"===e.columns[t].orientation?"counter-clockwise":null}}const n=h(t.filter(e=>l.has(e.type)).map(e=>e.name));return n.latitudeFieldName&&n.longitudeFieldName?{type:"location",xField:n.longitudeFieldName,yField:n.latitudeFieldName}:null}function h(e){const t=e.map(e=>e.toLowerCase());return{longitudeFieldName:e[t.indexOf(o.find(e=>t.includes(e)))],latitudeFieldName:e[t.indexOf(n.find(e=>t.includes(e)))]}}function F(t){const{geometry_types:n}=t,o=new Set;for(const e of n){const t=M(e);t&&o.add(t)}if(o.size>1)throw new e("parquet:unsupported","Parquet mixed geometry types are not supported",{geometryTypes:o});return 1===o.size?o.values().next().value:void 0}function M(e){switch(e.replace(/ (?:Z|M|ZM)$/u,"")){case"Point":return"esriGeometryPoint";case"Polygon":case"MultiPolygon":return"esriGeometryPolygon";case"LineString":return"esriGeometryPolyline";case"MultiPoint":return"esriGeometryMultipoint";default:return null}}function P(e,t){const n=t?.index;if("z"===n?.type)return{hasZ:null!=n.zColumn,hasM:null!=n.mColumn};if("xz"===n?.type)return{hasZ:!0===n.hasZ,hasM:!0===n.hasM};const o=e?.columns[e.primary_column]?.geometry_types??[];return{hasZ:o.some(e=>/ (?:Z|ZM)$/u.test(e)),hasM:o.some(e=>/ (?:M|ZM)$/u.test(e))}}function G(e){switch(e){case"polygon":return"esriGeometryPolygon";case"polyline":return"esriGeometryPolyline";case"multipoint":return"esriGeometryMultipoint"}}function k(t){switch(t.toLowerCase()){case"polygon":return"polygon";case"polyline":return"polyline";case"multipoint":return"multipoint";default:throw new e("parquet:unsupported",`Geometry type ${t} is unsupported`)}}function z(e){const t=e.crs?.id?.code;return t&&"number"==typeof t?{wkid:t}:void 0}function b(e,t,n){if(!n)return null;const o=e?e.columns[e.primary_column]:null,i=o?.bbox;if(i?.every(e=>Number.isFinite(e)))switch(i.length){case 4:return{xmin:i[0],ymin:i[1],xmax:i[2],ymax:i[3],spatialReference:n};case 6:return{xmin:i[0],ymin:i[1],xmax:i[3],ymax:i[4],spatialReference:n};default:r().warn("parquet:protocol-violation","Invalid Geoparquet file. BoundingBox size must be 4 or 6.",{geoMetadata:e})}const a=t?.index.fullExtent;return a?{...a,spatialReference:n}:null}export{p as createParquetFile,c as readGeoMetadata,d as readGeodisplayMetadata,f as readMetadata};
|
|
2
|
+
import e from"../../core/Error.js";import n from"../../core/Logger.js";import{latitudeFieldNames as t,longitudeFieldNames as o}from"../../layers/support/locationUtils.js";import{loadParquetModule as r}from"./loadParquetModule.js";const i=()=>n.getLogger("esri.layers.ParquetLayer"),l=new Set(["uncompressed","snappy","gzip"]),u=new Set(["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeBigInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong"]);function s(n,t){switch(t){case"esriGeometryPoint":return n.GeometryType.Point;case"esriGeometryPolygon":case"polygon":return n.GeometryType.Polygon;case"esriGeometryPolyline":case"polyline":return n.GeometryType.Polyline;case"esriGeometryMultipoint":case"multipoint":return n.GeometryType.Multipoint;default:throw new e("parquet",`Found unexpected GeometryType: ${t}`)}}function a(e,n){const t=n.encoding,o=s(e,n.geometryType),r=n.spatialReference.wkid;if(null==r)throw new Error("InternalError: Wkid must be defined.");switch(t.type){case"wkb":return e.GeometryField.fromWkb(t.field,r,o);case"location":{const{yField:n,xField:i}=t;return e.GeometryField.fromLocation(n,i,r,o)}}}function m(e,n){const t=e.GeometryInfo.new();n.geometry&&t.setGeometry(a(e,n.geometry));const o=n.displayOptimization;if(o){const{index:n}=o;if("z"===n.type){const o=e.DisplayOptimizationZBuilder.new();o.setCodeField(f(n.code)),o.setXColumn(f(n.xColumn)),o.setYColumn(f(n.yColumn)),null!=n.zColumn&&o.setZColumn(f(n.zColumn)),null!=n.mColumn&&o.setMColumn(f(n.mColumn)),o.setCooordinatePrecision(n.coordinatePrecision),o.setFullExtent(n.fullExtent),o.setSpatialReference(n.wkid,null==n.wkid?n.wkt:void 0),o.setHasZ(!!n.zColumn),o.setHasM(!!n.mColumn),n.zColumn&&o.setZColumn(f(n.zColumn)),n.mColumn&&o.setMColumn(f(n.mColumn)),t.setOptmizationZ(o)}if("xz"===n.type){const o=s(e,n.geometryType),r=e.DisplayOptimizationXZBuilder.new();r.setCodeField(f(n.code)),r.setEncoding(n.encoding),r.setFullExtent(n.fullExtent),r.setGeometryType(o),r.setSpatialReference(n.wkid,null==n.wkid?n.wkt:void 0),r.setMaxLevel(n.maxLevel),r.setHasZ(n.hasZ??!1),r.setHasM(n.hasM??!1);for(const t of n.levels??[]){const n=new Float64Array(t.transform.translate),o=new Float64Array(t.transform.scale),i=f(t.column);r.addLevel(e.MultiscaleGeometryField.new(t.level,t.resolution,i,n,o))}t.setOptmizationXZ(r)}}return t}async function c(n,t){const o=await r(),i=t.geometryInfo?m(o,t.geometryInfo):null,l=t.provider.fetchRange.bind(t.provider),u=t.provider.fetchLength.bind(t.provider);try{return await o.ParquetFile.fromUrl(n,l,u,i)}catch(s){throw new e("parquet","Failed to parse file",{error:s})}}function p(e){const n=e.keyValueMetadata("geo");return null!=n?JSON.parse(n):null}function y(n){if(n.keyValueMetadata("esri"))throw new e("parquet:unsupported","File was created using an unsupported experimental display index. Please regenerate the file.");const t=n.keyValueMetadata("geodisplay");if(null!=t){return{present:!0,optimization:d({index:JSON.parse(t)})}}const o=n.keyValueMetadata("org.apache.spark.sql.parquet.row.metadata");if(null!=o){const e=JSON.parse(o);for(const n of e.fields)if(null!=n.metadata&&w(n.metadata)){if(!h(n.metadata))return i().warn("parquet:protocol-violation","Ignoring display optimization, found invalid column path",{index:n.metadata}),{present:!0,optimization:null};const e=g(n.metadata,n.name);return null==e?(i().warn("parquet:protocol-violation","Ignoring display optimization, Spark display column paths must be non-empty strings",{index:n.metadata}),{present:!0,optimization:null}):{present:!0,optimization:d({index:e})}}}return{present:!1,optimization:null}}function d(e){if(!h(e.index))return i().warn("parquet:protocol-violation","Ignoring display optimization, found invalid column path",{index:e.index}),null;if("xz"===e.index.type&&(e.index.geometryType=E(e.index.geometryType),"esri-pbf"===e.index.encoding&&(e.index.encoding="esriPBF"),"esriPBF"!==e.index.encoding))return i().warn("parquet:unsupported",`Encoding for display index must be of type esriPBF, but found ${e.index.encoding}`),null;const{xmin:n,ymin:t,xmax:o,ymax:r}=e.index.fullExtent;return Number.isFinite(n)&&Number.isFinite(t)&&Number.isFinite(o)&&Number.isFinite(r)?e:(i().warn("parquet:protocol-violation","Ignoring display optimization, found bad extent",{index:e.index}),null)}function f(e){return Array.isArray(e)?e.join("."):e}function g(e,n){if("z"===e.type){const t=x(e.code,n),o=x(e.xColumn,n),r=x(e.yColumn,n),i=null==e.zColumn?e.zColumn:x(e.zColumn,n),l=null==e.mColumn?e.mColumn:x(e.mColumn,n);return null==t||null==o||null==r||null===i||null===l?null:{...e,code:t,xColumn:o,yColumn:r,...null==i?{}:{zColumn:i},...null==l?{}:{mColumn:l}}}const t=x(e.code,n),o=[];for(const r of e.levels){const e=x(r.column,n);if(null==e)return null;o.push({...r,column:e})}return null==t?null:{...e,code:t,levels:o}}function x(e,n){return"string"==typeof e&&e.length>0?[n,e]:null}function w(e){return"object"==typeof e&&null!=e&&"type"in e&&("z"===e.type||"xz"===e.type)}function h(e){return"z"===e.type?C(e.code)&&C(e.xColumn)&&C(e.yColumn)&&(null==e.zColumn||C(e.zColumn))&&(null==e.mColumn||C(e.mColumn)):C(e.code)&&Array.isArray(e.levels)&&e.levels.every(e=>"object"==typeof e&&null!=e&&"column"in e&&C(e.column))}function C(e){return"string"==typeof e&&e.length>0||Array.isArray(e)&&2===e.length&&e.every(e=>"string"==typeof e&&e.length>0)}function z(e){if(null==e)return null;const n=e.ordering,t=e.lod;if(null==n&&null==t)return null;if("xz"!==n?.type||null==t||n.geometry_column!==e.primary_column||t.geometry_column!==e.primary_column||n.geometry_column!==t.geometry_column||20!==n.max_level||!G(n.extent)||"pbf"!==t.encoding)return M(e,"ordering and lod must form a valid primary-column XZ pair");const o=e.columns[e.primary_column],r=v(o);if(null==r||!F(t.orientation,r.geometryType))return M(e,"geometry type, dimensions, or LOD orientation is invalid");const i=k(t.levels),l=R(o)?.wkid;if(null==i||null==l)return M(e,"LOD levels or spatial reference is invalid");const[u,s,a,m]=n.extent;return{index:{type:"xz",code:"geokey",wkid:l,wkt:null,encoding:"esriPBF",fullExtent:{xmin:u,ymin:s,xmax:a,ymax:m},geometryType:r.geometryType,maxLevel:n.max_level,hasZ:r.hasZ,hasM:r.hasM,levels:i}}}function M(e,n){return i().warn("parquet:protocol-violation",`Ignoring GeoParquet ordering and LOD extensions: ${n}`,{lod:e.lod,ordering:e.ordering}),null}function v(e){if(null==e||0===e.geometry_types.length)return null;let n,t;for(const o of e.geometry_types){const e=/^(LineString|MultiLineString|Polygon|MultiPolygon)(?: (Z|M|ZM))?$/.exec(o);if(null==e)return null;const r="LineString"===e[1]||"MultiLineString"===e[1]?"polyline":"polygon";if(null!=n&&n!==r||null!=t&&t!==(e[2]??""))return null;n=r,t=e[2]??""}return null==n||null==t?null:{geometryType:n,hasZ:"Z"===t||"ZM"===t,hasM:"M"===t||"ZM"===t}}function F(e,n){return"polygon"===n?"clockwise"===e:null==e}function k(e){if(!Array.isArray(e)||0===e.length)return null;const n=new Set,t=e.slice().sort((e,n)=>n.resolution-e.resolution),o=[];for(const[r,i]of t.entries()){if(!P(i.column)||!Number.isFinite(i.resolution)||i.resolution<=0||n.has(i.resolution)||!b(i.transform))return null;n.add(i.resolution),o.push({column:i.column,level:r,resolution:i.resolution,transform:i.transform})}return o}function P(e){return Array.isArray(e)&&2===e.length&&"geolod"===e[0]&&"string"==typeof e[1]&&e[1].length>0}function b(e){return Z(e?.scale,!0)&&Z(e?.translate,!1)}function Z(e,n){return Array.isArray(e)&&4===e.length&&e.every(e=>"number"==typeof e&&Number.isFinite(e)&&(!n||e>0))}function G(e){return Z(e,!1)&&e[0]<e[2]&&e[1]<e[3]}function T(e){q(e);const n=L(e),t=p(e),o=y(e),r=o.present?o.optimization:z(t),i=S(t,n),{hasZ:l,hasM:u}=A(t,r);let s,a;if(i)switch(i.type){case"location":a={wkid:4326},s="esriGeometryPoint";break;case"wkb":if(t){const e=t.primary_column,n=t.columns[e];s=N(n),a=R(n)}}if(r){const e=r.index;!a&&e.wkid&&(a={wkid:e.wkid}),s||(s="z"===e.type?"esriGeometryPoint":I(e.geometryType))}return{geoMetadata:t,displayOptimization:r,hasZ:l,hasM:u,geometryEncoding:i,geometryInfo:a&&s?{geometry:i?{geometryType:s,spatialReference:a,encoding:i}:null,displayOptimization:r}:null,geometryType:s,spatialReference:a,extent:$(t,r,a),fields:n}}function q(n){for(const t of n.compressionCodecs())if(!l.has(t))throw new e("parquet:unsupported",`Compression codec ${t} is unsupported. Must be of type ${Array.from(l).join(",")}`)}function L(e){return e.fields(!1).map(e=>({name:e.name,alias:e.name,type:e.type}))}function S(e,n){if(null!=e){const n=e.primary_column;return{type:"wkb",field:n,orientation:"counterclockwise"===e.columns[n].orientation?"counter-clockwise":null}}const t=_(n.filter(e=>u.has(e.type)).map(e=>e.name));return t.latitudeFieldName&&t.longitudeFieldName?{type:"location",xField:t.longitudeFieldName,yField:t.latitudeFieldName}:null}function _(e){const n=e.map(e=>e.toLowerCase());return{longitudeFieldName:e[n.indexOf(o.find(e=>n.includes(e)))],latitudeFieldName:e[n.indexOf(t.find(e=>n.includes(e)))]}}function N(n){const{geometry_types:t}=n,o=new Set;for(const e of t){const n=O(e);n&&o.add(n)}if(o.size>1)throw new e("parquet:unsupported","Parquet mixed geometry types are not supported",{geometryTypes:o});return 1===o.size?o.values().next().value:void 0}function O(e){switch(e.replace(/ (?:Z|M|ZM)$/u,"")){case"Point":return"esriGeometryPoint";case"Polygon":case"MultiPolygon":return"esriGeometryPolygon";case"LineString":case"MultiLineString":return"esriGeometryPolyline";case"MultiPoint":return"esriGeometryMultipoint";default:return null}}function A(e,n){const t=n?.index;if("z"===t?.type)return{hasZ:null!=t.zColumn,hasM:null!=t.mColumn};if("xz"===t?.type)return{hasZ:!0===t.hasZ,hasM:!0===t.hasM};const o=e?.columns[e.primary_column]?.geometry_types??[];return{hasZ:o.some(e=>/ (?:Z|ZM)$/u.test(e)),hasM:o.some(e=>/ (?:M|ZM)$/u.test(e))}}function I(e){switch(e){case"polygon":return"esriGeometryPolygon";case"polyline":return"esriGeometryPolyline";case"multipoint":return"esriGeometryMultipoint"}}function E(n){switch(n.toLowerCase()){case"polygon":return"polygon";case"polyline":return"polyline";case"multipoint":return"multipoint";default:throw new e("parquet:unsupported",`Geometry type ${n} is unsupported`)}}function R(e){const n=e.crs?.id?.code;return"number"==typeof n?{wkid:n}:"OGC"===e.crs?.id?.authority&&"CRS84"===n?{wkid:4326}:void 0}function $(e,n,t){if(!t)return null;const o=e?e.columns[e.primary_column]:null,r=o?.bbox;if(r?.every(e=>Number.isFinite(e)))switch(r.length){case 4:return{xmin:r[0],ymin:r[1],xmax:r[2],ymax:r[3],spatialReference:t};case 6:return{xmin:r[0],ymin:r[1],xmax:r[3],ymax:r[4],spatialReference:t};default:i().warn("parquet:protocol-violation","Invalid Geoparquet file. BoundingBox size must be 4 or 6.",{geoMetadata:e})}const l=n?.index.fullExtent;return l?{...l,spatialReference:t}:null}export{c as createParquetFile,f as normalizeColumnPath,p as readGeoMetadata,T as readMetadata};
|
|
@@ -39,7 +39,7 @@ export default class CircuitExportJobInfo extends ExportCircuitsResult {
|
|
|
39
39
|
/**
|
|
40
40
|
* Sends a request for the current state of this job.
|
|
41
41
|
*
|
|
42
|
-
* @param requestOptions - Additional
|
|
42
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
43
43
|
* (will override requestOptions defined during construction).
|
|
44
44
|
* @returns When resolved, returns a [CircuitExportJobInfo](https://developers.arcgis.com/javascript/latest/references/core/networks/support/CircuitExportJobInfo/).
|
|
45
45
|
*/
|
|
@@ -39,7 +39,7 @@ export default class CircuitVerifyJobInfo extends VerifyCircuitsResult {
|
|
|
39
39
|
/**
|
|
40
40
|
* Sends a request for the current state of this job.
|
|
41
41
|
*
|
|
42
|
-
* @param requestOptions - Additional
|
|
42
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
43
43
|
* (will override requestOptions defined during construction).
|
|
44
44
|
* @returns When resolved, returns a [CircuitVerifyJobInfo](https://developers.arcgis.com/javascript/latest/references/core/networks/support/CircuitVerifyJobInfo/).
|
|
45
45
|
*/
|
|
@@ -36,7 +36,7 @@ export default class TopologyValidationJobInfo extends ValidateNetworkTopologyRe
|
|
|
36
36
|
/**
|
|
37
37
|
* Sends a request for the current state of this job.
|
|
38
38
|
*
|
|
39
|
-
* @param requestOptions - Additional
|
|
39
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
40
40
|
* (will override requestOptions defined during construction).
|
|
41
41
|
* @returns When resolved, returns a [TopologyValidationJobInfo](https://developers.arcgis.com/javascript/latest/references/core/networks/support/TopologyValidationJobInfo/).
|
|
42
42
|
* @example
|
|
@@ -47,7 +47,7 @@ export default class TraceJobInfo extends TraceResult {
|
|
|
47
47
|
/**
|
|
48
48
|
* Sends a request for the current state of this job.
|
|
49
49
|
*
|
|
50
|
-
* @param requestOptions - Additional
|
|
50
|
+
* @param requestOptions - Additional options to be used for the data request
|
|
51
51
|
* (will override requestOptions defined during construction).
|
|
52
52
|
* @returns When resolved, returns a [TraceJobInfo](https://developers.arcgis.com/javascript/latest/references/core/networks/support/TraceJobInfo/).
|
|
53
53
|
* @example
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/core",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.65",
|
|
4
4
|
"description": "ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@amcharts/amcharts5": "~5.20.0",
|
|
23
|
-
"@arcgis/toolkit": "^5.2.0-next.
|
|
23
|
+
"@arcgis/toolkit": "^5.2.0-next.61",
|
|
24
24
|
"@esri/arcgis-html-sanitizer": "~4.1.0",
|
|
25
25
|
"@esri/calcite-components": "^5.1.1",
|
|
26
26
|
"@vaadin/grid": "~25.2.6",
|
package/portal/jsonTypes.d.ts
CHANGED
|
@@ -482,7 +482,7 @@ export type GroupState = "collapsed" | "expanded";
|
|
|
482
482
|
export type TextFormatType = "plain-text" | "markdown";
|
|
483
483
|
|
|
484
484
|
/** @since 5.0 */
|
|
485
|
-
export type FormExpressionReturnType = "boolean" | "date" | "number" | "string";
|
|
485
|
+
export type FormExpressionReturnType = "boolean" | "date" | "dictionary" | "number" | "string";
|
|
486
486
|
|
|
487
487
|
/** @since 5.0 */
|
|
488
488
|
export type TableElementType = "group" | "field" | "attachment" | "relationship";
|
|
@@ -28,7 +28,7 @@ import type { RequestOptions } from "../request/types.js";
|
|
|
28
28
|
*
|
|
29
29
|
* @param url - URL to the ArcGIS Server REST resource that represents a network analysis service.
|
|
30
30
|
* @param params - Defines the parameters of the closest facility analysis.
|
|
31
|
-
* @param requestOptions - Additional
|
|
31
|
+
* @param requestOptions - Additional options to be used for the data request.
|
|
32
32
|
* @returns When resolved, returns an instance of [ClosestFacilitySolveResult](https://developers.arcgis.com/javascript/latest/references/core/rest/support/ClosestFacilitySolveResult/).
|
|
33
33
|
* @example
|
|
34
34
|
* solve(url, params).then(function(solveResult){
|
package/rest/find.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export interface FindResults {
|
|
|
37
37
|
*
|
|
38
38
|
* @param url - URL to the ArcGIS Server REST resource that represents a map service.
|
|
39
39
|
* @param parameters - Specifies the layers and fields that are used for the search.
|
|
40
|
-
* @param requestOptions - Additional
|
|
40
|
+
* @param requestOptions - Additional options to be used for the data request.
|
|
41
41
|
* @example
|
|
42
42
|
* let parameters = new FindParameters({
|
|
43
43
|
* layerIds: [0],
|