uomtiles 0.1.2 → 0.1.4

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.
Files changed (305) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/7KYNy7kZ.js +1 -0
  3. package/.output/public/_nuxt/7Rgc2iDI2.js +1 -0
  4. package/.output/public/_nuxt/BA52uD81.js +1 -0
  5. package/.output/public/_nuxt/{CU486JdV2.js → BHSn2vP72.js} +2 -2
  6. package/.output/public/_nuxt/BRsHq3Fz2.js +1 -0
  7. package/.output/public/_nuxt/Bh2Uv1S7.js +1 -0
  8. package/.output/public/_nuxt/BiRI-vq-.js +1 -0
  9. package/.output/public/_nuxt/{DaQqwE3R.js → BndUkSHF.js} +44 -44
  10. package/.output/public/_nuxt/Bpc1HTfh.js +1 -0
  11. package/.output/public/_nuxt/C-b4mqsD.js +1 -0
  12. package/.output/public/_nuxt/C5Y76DD6.js +1 -0
  13. package/.output/public/_nuxt/CD84FXNW.js +1 -0
  14. package/.output/public/_nuxt/CGkIG2vL2.js +1 -0
  15. package/.output/public/_nuxt/CM9IbYJz.js +1 -0
  16. package/.output/public/_nuxt/CUJ4QmLF.js +1 -0
  17. package/.output/public/_nuxt/CUQ3MZqI.js +1 -0
  18. package/.output/public/_nuxt/CVwoxklV.js +1 -0
  19. package/.output/public/_nuxt/CeHZqNQ0.js +1 -0
  20. package/.output/public/_nuxt/CkfS_Wbu.js +3 -0
  21. package/.output/public/_nuxt/CoPjdBwX.js +1 -0
  22. package/.output/public/_nuxt/CxkDmpVY.js +1 -0
  23. package/.output/public/_nuxt/CzRdWh7s2.js +1 -0
  24. package/.output/public/_nuxt/D-IOtyQX.js +1 -0
  25. package/.output/public/_nuxt/D3Us7gX72.js +1 -0
  26. package/.output/public/_nuxt/DLIy3f3M.js +1 -0
  27. package/.output/public/_nuxt/{CovBj6WN.js → DQ8r1OSk.js} +1 -1
  28. package/.output/public/_nuxt/D_9SjQFe.js +1 -0
  29. package/.output/public/_nuxt/D_Ggu6R_2.js +1 -0
  30. package/.output/public/_nuxt/{Q79ec-Ro.js → DnVJUY7B.js} +1 -1
  31. package/.output/public/_nuxt/{Bd1EvHmY.js → DuGgjt-h2.js} +1 -1
  32. package/.output/public/_nuxt/GEOST6As.js +1 -0
  33. package/.output/public/_nuxt/{DpIPeY5m.js → GqgcWtrL.js} +1 -1
  34. package/.output/public/_nuxt/{0hm88Oke.js → Hbp_Okvs.js} +1 -1
  35. package/.output/public/_nuxt/JdUwgqKv.js +1 -0
  36. package/.output/public/_nuxt/KttxEAyP2.js +1 -0
  37. package/.output/public/_nuxt/L0GXeO1Y2.js +1 -0
  38. package/.output/public/_nuxt/builds/latest.json +1 -1
  39. package/.output/public/_nuxt/builds/meta/78b9349b-da32-49d9-b6c7-85727e6d8129.json +1 -0
  40. package/.output/public/_nuxt/entry.U-KS0GEu.css +1 -0
  41. package/.output/public/_nuxt/maplibre-gl-worker-BtpYDTzw.js +11 -0
  42. package/.output/public/_nuxt/sMWyPZfC2.js +1 -0
  43. package/.output/public/_nuxt/zUWhKXtw2.js +1 -0
  44. package/.output/server/chunks/_/antigravity-nfz.mjs +629 -0
  45. package/.output/server/chunks/_/antigravity-nfz.mjs.map +1 -0
  46. package/.output/server/chunks/_/config.mjs +1 -1
  47. package/.output/server/chunks/_/file-workspace.mjs +1 -1
  48. package/.output/server/chunks/_/map-layer-update-manager.mjs +770 -0
  49. package/.output/server/chunks/_/map-layer-update-manager.mjs.map +1 -0
  50. package/.output/server/chunks/_/map-service.mjs +1 -1
  51. package/.output/server/chunks/_/uom-auth.mjs +1 -1
  52. package/.output/server/chunks/build/{CompletedTaskSelect-CKTpyHS3.mjs → CompletedTaskSelect-Ba03kTs9.mjs} +6 -7
  53. package/.output/server/chunks/build/{CompletedTaskSelect-CKTpyHS3.mjs.map → CompletedTaskSelect-Ba03kTs9.mjs.map} +1 -1
  54. package/.output/server/chunks/build/{Empty-BGIn09cL.mjs → Empty-CKvANuoV.mjs} +4 -103
  55. package/.output/server/chunks/build/Empty-CKvANuoV.mjs.map +1 -0
  56. package/.output/server/chunks/build/{FormField-DnJWfrKE.mjs → FormField-BJHVyy1m.mjs} +4 -35
  57. package/.output/server/chunks/build/FormField-BJHVyy1m.mjs.map +1 -0
  58. package/.output/server/chunks/build/{Input-AdlINKtJ.mjs → Input-DnAric-z.mjs} +1 -1
  59. package/.output/server/chunks/build/{Input-AdlINKtJ.mjs.map → Input-DnAric-z.mjs.map} +1 -1
  60. package/.output/server/chunks/build/MapLayerControl-DpNmYvcU.mjs +5720 -0
  61. package/.output/server/chunks/build/MapLayerControl-DpNmYvcU.mjs.map +1 -0
  62. package/.output/server/chunks/build/{Modal-CozaqIp1.mjs → Modal-BLhN9Eg2.mjs} +4 -18
  63. package/.output/server/chunks/build/{Modal-CozaqIp1.mjs.map → Modal-BLhN9Eg2.mjs.map} +1 -1
  64. package/.output/server/chunks/build/{OnlineMap-cFSicmkV.mjs → OnlineMap-B-sCfHkC.mjs} +6 -3
  65. package/.output/server/chunks/build/OnlineMap-B-sCfHkC.mjs.map +1 -0
  66. package/.output/server/chunks/build/{Pagination-GvNCxmOW.mjs → Pagination-CUzoLc_-.mjs} +1 -1
  67. package/.output/server/chunks/build/{Pagination-GvNCxmOW.mjs.map → Pagination-CUzoLc_-.mjs.map} +1 -1
  68. package/.output/server/chunks/build/Skeleton-CHp-GjOx.mjs +59 -0
  69. package/.output/server/chunks/build/Skeleton-CHp-GjOx.mjs.map +1 -0
  70. package/.output/server/chunks/build/{Slider-zQx1c7hB.mjs → Slider-CrIUK3pl.mjs} +5 -5
  71. package/.output/server/chunks/build/{Slider-zQx1c7hB.mjs.map → Slider-CrIUK3pl.mjs.map} +1 -1
  72. package/.output/server/chunks/build/{MapBaseLayerTabs-CRl5Zwlr.mjs → Tabs-cdLsZZoL.mjs} +429 -931
  73. package/.output/server/chunks/build/Tabs-cdLsZZoL.mjs.map +1 -0
  74. package/.output/server/chunks/build/{Tooltip-DNUdH4oF.mjs → Tooltip-DExIlyhu.mjs} +4 -195
  75. package/.output/server/chunks/build/Tooltip-DExIlyhu.mjs.map +1 -0
  76. package/.output/server/chunks/build/{advanced-5ZGMUBqC.mjs → advanced-DaSpS8Px.mjs} +31 -34
  77. package/.output/server/chunks/build/advanced-DaSpS8Px.mjs.map +1 -0
  78. package/.output/server/chunks/build/{compare-CtgF4Anj.mjs → compare-DaE10Dhp.mjs} +56 -37
  79. package/.output/server/chunks/build/compare-DaE10Dhp.mjs.map +1 -0
  80. package/.output/server/chunks/build/cookie-CziAmOf1.mjs +175 -0
  81. package/.output/server/chunks/build/cookie-CziAmOf1.mjs.map +1 -0
  82. package/.output/server/chunks/build/{dashboard-GneN-WPG.mjs → dashboard-Dq8mphss.mjs} +12 -6
  83. package/.output/server/chunks/build/{dashboard-GneN-WPG.mjs.map → dashboard-Dq8mphss.mjs.map} +1 -1
  84. package/.output/server/chunks/build/{details-CgufnL1d.mjs → details-DCNvSBgn.mjs} +5 -4
  85. package/.output/server/chunks/build/{details-CgufnL1d.mjs.map → details-DCNvSBgn.mjs.map} +1 -1
  86. package/.output/server/chunks/build/error-404-D9aQjJRn.mjs +1 -1
  87. package/.output/server/chunks/build/error-500-BNyA3wrb.mjs +1 -1
  88. package/.output/server/chunks/build/file-workspace-DMzPuPyG.mjs +104 -0
  89. package/.output/server/chunks/build/file-workspace-DMzPuPyG.mjs.map +1 -0
  90. package/.output/server/chunks/build/{interval-9B2MrM2e.mjs → interval-i5OZnTaK.mjs} +2 -2
  91. package/.output/server/chunks/build/{interval-9B2MrM2e.mjs.map → interval-i5OZnTaK.mjs.map} +1 -1
  92. package/.output/server/chunks/build/layers-50nqoWES.mjs +553 -0
  93. package/.output/server/chunks/build/layers-50nqoWES.mjs.map +1 -0
  94. package/.output/server/chunks/build/{login-Cf5EiCE4.mjs → login-BHSHtO-R.mjs} +6 -5
  95. package/.output/server/chunks/build/{login-Cf5EiCE4.mjs.map → login-BHSHtO-R.mjs.map} +1 -1
  96. package/.output/server/chunks/build/map-layers-C3HJoCLw.mjs +86 -0
  97. package/.output/server/chunks/build/map-layers-C3HJoCLw.mjs.map +1 -0
  98. package/.output/server/chunks/build/{DashboardSidebarToggle-CUI9NSow.mjs → overlay-BS4_B29H.mjs} +411 -4
  99. package/.output/server/chunks/build/overlay-BS4_B29H.mjs.map +1 -0
  100. package/.output/server/chunks/build/pages-5yYRS5nX.mjs +37 -0
  101. package/.output/server/chunks/build/pages-5yYRS5nX.mjs.map +1 -0
  102. package/.output/server/chunks/build/{pages-0c5sp_lv.mjs → pages-DfOPr0fC.mjs} +21 -21
  103. package/.output/server/chunks/build/pages-DfOPr0fC.mjs.map +1 -0
  104. package/.output/server/chunks/build/{services-BB49kSpd.mjs → services-DWlDpsbi.mjs} +45 -41
  105. package/.output/server/chunks/build/{services-BB49kSpd.mjs.map → services-DWlDpsbi.mjs.map} +1 -1
  106. package/.output/server/chunks/build/{tasks-BRcMLuRW.mjs → tasks-4b6D39Uy.mjs} +44 -100
  107. package/.output/server/chunks/build/{tasks-BRcMLuRW.mjs.map → tasks-4b6D39Uy.mjs.map} +1 -1
  108. package/.output/server/chunks/build/{tasks-Aa8PwjVL.mjs → tasks-BPPx2UMG.mjs} +10 -6
  109. package/.output/server/chunks/build/tasks-BPPx2UMG.mjs.map +1 -0
  110. package/.output/server/chunks/nitro/nitro.mjs +309 -250
  111. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs +29 -0
  112. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.get.mjs.map +1 -0
  113. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs +31 -0
  114. package/.output/server/chunks/routes/api/map/layers/_overlayLayer/update.post.mjs.map +1 -0
  115. package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs +39 -0
  116. package/.output/server/chunks/routes/api/map/layers/_overlayLayer_.get.mjs.map +1 -0
  117. package/.output/server/chunks/routes/api/map/layers/status.get.mjs +60 -0
  118. package/.output/server/chunks/routes/api/map/layers/status.get.mjs.map +1 -0
  119. package/.output/server/chunks/routes/api/map/live/status.get.mjs +1 -1
  120. package/.output/server/chunks/routes/api/map/online/_layerGroup/_zoom/_tileX/_tileY_.get.mjs +1 -1
  121. package/.output/server/chunks/routes/api/map/online-root/_layerGroup/_rootX/_rootY_.get.mjs +1 -1
  122. package/.output/server/chunks/routes/api/workspace/_filename/analysis.get.mjs +1 -1
  123. package/.output/server/chunks/routes/api/workspace/_filename/download.get.mjs +1 -1
  124. package/.output/server/chunks/routes/api/workspace/_filename/export/_format_.get.mjs +1 -1
  125. package/.output/server/chunks/routes/api/workspace/_filename/export-estimate.get.mjs +1 -1
  126. package/.output/server/chunks/routes/api/workspace/_filename/tile.get.mjs +1 -1
  127. package/.output/server/chunks/routes/api/workspace/_filename/tiles.get.mjs +1 -1
  128. package/.output/server/chunks/routes/api/workspace/_filename_.delete.mjs +1 -1
  129. package/.output/server/chunks/routes/api/workspace/compare/batch.get.mjs +1 -1
  130. package/.output/server/chunks/routes/api/workspace/files.post.mjs +1 -1
  131. package/.output/server/chunks/routes/api/workspace/stop.post.mjs +1 -1
  132. package/.output/server/chunks/routes/api/workspace/tasks.post.mjs +2 -2
  133. package/.output/server/chunks/routes/renderer.mjs +3 -3
  134. package/.output/server/chunks/routes/services/wms.get.mjs +1 -1
  135. package/.output/server/chunks/routes/services/wmts.get.mjs +1 -1
  136. package/.output/server/chunks/virtual/entry.mjs +320 -443
  137. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  138. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  139. package/.output/server/chunks/virtual/styles.mjs +1 -1
  140. package/.output/server/node_modules/undici/index.js +234 -0
  141. package/.output/server/node_modules/undici/lib/api/abort-signal.js +59 -0
  142. package/.output/server/node_modules/undici/lib/api/api-connect.js +110 -0
  143. package/.output/server/node_modules/undici/lib/api/api-pipeline.js +252 -0
  144. package/.output/server/node_modules/undici/lib/api/api-request.js +214 -0
  145. package/.output/server/node_modules/undici/lib/api/api-stream.js +209 -0
  146. package/.output/server/node_modules/undici/lib/api/api-upgrade.js +111 -0
  147. package/.output/server/node_modules/undici/lib/api/index.js +7 -0
  148. package/.output/server/node_modules/undici/lib/api/readable.js +580 -0
  149. package/.output/server/node_modules/undici/lib/cache/memory-cache-store.js +279 -0
  150. package/.output/server/node_modules/undici/lib/cache/sqlite-cache-store.js +467 -0
  151. package/.output/server/node_modules/undici/lib/core/connect.js +153 -0
  152. package/.output/server/node_modules/undici/lib/core/constants.js +143 -0
  153. package/.output/server/node_modules/undici/lib/core/diagnostics.js +227 -0
  154. package/.output/server/node_modules/undici/lib/core/errors.js +477 -0
  155. package/.output/server/node_modules/undici/lib/core/request.js +464 -0
  156. package/.output/server/node_modules/undici/lib/core/socks5-client.js +422 -0
  157. package/.output/server/node_modules/undici/lib/core/socks5-utils.js +212 -0
  158. package/.output/server/node_modules/undici/lib/core/symbols.js +75 -0
  159. package/.output/server/node_modules/undici/lib/core/tree.js +160 -0
  160. package/.output/server/node_modules/undici/lib/core/util.js +992 -0
  161. package/.output/server/node_modules/undici/lib/dispatcher/agent.js +158 -0
  162. package/.output/server/node_modules/undici/lib/dispatcher/balanced-pool.js +219 -0
  163. package/.output/server/node_modules/undici/lib/dispatcher/client-h1.js +1731 -0
  164. package/.output/server/node_modules/undici/lib/dispatcher/client-h2.js +995 -0
  165. package/.output/server/node_modules/undici/lib/dispatcher/client.js +664 -0
  166. package/.output/server/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
  167. package/.output/server/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
  168. package/.output/server/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
  169. package/.output/server/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
  170. package/.output/server/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
  171. package/.output/server/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
  172. package/.output/server/node_modules/undici/lib/dispatcher/pool.js +118 -0
  173. package/.output/server/node_modules/undici/lib/dispatcher/proxy-agent.js +319 -0
  174. package/.output/server/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
  175. package/.output/server/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
  176. package/.output/server/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +260 -0
  177. package/.output/server/node_modules/undici/lib/encoding/index.js +33 -0
  178. package/.output/server/node_modules/undici/lib/global.js +59 -0
  179. package/.output/server/node_modules/undici/lib/handler/cache-handler.js +760 -0
  180. package/.output/server/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
  181. package/.output/server/node_modules/undici/lib/handler/decorator-handler.js +67 -0
  182. package/.output/server/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
  183. package/.output/server/node_modules/undici/lib/handler/redirect-handler.js +238 -0
  184. package/.output/server/node_modules/undici/lib/handler/retry-handler.js +418 -0
  185. package/.output/server/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
  186. package/.output/server/node_modules/undici/lib/handler/wrap-handler.js +105 -0
  187. package/.output/server/node_modules/undici/lib/interceptor/cache.js +602 -0
  188. package/.output/server/node_modules/undici/lib/interceptor/decompress.js +259 -0
  189. package/.output/server/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
  190. package/.output/server/node_modules/undici/lib/interceptor/dns.js +571 -0
  191. package/.output/server/node_modules/undici/lib/interceptor/dump.js +112 -0
  192. package/.output/server/node_modules/undici/lib/interceptor/redirect.js +21 -0
  193. package/.output/server/node_modules/undici/lib/interceptor/response-error.js +95 -0
  194. package/.output/server/node_modules/undici/lib/interceptor/retry.js +19 -0
  195. package/.output/server/node_modules/undici/lib/llhttp/constants.js +531 -0
  196. package/.output/server/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
  197. package/.output/server/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
  198. package/.output/server/node_modules/undici/lib/llhttp/utils.js +12 -0
  199. package/.output/server/node_modules/undici/lib/mock/mock-agent.js +232 -0
  200. package/.output/server/node_modules/undici/lib/mock/mock-call-history.js +248 -0
  201. package/.output/server/node_modules/undici/lib/mock/mock-client.js +68 -0
  202. package/.output/server/node_modules/undici/lib/mock/mock-errors.js +29 -0
  203. package/.output/server/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
  204. package/.output/server/node_modules/undici/lib/mock/mock-pool.js +68 -0
  205. package/.output/server/node_modules/undici/lib/mock/mock-symbols.js +32 -0
  206. package/.output/server/node_modules/undici/lib/mock/mock-utils.js +486 -0
  207. package/.output/server/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  208. package/.output/server/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
  209. package/.output/server/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
  210. package/.output/server/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
  211. package/.output/server/node_modules/undici/lib/util/cache.js +676 -0
  212. package/.output/server/node_modules/undici/lib/util/date.js +670 -0
  213. package/.output/server/node_modules/undici/lib/util/promise.js +28 -0
  214. package/.output/server/node_modules/undici/lib/util/runtime-features.js +124 -0
  215. package/.output/server/node_modules/undici/lib/util/stats.js +32 -0
  216. package/.output/server/node_modules/undici/lib/util/timers.js +425 -0
  217. package/.output/server/node_modules/undici/lib/web/cache/cache.js +864 -0
  218. package/.output/server/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
  219. package/.output/server/node_modules/undici/lib/web/cache/util.js +45 -0
  220. package/.output/server/node_modules/undici/lib/web/cookies/constants.js +12 -0
  221. package/.output/server/node_modules/undici/lib/web/cookies/index.js +199 -0
  222. package/.output/server/node_modules/undici/lib/web/cookies/parse.js +314 -0
  223. package/.output/server/node_modules/undici/lib/web/cookies/util.js +352 -0
  224. package/.output/server/node_modules/undici/lib/web/eventsource/eventsource-stream.js +399 -0
  225. package/.output/server/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
  226. package/.output/server/node_modules/undici/lib/web/eventsource/util.js +29 -0
  227. package/.output/server/node_modules/undici/lib/web/fetch/body.js +509 -0
  228. package/.output/server/node_modules/undici/lib/web/fetch/constants.js +131 -0
  229. package/.output/server/node_modules/undici/lib/web/fetch/data-url.js +596 -0
  230. package/.output/server/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
  231. package/.output/server/node_modules/undici/lib/web/fetch/formdata.js +259 -0
  232. package/.output/server/node_modules/undici/lib/web/fetch/global.js +40 -0
  233. package/.output/server/node_modules/undici/lib/web/fetch/headers.js +719 -0
  234. package/.output/server/node_modules/undici/lib/web/fetch/index.js +2413 -0
  235. package/.output/server/node_modules/undici/lib/web/fetch/request.js +1115 -0
  236. package/.output/server/node_modules/undici/lib/web/fetch/response.js +641 -0
  237. package/.output/server/node_modules/undici/lib/web/fetch/util.js +1522 -0
  238. package/.output/server/node_modules/undici/lib/web/infra/index.js +229 -0
  239. package/.output/server/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
  240. package/.output/server/node_modules/undici/lib/web/webidl/index.js +1006 -0
  241. package/.output/server/node_modules/undici/lib/web/websocket/connection.js +329 -0
  242. package/.output/server/node_modules/undici/lib/web/websocket/constants.js +126 -0
  243. package/.output/server/node_modules/undici/lib/web/websocket/events.js +331 -0
  244. package/.output/server/node_modules/undici/lib/web/websocket/frame.js +133 -0
  245. package/.output/server/node_modules/undici/lib/web/websocket/permessage-deflate.js +100 -0
  246. package/.output/server/node_modules/undici/lib/web/websocket/receiver.js +507 -0
  247. package/.output/server/node_modules/undici/lib/web/websocket/sender.js +109 -0
  248. package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
  249. package/.output/server/node_modules/undici/lib/web/websocket/stream/websocketstream.js +498 -0
  250. package/.output/server/node_modules/undici/lib/web/websocket/util.js +347 -0
  251. package/.output/server/node_modules/undici/lib/web/websocket/websocket.js +758 -0
  252. package/.output/server/node_modules/undici/package.json +152 -0
  253. package/.output/server/package.json +2 -1
  254. package/LICENSE +201 -2
  255. package/README.md +23 -34
  256. package/dist/package.json +3 -2
  257. package/dist/shared/antigravity-schema.js +45 -0
  258. package/dist/shared/dji-grid.js +62 -0
  259. package/dist/shared/types/map-layers.js +2 -0
  260. package/dist/src/cli.js +63 -5
  261. package/dist/src/core/dji-snapshot.js +135 -0
  262. package/dist/src/core/map-layer-paths.js +11 -0
  263. package/dist/src/map-layer-update.js +646 -0
  264. package/package.json +3 -2
  265. package/.output/public/_nuxt/BNfSclJ4.js +0 -1
  266. package/.output/public/_nuxt/BYzlinOr2.js +0 -1
  267. package/.output/public/_nuxt/Be4dNlar.js +0 -1
  268. package/.output/public/_nuxt/C7fHMLd7.js +0 -1
  269. package/.output/public/_nuxt/CNs_Ozdc.js +0 -1
  270. package/.output/public/_nuxt/CQ8inUdm.js +0 -1
  271. package/.output/public/_nuxt/Cc_JfSB1.js +0 -1
  272. package/.output/public/_nuxt/CyZDc0eO2.js +0 -1
  273. package/.output/public/_nuxt/CzFefJH0.js +0 -1
  274. package/.output/public/_nuxt/D-t0hXHB.js +0 -1
  275. package/.output/public/_nuxt/D3Pl7yw22.js +0 -1
  276. package/.output/public/_nuxt/D4gbGuiW.js +0 -1
  277. package/.output/public/_nuxt/DDp9lK3g.js +0 -1
  278. package/.output/public/_nuxt/DIIXHC50.js +0 -1
  279. package/.output/public/_nuxt/DWFUvzz0.js +0 -1
  280. package/.output/public/_nuxt/D_VoD6-f.js +0 -1
  281. package/.output/public/_nuxt/DfXX-x_z.js +0 -1
  282. package/.output/public/_nuxt/Dgyf2aNY.js +0 -1
  283. package/.output/public/_nuxt/GM5myUL22.js +0 -1
  284. package/.output/public/_nuxt/IC4wc76W.js +0 -1
  285. package/.output/public/_nuxt/IfL46N3Z.js +0 -1
  286. package/.output/public/_nuxt/KEU2l6zJ.js +0 -3
  287. package/.output/public/_nuxt/SEETjfdJ.js +0 -1
  288. package/.output/public/_nuxt/builds/meta/2c4adba2-91b5-44e4-91d3-50a61695207b.json +0 -1
  289. package/.output/public/_nuxt/entry.CZ_dkjcs.css +0 -1
  290. package/.output/public/_nuxt/maplibre-gl-worker.nfnkSQvL.mjs +0 -6
  291. package/.output/public/_nuxt/nGp0t_eD.js +0 -1
  292. package/.output/server/chunks/build/Alert-DHVVSgdD.mjs +0 -1074
  293. package/.output/server/chunks/build/Alert-DHVVSgdD.mjs.map +0 -1
  294. package/.output/server/chunks/build/DashboardSidebarToggle-CUI9NSow.mjs.map +0 -1
  295. package/.output/server/chunks/build/Empty-BGIn09cL.mjs.map +0 -1
  296. package/.output/server/chunks/build/FocusScope-DNZVMnza.mjs +0 -207
  297. package/.output/server/chunks/build/FocusScope-DNZVMnza.mjs.map +0 -1
  298. package/.output/server/chunks/build/FormField-DnJWfrKE.mjs.map +0 -1
  299. package/.output/server/chunks/build/MapBaseLayerTabs-CRl5Zwlr.mjs.map +0 -1
  300. package/.output/server/chunks/build/OnlineMap-cFSicmkV.mjs.map +0 -1
  301. package/.output/server/chunks/build/Tooltip-DNUdH4oF.mjs.map +0 -1
  302. package/.output/server/chunks/build/advanced-5ZGMUBqC.mjs.map +0 -1
  303. package/.output/server/chunks/build/compare-CtgF4Anj.mjs.map +0 -1
  304. package/.output/server/chunks/build/pages-0c5sp_lv.mjs.map +0 -1
  305. package/.output/server/chunks/build/tasks-Aa8PwjVL.mjs.map +0 -1
@@ -0,0 +1,152 @@
1
+ {
2
+ "name": "undici",
3
+ "version": "7.29.0",
4
+ "description": "An HTTP/1.1 client, written from scratch for Node.js",
5
+ "homepage": "https://undici.nodejs.org",
6
+ "bugs": {
7
+ "url": "https://github.com/nodejs/undici/issues"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/nodejs/undici.git"
12
+ },
13
+ "license": "MIT",
14
+ "contributors": [
15
+ {
16
+ "name": "Daniele Belardi",
17
+ "url": "https://github.com/dnlup",
18
+ "author": true
19
+ },
20
+ {
21
+ "name": "Ethan Arrowood",
22
+ "url": "https://github.com/ethan-arrowood",
23
+ "author": true
24
+ },
25
+ {
26
+ "name": "Matteo Collina",
27
+ "url": "https://github.com/mcollina",
28
+ "author": true
29
+ },
30
+ {
31
+ "name": "Matthew Aitken",
32
+ "url": "https://github.com/KhafraDev",
33
+ "author": true
34
+ },
35
+ {
36
+ "name": "Robert Nagy",
37
+ "url": "https://github.com/ronag",
38
+ "author": true
39
+ },
40
+ {
41
+ "name": "Szymon Marczak",
42
+ "url": "https://github.com/szmarczak",
43
+ "author": true
44
+ },
45
+ {
46
+ "name": "Tomas Della Vedova",
47
+ "url": "https://github.com/delvedor",
48
+ "author": true
49
+ }
50
+ ],
51
+ "keywords": [
52
+ "fetch",
53
+ "http",
54
+ "https",
55
+ "promise",
56
+ "request",
57
+ "curl",
58
+ "wget",
59
+ "xhr",
60
+ "whatwg"
61
+ ],
62
+ "main": "index.js",
63
+ "types": "index.d.ts",
64
+ "scripts": {
65
+ "build:node": "esbuild index-fetch.js --bundle --platform=node --outfile=undici-fetch.js --define:esbuildDetection=1 --keep-names && node scripts/strip-comments.js",
66
+ "build:wasm": "node build/wasm.js --docker",
67
+ "generate-pem": "node scripts/generate-pem.js",
68
+ "lint": "eslint --cache",
69
+ "lint:fix": "eslint --fix --cache",
70
+ "test": "npm run test:javascript && cross-env NODE_V8_COVERAGE= npm run test:typescript",
71
+ "test:javascript": "npm run test:javascript:no-jest && npm run test:jest",
72
+ "test:javascript:no-jest": "npm run generate-pem && npm run test:unit && npm run test:fetch && npm run test:node-fetch && npm run test:infra && npm run test:cache && npm run test:cache-interceptor && npm run test:interceptors && npm run test:cookies && npm run test:eventsource && npm run test:subresource-integrity && npm run test:wpt && npm run test:websocket && npm run test:node-test && npm run test:cache-tests",
73
+ "test:javascript:without-intl": "npm run test:javascript:no-jest",
74
+ "test:busboy": "borp --timeout 180000 -p \"test/busboy/*.js\"",
75
+ "test:cache": "borp --timeout 180000 -p \"test/cache/*.js\"",
76
+ "test:cache-interceptor": "borp --timeout 180000 -p \"test/cache-interceptor/*.js\"",
77
+ "test:cache-interceptor:sqlite": "cross-env NODE_OPTIONS=--experimental-sqlite npm run test:cache-interceptor",
78
+ "test:cookies": "borp --timeout 180000 -p \"test/cookie/*.js\"",
79
+ "test:eventsource": "npm run build:node && borp --timeout 180000 --expose-gc -p \"test/eventsource/*.js\"",
80
+ "test:fuzzing": "node test/fuzzing/fuzzing.test.js",
81
+ "test:fetch": "npm run build:node && borp --timeout 180000 --expose-gc --concurrency 1 -p \"test/fetch/*.js\" && npm run test:webidl && npm run test:busboy",
82
+ "test:subresource-integrity": "borp --timeout 180000 -p \"test/subresource-integrity/*.js\"",
83
+ "test:h2": "npm run test:h2:core && npm run test:h2:fetch",
84
+ "test:h2:core": "borp --timeout 180000 -p \"test/+(http2|h2)*.js\"",
85
+ "test:h2:fetch": "npm run build:node && borp --timeout 180000 -p \"test/fetch/http2*.js\"",
86
+ "test:infra": "borp --timeout 180000 -p \"test/infra/*.js\"",
87
+ "test:interceptors": "borp --timeout 180000 -p \"test/interceptors/*.js\"",
88
+ "test:jest": "cross-env NODE_V8_COVERAGE= jest",
89
+ "test:unit": "borp --timeout 180000 --expose-gc -p \"test/*.js\"",
90
+ "test:node-fetch": "borp --timeout 180000 -p \"test/node-fetch/**/*.js\"",
91
+ "test:node-test": "borp --timeout 180000 -p \"test/node-test/**/*.js\"",
92
+ "test:tdd": "borp --timeout 180000 --expose-gc -p \"test/*.js\"",
93
+ "test:tdd:node-test": "borp --timeout 180000 -p \"test/node-test/**/*.js\" -w",
94
+ "test:typescript": "tsd && tsc test/imports/undici-import.ts --typeRoots ./types --noEmit && tsc ./types/*.d.ts --noEmit --typeRoots ./types",
95
+ "test:webidl": "borp --timeout 180000 -p \"test/webidl/*.js\"",
96
+ "test:websocket": "borp --timeout 180000 -p \"test/websocket/**/*.js\"",
97
+ "test:websocket:autobahn": "node test/autobahn/client.js",
98
+ "test:websocket:autobahn:report": "node test/autobahn/report.js",
99
+ "test:wpt:setup": "node test/web-platform-tests/wpt-runner.mjs setup",
100
+ "test:wpt": "npm run test:wpt:setup && node test/web-platform-tests/wpt-runner.mjs run /fetch /mimesniff /xhr /websockets /serviceWorkers /eventsource",
101
+ "test:cache-tests": "node test/cache-interceptor/cache-tests.mjs --ci",
102
+ "coverage": "npm run coverage:clean && cross-env NODE_V8_COVERAGE=./coverage/tmp npm run test:javascript && npm run coverage:report",
103
+ "coverage:ci": "npm run coverage:clean && cross-env NODE_V8_COVERAGE=./coverage/tmp npm run test:javascript && npm run coverage:report:ci",
104
+ "coverage:clean": "node ./scripts/clean-coverage.js",
105
+ "coverage:report": "cross-env NODE_V8_COVERAGE= c8 report",
106
+ "coverage:report:ci": "c8 report",
107
+ "bench": "echo \"Error: Benchmarks have been moved to '/benchmarks'\" && exit 1",
108
+ "serve:website": "echo \"Error: Documentation has been moved to '/docs'\" && exit 1",
109
+ "prepare": "husky && node ./scripts/platform-shell.js"
110
+ },
111
+ "devDependencies": {
112
+ "@fastify/busboy": "3.2.0",
113
+ "@matteo.collina/tspl": "^0.2.0",
114
+ "@metcoder95/https-pem": "^1.0.0",
115
+ "@sinonjs/fake-timers": "^12.0.0",
116
+ "@types/node": "^20.19.22",
117
+ "abort-controller": "^3.0.0",
118
+ "borp": "^0.20.0",
119
+ "c8": "^10.0.0",
120
+ "cross-env": "^10.0.0",
121
+ "dns-packet": "^5.4.0",
122
+ "esbuild": "^0.27.3",
123
+ "eslint": "^9.9.0",
124
+ "fast-check": "^4.1.1",
125
+ "husky": "^9.0.7",
126
+ "jest": "^30.0.5",
127
+ "jsondiffpatch": "^0.7.3",
128
+ "neostandard": "^0.12.0",
129
+ "node-forge": "^1.3.1",
130
+ "proxy": "^2.1.1",
131
+ "tsd": "^0.33.0",
132
+ "typescript": "^6.0.2",
133
+ "ws": "^8.11.0"
134
+ },
135
+ "engines": {
136
+ "node": ">=20.18.1"
137
+ },
138
+ "tsd": {
139
+ "directory": "test/types",
140
+ "compilerOptions": {
141
+ "esModuleInterop": true,
142
+ "lib": [
143
+ "esnext"
144
+ ]
145
+ }
146
+ },
147
+ "jest": {
148
+ "testMatch": [
149
+ "<rootDir>/test/jest/**"
150
+ ]
151
+ }
152
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uomtiles-prod",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "private": true,
6
6
  "dependencies": {
@@ -28,6 +28,7 @@
28
28
  "source-map-js": "1.2.1",
29
29
  "tailwindcss": "4.3.3",
30
30
  "ufo": "1.6.4",
31
+ "undici": "7.29.0",
31
32
  "unhead": "3.3.2",
32
33
  "vue": "3.5.41",
33
34
  "vue-bundle-renderer": "2.3.2",
package/LICENSE CHANGED
@@ -1,3 +1,202 @@
1
- Copyright (c) 2026. All rights reserved.
2
1
 
3
- This package is not licensed for redistribution or modification unless a separate written license is provided.
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # UOM适飞地图
6
6
 
7
- 本地运行的 UOM 适飞空域预览、下载、对比和发布工具。每次地图下载保存为可断点续传的 `.uomtiles` SQLite 工作文件,并可导出标准 MBTiles 或 PMTiles。
7
+ 本地运行的 UOM 适飞空域预览、下载、对比和发布工具。地图任务保存在可断点续传的 `.uomtiles` 工作文件中,并可导出标准 MBTiles 或 PMTiles。
8
8
 
9
9
  ## 快速开始
10
10
 
@@ -16,15 +16,26 @@ npx uomtiles
16
16
 
17
17
  命令会启动本地 Web 工作台并打开浏览器。首次使用时通过手机号登录 UOM;凭据只写入本机 `~/.uomtiles/auth.json`,权限为 `0600`,不会写入任务文件或导出文件。
18
18
 
19
- 工作台包含五个功能:
19
+ 工作台包含六个功能:
20
20
 
21
21
  - 在线地图预览:代理 UOM 官方实时地图,不把 token 发送给浏览器。
22
22
  - 地图下载任务:创建、导入和管理 `.uomtiles` 任务;完成任务可查看和导出,未完成任务可断点续传。
23
23
  - 地图版本对比:分别选择或拖入 `.uomtiles`、`.mbtiles`、`.pmtiles`,在浏览器 Worker 中执行逐瓦片 alpha 像素 diff,并同步移动、滑块或叠加审阅。
24
24
  - 地图高级功能:选择本地地图文件后,可按当前位置和最小面积寻找多个最近的适飞区域。
25
25
  - 地图服务管理:从任务文件启用本地 WMS/WMTS 服务,并配置颜色与透明度。
26
+ - 地图图层管理:在所有地图中共享选择状态,底图可在 OSM/天地图之间单选,DJI Flysafe 与 Antigravity 可任意多选。
26
27
 
27
- 浏览器负责登录、文件选择和并行像素计算。所选文件以流式方式导入本机工作区,不会整文件读入浏览器或 Node 内存;SQLite 事务、写入 lease、抓取、动态瓦片和导出由本地 Node 核心实现,CLI 与 Nuxt 服务端复用同一套代码。
28
+ ## 地图图层数据
29
+
30
+ 叠加层使用本地快照,不依赖浏览器按缩放层级请求远端区域文件。首次在工作台启用某个叠加层时,如果本地没有数据,在“地图图层管理”的“数据源状态”中点击“下载”即可;也可以执行 `npx uomtiles map-layers-update` 下载两份数据。文件写入用户数据目录的 `map-layers/`,后续地图从本地快照读取,因此在所有缩放级别都能保持完整区域几何。
31
+
32
+ 更新按钮会检查并下载可用的区域数据,下载过程会显示进度和状态。区域数据只保存在本机用户数据目录,不会随 npm 包发布。
33
+
34
+ 发布包只包含程序和静态前端资源,不包含 DJI 或 Antigravity 区域文件。`npm pack`/`npm publish` 不会因为本地地图数据缺失而失败;用户数据目录默认是 `~/.uomtiles`(仓库开发模式默认是 `./data`)。
35
+
36
+ 项目源代码采用 Apache License 2.0;区域数据、在线地图和其他第三方服务不属于源代码许可证的授权范围,使用时请遵守相应数据源条款。
37
+
38
+ 浏览器负责登录、文件选择和地图审阅;任务文件、区域数据和导出操作均在本机完成。CLI 与 Web 工作台使用同一套本地数据目录。
28
39
 
29
40
  ## CLI
30
41
 
@@ -48,7 +59,7 @@ npx uomtiles inspect china-2026-08-21.uomtiles
48
59
  npx uomtiles export china-2026-08-21.uomtiles china.mbtiles
49
60
  npx uomtiles export china-2026-08-21.uomtiles china.pmtiles
50
61
 
51
- # 默认生成 z0-z14;也可在 z0-z18 内自定义范围
62
+ # 可指定导出范围
52
63
  npx uomtiles export china-2026-08-21.uomtiles china.mbtiles --min-zoom 6 --max-zoom 16
53
64
 
54
65
  # 可重复性检查;不一致时退出码为 2
@@ -60,23 +71,11 @@ npx uomtiles migrate legacy.mbtiles task.uomtiles
60
71
 
61
72
  PMTiles 导出调用 Protomaps `pmtiles convert`。可用 `UOMTILES_PMTILES_COMMAND` 指定命令路径。
62
73
 
63
- 发布包不依赖 `sharp`、`better-sqlite3` 或 `sqlite3` 等原生 addon。SQLite、PNG inflate/deflate 和文件操作分别使用 Node 内建的 `node:sqlite`、`node:zlib` 与 `node:fs`;PMTiles 读取使用纯 JavaScript `pmtiles` 包。PMTiles 转换器是可选的外部 CLI,只有执行 PMTiles 导出时才需要。
74
+ 发布包不依赖额外的原生数据库 addon。PMTiles 转换器是可选的外部 CLI,只有执行 PMTiles 导出时才需要。
64
75
 
65
76
  ## 文件格式
66
77
 
67
- `.uomtiles` 是 UOMTiles schema v1 SQLite 工作数据库,包含:
68
-
69
- - z9 root 事务 checkpoint、状态、重试和 heartbeat;
70
- - 从官方 z12 位图恢复的全局 `2^18` 等经纬网格矩形;
71
- - 仅 z12 物化 PNG 源瓦片;
72
- - 发布者昵称、抓取起止时间、source z12、grid level 18 和工具版本;
73
- - 审阅记录与后续局部修复扩展表。
74
-
75
- 每个 `.uomtiles` 内的 `uomtiles_leases` 表保存 writer lease。抓取、导出等写操作只锁定自己的任务文件,因此不同任务可以并行;同一任务仍然只能有一个 writer。抢占使用 `BEGIN IMMEDIATE`,运行时每 10 秒续租,默认 30 秒过期,因此进程崩溃后无需删除独立 lockfile,也不会永久阻塞续传。工作台通过扫描这些 lease 感知 CLI 后台进程,并按 lease 中的 PID 停止对应任务。
76
-
77
- `.uomtiles` 预览时从 canonical geometry 动态生成 z0-z18:z0-z8 使用四子瓦片 OR 缩小,z9-z18 直接按全局经纬网格光栅化,输出只有透明或不透明像素,不做图像插值。MBTiles/PMTiles 默认实际写入 z0-z14,也可在 z0-z18 内自定义;纯透明瓦片不会写入。PNG 使用两色调色板、1-bit 索引、自适应行 filter 和 zlib level 9,PMTiles 转换默认继续执行内容去重。
78
-
79
- 导出元信息分为两类:MBTiles/PMTiles 规范字段 `name`、`format`、`bounds`、`center`、`minzoom`、`maxzoom`、`type`、`version`、`description`、`attribution`,以及 `uomtiles:publisher`、`uomtiles:fetched_at`、`uomtiles:source_zoom`、`uomtiles:grid_level`、`uomtiles:tool_version` 五个溯源字段。手机号、session token、地图 token、任务锁和审阅记录均不会嵌入导出文件。
78
+ `.uomtiles` 是本工具使用的 SQLite 工作文件格式,支持任务状态保存、断点续传、预览、对比和导出。MBTiles/PMTiles 导出包含标准地图元数据;登录凭据和访问令牌不会写入导出文件。
80
79
 
81
80
  ## 项目结构
82
81
 
@@ -84,26 +83,14 @@ PMTiles 导出调用 Protomaps `pmtiles convert`。可用 `UOMTILES_PMTILES_COMM
84
83
  app/ Nuxt 4 客户端应用、页面、布局和浏览器 composables
85
84
  server/ Nitro API 路由与仅服务端的任务、认证、地图代理逻辑
86
85
  shared/ 浏览器与服务端共享的纯 TypeScript DTO
87
- src/ CLI 与服务端共同复用的抓取、SQLite、PNG 和导出核心
88
- core/ .uomtiles schema、SQLite lease、路径与 PNG codec
86
+ src/ CLI 与服务端共同复用的任务、地图和导出核心
89
87
  *.test.ts 单模块测试伴随源码放置;Nuxt runtime 测试使用 *.nuxt.test.ts
90
- research/ 历史逆向、旧管线和像素实验,不进入发布包
91
- data/ 本地认证、运行状态、缓存和任务文件,始终忽略提交
88
+ research/ 历史验证、旧管线和像素实验,不进入发布包
89
+ data/ 本地认证、运行状态、下载的地图数据和缓存;始终忽略提交
92
90
  ```
93
91
 
94
92
  Nuxt 使用 v4 默认 `app/` source directory;`server/` 与 `shared/` 保持根级目录。CLI 源码使用 Node 原生 TypeScript type stripping 直接开发运行,发布前由 `tsconfig.cli.json` 编译到被忽略的 `dist/`。Nuxt/Nitro 生产输出写入被忽略的 `.output/`。
95
93
 
96
- ## 抓取模型
97
-
98
- 生产抓取固定使用已验证的 z12 官方数据,不接受用户修改层级参数:
99
-
100
- 1. 按中国范围的 6030 个 z9 root 请求 z12 supertile。
101
- 2. 将透明位图矢量化为全局 `2^18` 等经纬网格上的直角矩形。
102
- 3. 每个 root 在单独 SQLite 事务内提交 geometry、checksum 和 z12 内容瓦片。
103
- 4. 全部 root 完成后只保留 z12 源瓦片;其他层级按需生成,导出时物化 z0-z14。
104
-
105
- 相邻层一次 exact 不用于推断更深层级。z12 的选择来自瑞云观及中国东南西北复杂区域的真实 z13/z14 交叉验证。
106
-
107
94
  ## 开发
108
95
 
109
96
  ```bash
@@ -123,9 +110,11 @@ pnpm build
123
110
  - `UOMTILES_PORT`:本地 Web 首选端口,默认 `4173`。
124
111
  - `UOMTILES_PMTILES_COMMAND`:PMTiles 转换命令。
125
112
  - `NUXT_TIANDITU_TOKEN`:可选的天地图开发者令牌。未配置时工作台默认使用 OSM,并禁用天地图选项;`npx uomtiles` 会读取当前目录的 `.env`。
113
+ - `NUXT_DJI_NFZ_PATH`:可选的 DJI Flysafe 外部快照路径;仅用于已有部署的显式文件覆盖。
114
+ - `NUXT_ANTIGRAVITY_NFZ_PATH`:可选的 Antigravity 外部 SQLite 快照路径;仅用于已有部署的显式文件覆盖。
126
115
 
127
116
  ## 品牌与许可
128
117
 
129
118
  产品图标使用 [Lucide `map-pinned`](https://icones.js.org/collection/lucide?s=map-pinned),通过 Iconify/Icones 获取,依照 Lucide ISC License 使用。
130
119
 
131
- 源代码版权与使用限制见 [LICENSE](LICENSE)。
120
+ 源代码采用 [Apache License 2.0](LICENSE)。本项目与第三方数据源提供方不存在隶属或背书关系。
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uomtiles",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "UOM 适飞地图预览、下载、对比与 MBTiles/PMTiles 发布工具",
5
5
  "keywords": [
6
6
  "uom",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "type": "module",
18
18
  "private": false,
19
- "license": "SEE LICENSE IN LICENSE",
19
+ "license": "Apache-2.0",
20
20
  "bin": {
21
21
  "uomtiles": "dist/src/cli.js"
22
22
  },
@@ -37,6 +37,7 @@
37
37
  "dev": "pnpm build:cli && nuxt dev",
38
38
  "build:cli": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.cli.json",
39
39
  "build": "pnpm build:cli && nuxt build",
40
+ "map-layers:update": "node --experimental-strip-types --no-warnings src/cli.ts map-layers-update",
40
41
  "test": "vitest run",
41
42
  "prepack": "pnpm build",
42
43
  "preview": "nuxt preview",
@@ -0,0 +1,45 @@
1
+ export const ANTIGRAVITY_VERSION_ROW_COLUMNS = [
2
+ 'version_code',
3
+ 'released_time',
4
+ 'expired_time',
5
+ ];
6
+ export const ANTIGRAVITY_FENCE_ROW_COLUMNS = [
7
+ 'id',
8
+ 'zone_name',
9
+ 'restriction_type',
10
+ 'lower_limit',
11
+ 'lower_reference',
12
+ 'upper_limit',
13
+ 'upper_reference',
14
+ 'is_permanent',
15
+ 'start_date_time',
16
+ 'end_date_time',
17
+ 'geometry_type',
18
+ 'center_lat',
19
+ 'center_lon',
20
+ 'radius',
21
+ 'coordinates',
22
+ 'reason',
23
+ 'message',
24
+ ];
25
+ const ANTIGRAVITY_VERSION_SCHEMA_COLUMNS = [
26
+ 'id',
27
+ ...ANTIGRAVITY_VERSION_ROW_COLUMNS,
28
+ 'is_deleted',
29
+ ];
30
+ const ANTIGRAVITY_FENCE_SCHEMA_COLUMNS = [
31
+ ...ANTIGRAVITY_FENCE_ROW_COLUMNS,
32
+ 'is_valid',
33
+ 'is_deleted',
34
+ ];
35
+ export const ANTIGRAVITY_VERSION_ROW_PROJECTION = ANTIGRAVITY_VERSION_ROW_COLUMNS.join(', ');
36
+ export const ANTIGRAVITY_FENCE_ROW_PROJECTION = ANTIGRAVITY_FENCE_ROW_COLUMNS.join(', ');
37
+ export function assertAntigravityDatabaseSchema(database) {
38
+ try {
39
+ database.prepare(`SELECT ${ANTIGRAVITY_VERSION_SCHEMA_COLUMNS.join(', ')} FROM version LIMIT 0`).all();
40
+ database.prepare(`SELECT ${ANTIGRAVITY_FENCE_SCHEMA_COLUMNS.join(', ')} FROM fences LIMIT 0`).all();
41
+ }
42
+ catch (error) {
43
+ throw new Error('Antigravity 数据库结构不兼容', { cause: error });
44
+ }
45
+ }
@@ -0,0 +1,62 @@
1
+ export const DJI_ENDPOINT = 'https://flysafe-api.dji.com/api/qep/geo/feedback/areas/in_rectangle';
2
+ export const DJI_LEVELS = '0,1,2,3,7,8,10';
3
+ export const DJI_COVERAGE = { west: -180, south: -90, east: 180, north: 90 };
4
+ export const DJI_ROW_DEGREES = 5;
5
+ export const DJI_TARGET_DIAGONAL_KM = 780;
6
+ export const DJI_OVERLAP_DEGREES = 0.01;
7
+ export const DJI_SATURATION_LIMIT = 1000;
8
+ export const DJI_MAX_SPLIT_DEPTH = 8;
9
+ export function makeDjiBaseGrid() {
10
+ const cells = [];
11
+ let row = 0;
12
+ for (let south = DJI_COVERAGE.south; south < DJI_COVERAGE.north - 1e-10; south += DJI_ROW_DEGREES, row++) {
13
+ const north = Math.min(DJI_COVERAGE.north, south + DJI_ROW_DEGREES);
14
+ const verticalKm = (north - south) * 111.2;
15
+ const horizontalKm = Math.sqrt(Math.max(1, DJI_TARGET_DIAGONAL_KM ** 2 - verticalKm ** 2));
16
+ const maxCosine = Math.max(Math.cos(south * Math.PI / 180), Math.cos(north * Math.PI / 180), 0.02);
17
+ const longitudeDegrees = Math.min(60, horizontalKm / (111.32 * maxCosine));
18
+ let column = 0;
19
+ for (let west = DJI_COVERAGE.west; west < DJI_COVERAGE.east - 1e-10; west += longitudeDegrees, column++) {
20
+ const east = Math.min(DJI_COVERAGE.east, west + longitudeDegrees);
21
+ cells.push({
22
+ id: `r${String(row).padStart(3, '0')}_c${String(column).padStart(3, '0')}`,
23
+ depth: 0,
24
+ bounds: [
25
+ Math.max(DJI_COVERAGE.west, west - DJI_OVERLAP_DEGREES),
26
+ Math.max(DJI_COVERAGE.south, south - DJI_OVERLAP_DEGREES),
27
+ Math.min(DJI_COVERAGE.east, east + DJI_OVERLAP_DEGREES),
28
+ Math.min(DJI_COVERAGE.north, north + DJI_OVERLAP_DEGREES),
29
+ ],
30
+ });
31
+ }
32
+ }
33
+ return cells;
34
+ }
35
+ export function splitDjiCell(cell) {
36
+ const [west, south, east, north] = cell.bounds;
37
+ const middleLongitude = (west + east) / 2;
38
+ const middleLatitude = (south + north) / 2;
39
+ if (middleLongitude === west || middleLongitude === east || middleLatitude === south || middleLatitude === north) {
40
+ throw new Error(`Cannot split saturated DJI cell: ${cell.id}`);
41
+ }
42
+ const quadrants = [
43
+ [west, south, middleLongitude, middleLatitude],
44
+ [middleLongitude, south, east, middleLatitude],
45
+ [west, middleLatitude, middleLongitude, north],
46
+ [middleLongitude, middleLatitude, east, north],
47
+ ];
48
+ return quadrants.map(([childWest, childSouth, childEast, childNorth], quadrant) => ({
49
+ id: cell.depth === 0 ? `${cell.id}_splitq${quadrant}` : `${cell.id}q${quadrant}`,
50
+ parentId: cell.id,
51
+ depth: cell.depth + 1,
52
+ bounds: [
53
+ Math.max(west, childWest - DJI_OVERLAP_DEGREES),
54
+ Math.max(south, childSouth - DJI_OVERLAP_DEGREES),
55
+ Math.min(east, childEast + DJI_OVERLAP_DEGREES),
56
+ Math.min(north, childNorth + DJI_OVERLAP_DEGREES),
57
+ ],
58
+ }));
59
+ }
60
+ export function djiBoundsEqual(left, right, tolerance = 1e-10) {
61
+ return left.length === 4 && right.length === 4 && left.every((value, index) => Math.abs(value - right[index]) <= tolerance);
62
+ }
@@ -0,0 +1,2 @@
1
+ export const MAP_BASE_LAYER_IDS = ['osm', 'tianditu'];
2
+ export const MAP_OVERLAY_LAYER_IDS = ['dji-nfz', 'antigravity-nfz'];