@mailwoman/spatial 11.0.0 → 11.1.0

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 (204) hide show
  1. package/README.md +1 -1
  2. package/lib/bbox.ts +3 -4
  3. package/lib/coordinate/bounds.ts +3 -4
  4. package/lib/coordinate/cell.ts +42 -0
  5. package/lib/coordinate/formats.ts +61 -5
  6. package/lib/distance.ts +5 -5
  7. package/lib/feature.ts +2 -5
  8. package/lib/gb/codepoint.ts +6 -7
  9. package/lib/gb/os-downloads.ts +6 -6
  10. package/lib/geometries/collection.ts +3 -4
  11. package/lib/geometries/line-string.ts +3 -4
  12. package/lib/geometries/point/coordinates.ts +8 -8
  13. package/lib/geometries/point/distance.ts +4 -4
  14. package/lib/geometries/point.ts +10 -17
  15. package/lib/geometries/polygon.ts +3 -6
  16. package/lib/geometries/ring-blob.ts +9 -10
  17. package/lib/geometries/round.ts +73 -0
  18. package/lib/geometries/simplify.ts +126 -0
  19. package/lib/geometries.ts +3 -4
  20. package/lib/google/place-id.ts +3 -4
  21. package/lib/google.ts +2 -5
  22. package/lib/h3/cell.ts +5 -5
  23. package/lib/h3/coverage.ts +8 -9
  24. package/lib/h3/interior-cells.ts +5 -6
  25. package/lib/h3/polygon-cells.ts +9 -10
  26. package/lib/h3.ts +2 -5
  27. package/lib/index.ts +4 -5
  28. package/lib/objects.ts +2 -5
  29. package/lib/open-location-code.ts +47 -16
  30. package/lib/osgb36.ts +2 -5
  31. package/lib/point-query.ts +294 -0
  32. package/lib/polyline.ts +9 -10
  33. package/lib/position.ts +8 -7
  34. package/lib/projection/transform.ts +36 -21
  35. package/lib/projection.ts +2 -5
  36. package/lib/regions/codes.ts +2 -5
  37. package/lib/regions/names.ts +2 -5
  38. package/lib/regions.ts +2 -5
  39. package/lib/well-known-text.ts +3 -4
  40. package/out/bbox.d.ts +0 -7
  41. package/out/bbox.d.ts.map +1 -1
  42. package/out/bbox.js +2 -4
  43. package/out/bbox.js.map +1 -1
  44. package/out/coordinate/bounds.d.ts +0 -4
  45. package/out/coordinate/bounds.d.ts.map +1 -1
  46. package/out/coordinate/bounds.js +2 -4
  47. package/out/coordinate/bounds.js.map +1 -1
  48. package/out/coordinate/cell.d.ts +23 -0
  49. package/out/coordinate/cell.d.ts.map +1 -0
  50. package/out/coordinate/cell.js +24 -0
  51. package/out/coordinate/cell.js.map +1 -0
  52. package/out/coordinate/formats.d.ts +12 -5
  53. package/out/coordinate/formats.d.ts.map +1 -1
  54. package/out/coordinate/formats.js +50 -5
  55. package/out/coordinate/formats.js.map +1 -1
  56. package/out/distance.d.ts +1 -11
  57. package/out/distance.d.ts.map +1 -1
  58. package/out/distance.js +4 -5
  59. package/out/distance.js.map +1 -1
  60. package/out/feature.d.ts +0 -5
  61. package/out/feature.d.ts.map +1 -1
  62. package/out/feature.js +2 -5
  63. package/out/feature.js.map +1 -1
  64. package/out/gb/codepoint.d.ts +1 -9
  65. package/out/gb/codepoint.d.ts.map +1 -1
  66. package/out/gb/codepoint.js +5 -7
  67. package/out/gb/codepoint.js.map +1 -1
  68. package/out/gb/os-downloads.d.ts +3 -6
  69. package/out/gb/os-downloads.d.ts.map +1 -1
  70. package/out/gb/os-downloads.js +5 -6
  71. package/out/gb/os-downloads.js.map +1 -1
  72. package/out/geometries/collection.d.ts +0 -4
  73. package/out/geometries/collection.d.ts.map +1 -1
  74. package/out/geometries/collection.js +2 -7
  75. package/out/geometries/collection.js.map +1 -1
  76. package/out/geometries/line-string.d.ts +0 -4
  77. package/out/geometries/line-string.d.ts.map +1 -1
  78. package/out/geometries/line-string.js +2 -7
  79. package/out/geometries/line-string.js.map +1 -1
  80. package/out/geometries/point/coordinates.d.ts +2 -12
  81. package/out/geometries/point/coordinates.d.ts.map +1 -1
  82. package/out/geometries/point/coordinates.js +5 -5
  83. package/out/geometries/point/coordinates.js.map +1 -1
  84. package/out/geometries/point/distance.d.ts +1 -4
  85. package/out/geometries/point/distance.d.ts.map +1 -1
  86. package/out/geometries/point/distance.js +3 -4
  87. package/out/geometries/point/distance.js.map +1 -1
  88. package/out/geometries/point.d.ts +6 -17
  89. package/out/geometries/point.d.ts.map +1 -1
  90. package/out/geometries/point.js +6 -8
  91. package/out/geometries/point.js.map +1 -1
  92. package/out/geometries/polygon.d.ts +1 -6
  93. package/out/geometries/polygon.d.ts.map +1 -1
  94. package/out/geometries/polygon.js +3 -6
  95. package/out/geometries/polygon.js.map +1 -1
  96. package/out/geometries/ring-blob.d.ts +3 -7
  97. package/out/geometries/ring-blob.d.ts.map +1 -1
  98. package/out/geometries/ring-blob.js +6 -13
  99. package/out/geometries/ring-blob.js.map +1 -1
  100. package/out/geometries/round.d.ts +25 -0
  101. package/out/geometries/round.d.ts.map +1 -0
  102. package/out/geometries/round.js +47 -0
  103. package/out/geometries/round.js.map +1 -0
  104. package/out/geometries/simplify.d.ts +22 -0
  105. package/out/geometries/simplify.d.ts.map +1 -0
  106. package/out/geometries/simplify.js +93 -0
  107. package/out/geometries/simplify.js.map +1 -0
  108. package/out/geometries.d.ts +0 -4
  109. package/out/geometries.d.ts.map +1 -1
  110. package/out/geometries.js +2 -4
  111. package/out/geometries.js.map +1 -1
  112. package/out/google/place-id.d.ts +0 -4
  113. package/out/google/place-id.d.ts.map +1 -1
  114. package/out/google/place-id.js +2 -7
  115. package/out/google/place-id.js.map +1 -1
  116. package/out/google.d.ts +0 -5
  117. package/out/google.d.ts.map +1 -1
  118. package/out/google.js +2 -5
  119. package/out/google.js.map +1 -1
  120. package/out/h3/cell.d.ts +1 -4
  121. package/out/h3/cell.d.ts.map +1 -1
  122. package/out/h3/cell.js +4 -5
  123. package/out/h3/cell.js.map +1 -1
  124. package/out/h3/coverage.d.ts +5 -9
  125. package/out/h3/coverage.d.ts.map +1 -1
  126. package/out/h3/coverage.js +7 -9
  127. package/out/h3/coverage.js.map +1 -1
  128. package/out/h3/interior-cells.d.ts +0 -8
  129. package/out/h3/interior-cells.d.ts.map +1 -1
  130. package/out/h3/interior-cells.js +4 -6
  131. package/out/h3/interior-cells.js.map +1 -1
  132. package/out/h3/polygon-cells.d.ts +6 -10
  133. package/out/h3/polygon-cells.d.ts.map +1 -1
  134. package/out/h3/polygon-cells.js +6 -8
  135. package/out/h3/polygon-cells.js.map +1 -1
  136. package/out/h3.d.ts +0 -5
  137. package/out/h3.d.ts.map +1 -1
  138. package/out/h3.js +2 -5
  139. package/out/h3.js.map +1 -1
  140. package/out/index.d.ts +2 -5
  141. package/out/index.d.ts.map +1 -1
  142. package/out/index.js +4 -5
  143. package/out/index.js.map +1 -1
  144. package/out/objects.d.ts +0 -5
  145. package/out/objects.d.ts.map +1 -1
  146. package/out/objects.js +2 -5
  147. package/out/objects.js.map +1 -1
  148. package/out/open-location-code.d.ts +14 -12
  149. package/out/open-location-code.d.ts.map +1 -1
  150. package/out/open-location-code.js +24 -9
  151. package/out/open-location-code.js.map +1 -1
  152. package/out/osgb36.d.ts +0 -5
  153. package/out/osgb36.d.ts.map +1 -1
  154. package/out/osgb36.js +2 -5
  155. package/out/osgb36.js.map +1 -1
  156. package/out/point-query.d.ts +71 -0
  157. package/out/point-query.d.ts.map +1 -0
  158. package/out/point-query.js +194 -0
  159. package/out/point-query.js.map +1 -0
  160. package/out/polyline.d.ts +1 -14
  161. package/out/polyline.d.ts.map +1 -1
  162. package/out/polyline.js +8 -10
  163. package/out/polyline.js.map +1 -1
  164. package/out/position.d.ts +3 -7
  165. package/out/position.d.ts.map +1 -1
  166. package/out/position.js +4 -8
  167. package/out/position.js.map +1 -1
  168. package/out/projection/transform.d.ts +33 -21
  169. package/out/projection/transform.d.ts.map +1 -1
  170. package/out/projection/transform.js +4 -2
  171. package/out/projection/transform.js.map +1 -1
  172. package/out/projection.d.ts +0 -5
  173. package/out/projection.d.ts.map +1 -1
  174. package/out/projection.js +2 -5
  175. package/out/projection.js.map +1 -1
  176. package/out/regions/codes.d.ts +0 -5
  177. package/out/regions/codes.d.ts.map +1 -1
  178. package/out/regions/codes.js +2 -5
  179. package/out/regions/codes.js.map +1 -1
  180. package/out/regions/names.d.ts +0 -5
  181. package/out/regions/names.d.ts.map +1 -1
  182. package/out/regions/names.js +2 -5
  183. package/out/regions/names.js.map +1 -1
  184. package/out/regions.d.ts +0 -5
  185. package/out/regions.d.ts.map +1 -1
  186. package/out/regions.js +2 -5
  187. package/out/regions.js.map +1 -1
  188. package/out/tools/ogr/stream.d.ts +0 -6
  189. package/out/tools/ogr/stream.d.ts.map +1 -1
  190. package/out/tools/ogr/stream.js +2 -3
  191. package/out/tools/ogr/stream.js.map +1 -1
  192. package/out/tools/ogr.d.ts +0 -14
  193. package/out/tools/ogr.d.ts.map +1 -1
  194. package/out/tools/ogr.js +10 -12
  195. package/out/tools/ogr.js.map +1 -1
  196. package/out/tools/tsconfig.tsbuildinfo +1 -1
  197. package/out/tsconfig.test.tsbuildinfo +1 -1
  198. package/out/well-known-text.d.ts +0 -7
  199. package/out/well-known-text.d.ts.map +1 -1
  200. package/out/well-known-text.js +2 -4
  201. package/out/well-known-text.js.map +1 -1
  202. package/package.json +5 -9
  203. package/tools/ogr/stream.ts +3 -3
  204. package/tools/ogr.ts +11 -12
@@ -1 +1 @@
1
- {"version":"7.0.2","root":["../lib/bbox.test.ts","../lib/distance.test.ts","../lib/open-location-code.test.ts","../lib/osgb36.test.ts","../lib/position.test.ts","../lib/well-known-text.test.ts","../lib/coordinate/coordinate-formats.test.ts","../lib/gb/codepoint.test.ts","../lib/geometries/point.test.ts","../lib/geometries/polygon.test.ts","../lib/geometries/point/distance.test.ts","../lib/google/place-id.test.ts","../lib/h3/cell.test.ts","../lib/h3/expand-short-cell-int.test.ts"],"packageJsons":["../../../node_modules/@googlemaps/google-maps-services-js/node_modules/axios/package.json","../../../node_modules/@googlemaps/google-maps-services-js/node_modules/retry-axios/package.json","../../../node_modules/@googlemaps/google-maps-services-js/package.json","../../../node_modules/@sister.software/h3/package.json","../../../node_modules/@types/chai/package.json","../../../node_modules/@types/deep-eql/package.json","../../../node_modules/@types/node/package.json","../../../node_modules/@vitest/browser-playwright/package.json","../../../node_modules/@vitest/coverage-v8/package.json","../../../node_modules/@vitest/mocker/package.json","../../../node_modules/@vitest/ui/package.json","../../../node_modules/agentkeepalive/package.json","../../../node_modules/assertion-error/package.json","../../../node_modules/buffer/package.json","../../../node_modules/chai/package.json","../../../node_modules/deep-eql/package.json","../../../node_modules/esbuild/package.json","../../../node_modules/events/package.json","../../../node_modules/expect-type/package.json","../../../node_modules/jiti/package.json","../../../node_modules/jsdom/package.json","../../../node_modules/path-ts/package.json","../../../node_modules/punycode/package.json","../../../node_modules/string_decoder/package.json","../../../node_modules/tagged-tag/package.json","../../../node_modules/terser/package.json","../../../node_modules/tinybench/package.json","../../../node_modules/type-fest/package.json","../../../node_modules/undici-types/package.json","../../../node_modules/vite/package.json","../../../node_modules/vitest/package.json","../../../node_modules/wkx/package.json","../../../node_modules/yaml/package.json","../../annotations/package.json","../../core/package.json","../package.json"],"missingPackageJsons":["../../../node_modules/@edge-runtime/vm/package.json","../../../node_modules/@googlemaps/google-maps-services-js/dist/geocode/package.json","../../../node_modules/@googlemaps/google-maps-services-js/dist/package.json","../../../node_modules/@googlemaps/google-maps-services-js/dist/places/package.json","../../../node_modules/@googlemaps/google-maps-services-js/dist/roads/package.json","../../../node_modules/@googlemaps/google-maps-services-js/node_modules/agentkeepalive/package.json","../../../node_modules/@googlemaps/google-maps-services-js/node_modules/retry-axios/dist/package.json","../../../node_modules/@googlemaps/google-maps-services-js/node_modules/retry-axios/dist/src/package.json","../../../node_modules/@mailwoman/core/fs/temporary/package.json","../../../node_modules/@mailwoman/core/fs/writers/package.json","../../../node_modules/@opentelemetry/api/package.json","../../../node_modules/@sister.software/h3/out/lib/api/package.json","../../../node_modules/@sister.software/h3/out/lib/package.json","../../../node_modules/@sister.software/h3/out/lib/runtime/package.json","../../../node_modules/@sister.software/h3/out/package.json","../../../node_modules/@types/assert/package.json","../../../node_modules/@types/assert/strict/package.json","../../../node_modules/@types/async_hooks/package.json","../../../node_modules/@types/child_process/package.json","../../../node_modules/@types/cluster/package.json","../../../node_modules/@types/console/package.json","../../../node_modules/@types/constants/package.json","../../../node_modules/@types/crypto/package.json","../../../node_modules/@types/dgram/package.json","../../../node_modules/@types/diagnostics_channel/package.json","../../../node_modules/@types/dns/package.json","../../../node_modules/@types/dns/promises/package.json","../../../node_modules/@types/domain/package.json","../../../node_modules/@types/events/package.json","../../../node_modules/@types/fs/package.json","../../../node_modules/@types/fs/promises/package.json","../../../node_modules/@types/http/package.json","../../../node_modules/@types/http2/package.json","../../../node_modules/@types/https/package.json","../../../node_modules/@types/inspector/package.json","../../../node_modules/@types/inspector/promises/package.json","../../../node_modules/@types/module/package.json","../../../node_modules/@types/net/package.json","../../../node_modules/@types/node/assert/package.json","../../../node_modules/@types/node/dns/package.json","../../../node_modules/@types/node/fs/package.json","../../../node_modules/@types/node/inspector/package.json","../../../node_modules/@types/node/path/package.json","../../../node_modules/@types/node/readline/package.json","../../../node_modules/@types/node/stream/package.json","../../../node_modules/@types/node/test/package.json","../../../node_modules/@types/node/timers/package.json","../../../node_modules/@types/node/util/package.json","../../../node_modules/@types/node/web-globals/package.json","../../../node_modules/@types/node/zlib/package.json","../../../node_modules/@types/os/package.json","../../../node_modules/@types/path/package.json","../../../node_modules/@types/path/posix/package.json","../../../node_modules/@types/path/win32/package.json","../../../node_modules/@types/perf_hooks/package.json","../../../node_modules/@types/process/package.json","../../../node_modules/@types/punycode/package.json","../../../node_modules/@types/querystring/package.json","../../../node_modules/@types/readline/package.json","../../../node_modules/@types/readline/promises/package.json","../../../node_modules/@types/repl/package.json","../../../node_modules/@types/stream/consumers/package.json","../../../node_modules/@types/stream/iter/package.json","../../../node_modules/@types/stream/package.json","../../../node_modules/@types/stream/promises/package.json","../../../node_modules/@types/stream/web/package.json","../../../node_modules/@types/string_decoder/package.json","../../../node_modules/@types/timers/package.json","../../../node_modules/@types/timers/promises/package.json","../../../node_modules/@types/tls/package.json","../../../node_modules/@types/trace_events/package.json","../../../node_modules/@types/tty/package.json","../../../node_modules/@types/url/package.json","../../../node_modules/@types/util/package.json","../../../node_modules/@types/util/types/package.json","../../../node_modules/@types/v8/package.json","../../../node_modules/@types/vm/package.json","../../../node_modules/@types/wasi/package.json","../../../node_modules/@types/worker_threads/package.json","../../../node_modules/@types/zlib/package.json","../../../node_modules/@vitejs/devtools/package.json","../../../node_modules/@vitest/browser-preview/package.json","../../../node_modules/@vitest/browser-webdriverio/package.json","../../../node_modules/@vitest/coverage-istanbul/package.json","../../../node_modules/@vitest/mocker/dist/package.json","../../../node_modules/assert/package.json","../../../node_modules/assert/strict/package.json","../../../node_modules/async_hooks/package.json","../../../node_modules/child_process/package.json","../../../node_modules/cluster/package.json","../../../node_modules/console/package.json","../../../node_modules/constants/package.json","../../../node_modules/crypto/package.json","../../../node_modules/dgram/package.json","../../../node_modules/diagnostics_channel/package.json","../../../node_modules/dns/package.json","../../../node_modules/dns/promises/package.json","../../../node_modules/domain/package.json","../../../node_modules/expect-type/dist/package.json","../../../node_modules/fs/package.json","../../../node_modules/fs/promises/package.json","../../../node_modules/happy-dom/package.json","../../../node_modules/http/package.json","../../../node_modules/http2/package.json","../../../node_modules/https/package.json","../../../node_modules/inspector/package.json","../../../node_modules/inspector/promises/package.json","../../../node_modules/less/package.json","../../../node_modules/module/package.json","../../../node_modules/msw/package.json","../../../node_modules/net/package.json","../../../node_modules/os/package.json","../../../node_modules/path-ts/out/lib/package.json","../../../node_modules/path-ts/out/package.json","../../../node_modules/path/package.json","../../../node_modules/path/posix/package.json","../../../node_modules/path/win32/package.json","../../../node_modules/perf_hooks/package.json","../../../node_modules/process/package.json","../../../node_modules/querystring/package.json","../../../node_modules/readline/package.json","../../../node_modules/readline/promises/package.json","../../../node_modules/repl/package.json","../../../node_modules/sass-embedded/package.json","../../../node_modules/sass/package.json","../../../node_modules/stream/consumers/package.json","../../../node_modules/stream/iter/package.json","../../../node_modules/stream/package.json","../../../node_modules/stream/promises/package.json","../../../node_modules/stream/web/package.json","../../../node_modules/stylus/package.json","../../../node_modules/sugarss/package.json","../../../node_modules/timers/package.json","../../../node_modules/timers/promises/package.json","../../../node_modules/tinybench/dist/package.json","../../../node_modules/tls/package.json","../../../node_modules/trace_events/package.json","../../../node_modules/tsx/package.json","../../../node_modules/tty/package.json","../../../node_modules/type-fest/source/internal/package.json","../../../node_modules/type-fest/source/package.json","../../../node_modules/url/package.json","../../../node_modules/util/package.json","../../../node_modules/util/types/package.json","../../../node_modules/v8/package.json","../../../node_modules/vite/dist/node/chunks/package.json","../../../node_modules/vite/dist/node/package.json","../../../node_modules/vite/dist/package.json","../../../node_modules/vite/module-runner/package.json","../../../node_modules/vite/types/package.json","../../../node_modules/vitest/dist/chunks/package.json","../../../node_modules/vitest/dist/package.json","../../../node_modules/vm/package.json","../../../node_modules/wasi/package.json","../../../node_modules/wkx/lib/package.json","../../../node_modules/worker_threads/package.json","../../../node_modules/zlib/package.json"]}
1
+ {"version":"7.0.2","root":["../lib/bbox.test.ts","../lib/distance.test.ts","../lib/open-location-code.test.ts","../lib/osgb36.test.ts","../lib/point-query.test.ts","../lib/position.test.ts","../lib/well-known-text.test.ts","../lib/coordinate/coordinate-formats.test.ts","../lib/gb/codepoint.test.ts","../lib/geometries/point.test.ts","../lib/geometries/polygon.test.ts","../lib/geometries/round.test.ts","../lib/geometries/simplify.test.ts","../lib/geometries/point/distance.test.ts","../lib/google/place-id.test.ts","../lib/h3/cell.test.ts","../lib/h3/expand-short-cell-int.test.ts"],"packageJsons":["../../../node_modules/@sister.software/h3/package.json","../../../node_modules/@types/chai/package.json","../../../node_modules/@types/deep-eql/package.json","../../../node_modules/@types/node/package.json","../../../node_modules/@vitest/browser-playwright/package.json","../../../node_modules/@vitest/coverage-v8/package.json","../../../node_modules/@vitest/mocker/package.json","../../../node_modules/@vitest/ui/package.json","../../../node_modules/assertion-error/package.json","../../../node_modules/buffer/package.json","../../../node_modules/chai/package.json","../../../node_modules/deep-eql/package.json","../../../node_modules/esbuild/package.json","../../../node_modules/events/package.json","../../../node_modules/expect-type/package.json","../../../node_modules/jiti/package.json","../../../node_modules/jsdom/package.json","../../../node_modules/path-ts/package.json","../../../node_modules/punycode/package.json","../../../node_modules/string_decoder/package.json","../../../node_modules/tagged-tag/package.json","../../../node_modules/terser/package.json","../../../node_modules/tinybench/package.json","../../../node_modules/type-fest/package.json","../../../node_modules/undici-types/package.json","../../../node_modules/vite/package.json","../../../node_modules/vitest/package.json","../../../node_modules/wkx/package.json","../../../node_modules/yaml/package.json","../../annotations/package.json","../../core/package.json","../package.json"],"missingPackageJsons":["../../../node_modules/@edge-runtime/vm/package.json","../../../node_modules/@mailwoman/core/fs/temporary/package.json","../../../node_modules/@mailwoman/core/fs/writers/package.json","../../../node_modules/@opentelemetry/api/package.json","../../../node_modules/@sister.software/h3/out/lib/api/package.json","../../../node_modules/@sister.software/h3/out/lib/package.json","../../../node_modules/@sister.software/h3/out/lib/runtime/package.json","../../../node_modules/@sister.software/h3/out/package.json","../../../node_modules/@types/assert/package.json","../../../node_modules/@types/assert/strict/package.json","../../../node_modules/@types/async_hooks/package.json","../../../node_modules/@types/child_process/package.json","../../../node_modules/@types/cluster/package.json","../../../node_modules/@types/console/package.json","../../../node_modules/@types/constants/package.json","../../../node_modules/@types/crypto/package.json","../../../node_modules/@types/dgram/package.json","../../../node_modules/@types/diagnostics_channel/package.json","../../../node_modules/@types/dns/package.json","../../../node_modules/@types/dns/promises/package.json","../../../node_modules/@types/domain/package.json","../../../node_modules/@types/events/package.json","../../../node_modules/@types/fs/package.json","../../../node_modules/@types/fs/promises/package.json","../../../node_modules/@types/http/package.json","../../../node_modules/@types/http2/package.json","../../../node_modules/@types/https/package.json","../../../node_modules/@types/inspector/package.json","../../../node_modules/@types/inspector/promises/package.json","../../../node_modules/@types/module/package.json","../../../node_modules/@types/net/package.json","../../../node_modules/@types/node/assert/package.json","../../../node_modules/@types/node/dns/package.json","../../../node_modules/@types/node/fs/package.json","../../../node_modules/@types/node/inspector/package.json","../../../node_modules/@types/node/path/package.json","../../../node_modules/@types/node/readline/package.json","../../../node_modules/@types/node/stream/package.json","../../../node_modules/@types/node/test/package.json","../../../node_modules/@types/node/timers/package.json","../../../node_modules/@types/node/util/package.json","../../../node_modules/@types/node/web-globals/package.json","../../../node_modules/@types/node/zlib/package.json","../../../node_modules/@types/os/package.json","../../../node_modules/@types/path/package.json","../../../node_modules/@types/path/posix/package.json","../../../node_modules/@types/path/win32/package.json","../../../node_modules/@types/perf_hooks/package.json","../../../node_modules/@types/process/package.json","../../../node_modules/@types/punycode/package.json","../../../node_modules/@types/querystring/package.json","../../../node_modules/@types/readline/package.json","../../../node_modules/@types/readline/promises/package.json","../../../node_modules/@types/repl/package.json","../../../node_modules/@types/stream/consumers/package.json","../../../node_modules/@types/stream/iter/package.json","../../../node_modules/@types/stream/package.json","../../../node_modules/@types/stream/promises/package.json","../../../node_modules/@types/stream/web/package.json","../../../node_modules/@types/string_decoder/package.json","../../../node_modules/@types/timers/package.json","../../../node_modules/@types/timers/promises/package.json","../../../node_modules/@types/tls/package.json","../../../node_modules/@types/trace_events/package.json","../../../node_modules/@types/tty/package.json","../../../node_modules/@types/url/package.json","../../../node_modules/@types/util/package.json","../../../node_modules/@types/util/types/package.json","../../../node_modules/@types/v8/package.json","../../../node_modules/@types/vm/package.json","../../../node_modules/@types/wasi/package.json","../../../node_modules/@types/worker_threads/package.json","../../../node_modules/@types/zlib/package.json","../../../node_modules/@vitejs/devtools/package.json","../../../node_modules/@vitest/browser-preview/package.json","../../../node_modules/@vitest/browser-webdriverio/package.json","../../../node_modules/@vitest/coverage-istanbul/package.json","../../../node_modules/@vitest/mocker/dist/package.json","../../../node_modules/assert/package.json","../../../node_modules/assert/strict/package.json","../../../node_modules/async_hooks/package.json","../../../node_modules/child_process/package.json","../../../node_modules/cluster/package.json","../../../node_modules/console/package.json","../../../node_modules/constants/package.json","../../../node_modules/crypto/package.json","../../../node_modules/dgram/package.json","../../../node_modules/diagnostics_channel/package.json","../../../node_modules/dns/package.json","../../../node_modules/dns/promises/package.json","../../../node_modules/domain/package.json","../../../node_modules/expect-type/dist/package.json","../../../node_modules/fs/package.json","../../../node_modules/fs/promises/package.json","../../../node_modules/happy-dom/package.json","../../../node_modules/http/package.json","../../../node_modules/http2/package.json","../../../node_modules/https/package.json","../../../node_modules/inspector/package.json","../../../node_modules/inspector/promises/package.json","../../../node_modules/less/package.json","../../../node_modules/module/package.json","../../../node_modules/msw/package.json","../../../node_modules/net/package.json","../../../node_modules/os/package.json","../../../node_modules/path-ts/out/lib/package.json","../../../node_modules/path-ts/out/package.json","../../../node_modules/path/package.json","../../../node_modules/path/posix/package.json","../../../node_modules/path/win32/package.json","../../../node_modules/perf_hooks/package.json","../../../node_modules/process/package.json","../../../node_modules/querystring/package.json","../../../node_modules/readline/package.json","../../../node_modules/readline/promises/package.json","../../../node_modules/repl/package.json","../../../node_modules/sass-embedded/package.json","../../../node_modules/sass/package.json","../../../node_modules/stream/consumers/package.json","../../../node_modules/stream/iter/package.json","../../../node_modules/stream/package.json","../../../node_modules/stream/promises/package.json","../../../node_modules/stream/web/package.json","../../../node_modules/stylus/package.json","../../../node_modules/sugarss/package.json","../../../node_modules/timers/package.json","../../../node_modules/timers/promises/package.json","../../../node_modules/tinybench/dist/package.json","../../../node_modules/tls/package.json","../../../node_modules/trace_events/package.json","../../../node_modules/tsx/package.json","../../../node_modules/tty/package.json","../../../node_modules/type-fest/source/internal/package.json","../../../node_modules/type-fest/source/package.json","../../../node_modules/url/package.json","../../../node_modules/util/package.json","../../../node_modules/util/types/package.json","../../../node_modules/v8/package.json","../../../node_modules/vite/dist/node/chunks/package.json","../../../node_modules/vite/dist/node/package.json","../../../node_modules/vite/dist/package.json","../../../node_modules/vite/module-runner/package.json","../../../node_modules/vite/types/package.json","../../../node_modules/vitest/dist/chunks/package.json","../../../node_modules/vitest/dist/package.json","../../../node_modules/vm/package.json","../../../node_modules/wasi/package.json","../../../node_modules/wkx/lib/package.json","../../../node_modules/worker_threads/package.json","../../../node_modules/zlib/package.json"]}
@@ -1,10 +1,3 @@
1
- /**
2
- * @copyright Sister Software.
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
- * Provides functions for parsing and converting extended Well-Known text and binary data.
7
- */
8
1
  import type { GeometryCollection, GeometryLiteral } from "#index";
9
2
  /**
10
3
  * Given an extended Well-Known Binary (ewkb) buffer, parse it into a GeoJSON geometry object.
@@ -1 +1 @@
1
- {"version":3,"file":"well-known-text.d.ts","sourceRoot":"","sources":["../lib/well-known-text.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAEjE;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,GAAG,eAAe,EAAE,uBAAuB,EAAE,MAAM,GAAG,CAAC,CAAA;AACnG;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,GAAG,eAAe,EAAE,aAAa,EAAE,MAAM,GAAG,CAAC,CAAA;AACzF;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,GAAG,eAAe,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,CAAC,CAAA;AAM1F;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,eAAe,GAAG,kBAAkB,2BAE3E;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,eAAe,GAAG,kBAAkB,2BAE5E;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,eAAe,GAAG,kBAAkB,UAE5E;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,eAAe,GAAG,kBAAkB,GAAG,MAAM,CAEpF;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,eAAe,GAAG,kBAAkB,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI,gBAM/F"}
1
+ {"version":3,"file":"well-known-text.d.ts","sourceRoot":"","sources":["../lib/well-known-text.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAEjE;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,GAAG,eAAe,EAAE,uBAAuB,EAAE,MAAM,GAAG,CAAC,CAAA;AACnG;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,GAAG,eAAe,EAAE,aAAa,EAAE,MAAM,GAAG,CAAC,CAAA;AACzF;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,CAAC,GAAG,eAAe,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,CAAC,CAAA;AAM1F;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,eAAe,GAAG,kBAAkB,2BAE3E;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,eAAe,GAAG,kBAAkB,2BAE5E;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,eAAe,GAAG,kBAAkB,UAE5E;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,eAAe,GAAG,kBAAkB,GAAG,MAAM,CAEpF;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,eAAe,GAAG,kBAAkB,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI,gBAM/F"}
@@ -1,8 +1,6 @@
1
+ // SPDX-FileCopyrightText: Teffen Ellis and Mailwoman contributors
2
+ // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
1
3
  /**
2
- * @copyright Sister Software.
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
4
  * Provides functions for parsing and converting extended Well-Known text and binary data.
7
5
  */
8
6
  import wkx from "wkx";
@@ -1 +1 @@
1
- {"version":3,"file":"well-known-text.js","sourceRoot":"","sources":["../lib/well-known-text.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,GAAG,MAAM,KAAK,CAAA;AAuBrB,MAAM,UAAU,0BAA0B,CAAsB,KAAsB;IACrF,OAAO,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,SAAS,EAAO,CAAA;AAClD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,QAA8C;IAC3E,OAAO,GAAG,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,CAAA;AACnD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,cAAc,CAAC,QAA8C;IAC5E,OAAO,GAAG,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAA;AACpD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,cAAc,CAAC,QAA8C;IAC5E,OAAO,cAAc,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;AAChD,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAAC,QAA8C;IAC3E,OAAO,GAAG,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,CAAA;AACnD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAiD,QAAkB;IAC/F,OAAO,GAAG,EAAE;QACX,IAAI,CAAC,QAAQ;YAAE,OAAO,MAAM,CAAA;QAE5B,OAAO,SAAS,CAAC,iBAAiB,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAA;IAC/D,CAAC,CAAA;AACF,CAAC"}
1
+ {"version":3,"file":"well-known-text.js","sourceRoot":"","sources":["../lib/well-known-text.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,kEAAkE;AAElE;;GAEG;AAEH,OAAO,GAAG,MAAM,KAAK,CAAA;AAuBrB,MAAM,UAAU,0BAA0B,CAAsB,KAAsB;IACrF,OAAO,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,SAAS,EAAO,CAAA;AAClD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,QAA8C;IAC3E,OAAO,GAAG,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,CAAA;AACnD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,cAAc,CAAC,QAA8C;IAC5E,OAAO,GAAG,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAA;AACpD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,cAAc,CAAC,QAA8C;IAC5E,OAAO,cAAc,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;AAChD,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAAC,QAA8C;IAC3E,OAAO,GAAG,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,CAAA;AACnD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAiD,QAAkB;IAC/F,OAAO,GAAG,EAAE;QACX,IAAI,CAAC,QAAQ;YAAE,OAAO,MAAM,CAAA;QAE5B,OAAO,SAAS,CAAC,iBAAiB,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAA;IAC/D,CAAC,CAAA;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailwoman/spatial",
3
- "version": "11.0.0",
3
+ "version": "11.1.0",
4
4
  "description": "Spatial analysis, geocoding, and other geo-related utilities.",
5
5
  "keywords": [
6
6
  "geo",
@@ -93,23 +93,19 @@
93
93
  }
94
94
  },
95
95
  "dependencies": {
96
- "@mailwoman/core": "11.0.0",
97
- "@mailwoman/postcode": "11.0.0",
96
+ "@mailwoman/core": "11.1.0",
97
+ "@mailwoman/postcode": "11.1.0",
98
98
  "@sister.software/h3": "^1.1.0",
99
+ "@types/google.maps": "^3.66.9",
99
100
  "geo-coordinates-parser": "^1.7.4",
100
101
  "path-ts": "^2.5.0",
101
102
  "spliterator": "^10.1.1",
102
103
  "wkx": "^0.5.0"
103
104
  },
104
105
  "devDependencies": {
105
- "@googlemaps/google-maps-services-js": "^3.4.2",
106
- "@mailwoman/annotations": "11.0.0",
106
+ "@mailwoman/annotations": "11.1.0",
107
107
  "type-fest": "^5.10.0"
108
108
  },
109
- "optionalDependencies": {
110
- "@googlemaps/google-maps-services-js": "^3.4.2",
111
- "@types/google.maps": "^3.66.9"
112
- },
113
109
  "engines": {
114
110
  "node": "^24.22.1 || >=26.12.1"
115
111
  }
@@ -1,7 +1,7 @@
1
+ // SPDX-FileCopyrightText: Teffen Ellis and Mailwoman contributors
2
+ // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
3
+
1
4
  /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
5
  * @file One ogr2ogr harness for every streaming extraction.
6
6
  */
7
7
 
package/tools/ogr.ts CHANGED
@@ -1,16 +1,15 @@
1
+ // SPDX-FileCopyrightText: Teffen Ellis and Mailwoman contributors
2
+ // SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
3
+
1
4
  /**
2
- * @copyright Sister Software.
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
- * What an OGR-readable source declares about itself, read before any feature is — the identity check every
7
- * polygon-layer ingest opens with.
5
+ * What an OGR-readable source declares about itself, read before any feature is —
6
+ * the identity check every polygon-layer ingest opens with.
8
7
  *
9
- * OGR is build tooling, never A serve dependency (scope invariant 6). The check refuses a source whose
10
- * declared authority code is not the one the ingest was written for, because reading one projection's
11
- * coordinates as another's is silent — and it runs the datum-transformation guard even where no shift is
12
- * needed, because skipping it on the reasoning that a source needs no shift makes the guard fire on the day
13
- * a source arrives that does.
8
+ * OGR is build tooling, never A serve dependency (scope invariant 6).
9
+ * The check refuses a source whose declared authority code isn't the one the ingest was written for,
10
+ * because reading one projection's coordinates as another's is silent — and it runs the
11
+ * datum-transformation guard even where no shift is needed, because skipping it on the reasoning
12
+ * that a source needs no shift makes the guard fire on the day a source arrives that does.
14
13
  */
15
14
 
16
15
  import { parseJSONStrict, stringifyJSON } from "@mailwoman/core/json"
@@ -104,7 +103,7 @@ const OGRINFO_MAX_BUFFER = 32 * 1024 * 1024
104
103
  /**
105
104
  * Ordinates in a 2D extent: `minLon, minLat, maxLon, maxLat`.
106
105
  *
107
- * A shorter array is a 3D or degenerate extent this reader does not understand
106
+ * A shorter array is a 3D or degenerate extent this reader doesn't understand
108
107
  * rather than a 2D one with something missing.
109
108
  */
110
109
  const EXTENT_ORDINATES = 4