@mailwoman/spatial 5.9.0 → 5.10.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.
- package/bbox.ts +3 -3
- package/coordinate-formats.test.ts +1 -1
- package/countries/codes.ts +255 -252
- package/countries/index.ts +2 -2
- package/feature.ts +1 -1
- package/geometries/collection.ts +4 -4
- package/geometries/index.ts +4 -4
- package/geometries/line-string.ts +2 -2
- package/geometries/point.ts +4 -4
- package/geometries/polygon.test.ts +1 -1
- package/geometries/polygon.ts +21 -19
- package/google/index.ts +1 -1
- package/h3/index.ts +1 -1
- package/index.ts +11 -11
- package/objects.ts +1 -1
- package/out/bbox.d.ts +2 -2
- package/out/countries/codes.d.ts +252 -251
- package/out/countries/codes.d.ts.map +1 -1
- package/out/countries/codes.js +251 -252
- package/out/countries/codes.js.map +1 -1
- package/out/countries/index.d.ts +2 -2
- package/out/feature.d.ts +1 -1
- package/out/geometries/collection.d.ts +4 -4
- package/out/geometries/index.d.ts +4 -4
- package/out/geometries/line-string.d.ts +2 -2
- package/out/geometries/point.d.ts +5 -5
- package/out/geometries/polygon.d.ts +20 -19
- package/out/geometries/polygon.d.ts.map +1 -1
- package/out/geometries/polygon.js +17 -18
- package/out/geometries/polygon.js.map +1 -1
- package/out/google/index.d.ts +1 -1
- package/out/h3/index.d.ts +1 -1
- package/out/index.d.ts +11 -11
- package/out/objects.d.ts +1 -1
- package/out/projection.d.ts +5 -4
- package/out/projection.d.ts.map +1 -1
- package/out/projection.js +4 -5
- package/out/projection.js.map +1 -1
- package/out/regions/index.d.ts +2 -2
- package/out/sdk/index.d.ts +1 -1
- package/out/tsconfig.tsbuildinfo +1 -1
- package/package.json +23 -5
- package/projection.ts +6 -4
- package/regions/codes.ts +1 -1
- package/regions/index.ts +2 -2
- package/sdk/index.ts +1 -1
- package/sdk/well-known-text.test.ts +1 -1
- package/tsconfig.json +2 -1
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
*
|
|
6
6
|
* GeoJSON Geometry Collection
|
|
7
7
|
*/
|
|
8
|
-
import type { GeoObjectLiteral } from "../objects.
|
|
9
|
-
import type { LineStringLiteral, MultiLineStringLiteral } from "./line-string.
|
|
10
|
-
import type { MultiPointLiteral, PointLiteral } from "./point.
|
|
11
|
-
import type { MultiPolygonLiteral, PolygonLiteral } from "./polygon.
|
|
8
|
+
import type { GeoObjectLiteral } from "../objects.ts";
|
|
9
|
+
import type { LineStringLiteral, MultiLineStringLiteral } from "./line-string.ts";
|
|
10
|
+
import type { MultiPointLiteral, PointLiteral } from "./point.ts";
|
|
11
|
+
import type { MultiPolygonLiteral, PolygonLiteral } from "./polygon.ts";
|
|
12
12
|
/**
|
|
13
13
|
* Union of the GeoJSON geometry types.
|
|
14
14
|
*/
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*
|
|
6
6
|
* GeoJSON Geometry Entry Point
|
|
7
7
|
*/
|
|
8
|
-
export * from "./collection.
|
|
9
|
-
export * from "./line-string.
|
|
10
|
-
export * from "./point.
|
|
11
|
-
export * from "./polygon.
|
|
8
|
+
export * from "./collection.ts";
|
|
9
|
+
export * from "./line-string.ts";
|
|
10
|
+
export * from "./point.ts";
|
|
11
|
+
export * from "./polygon.ts";
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*
|
|
6
6
|
* GeoJSON Line String
|
|
7
7
|
*/
|
|
8
|
-
import type { GeoObjectLiteral } from "../objects.
|
|
9
|
-
import type { Coordinates2D, Coordinates3D } from "../position.
|
|
8
|
+
import type { GeoObjectLiteral } from "../objects.ts";
|
|
9
|
+
import type { Coordinates2D, Coordinates3D } from "../position.ts";
|
|
10
10
|
/**
|
|
11
11
|
* An array of positions forming a line, such as a road or a path.
|
|
12
12
|
*/
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type google from "@googlemaps/google-maps-services-js";
|
|
7
7
|
import type { LatLng, LatLngLiteral } from "@googlemaps/google-maps-services-js";
|
|
8
|
-
import { type BBox2DLiteral, type BBox3DLiteral, GeoBoundingBox } from "../bbox.
|
|
9
|
-
import { type H3Cell } from "../h3/index.
|
|
10
|
-
import { type GeoObjectLiteral } from "../objects.
|
|
11
|
-
import { type InternalPointCoordinates, type Coordinates2D as Point2DCoordinates, type Coordinates3D as Point3DCoordinates } from "../position.
|
|
8
|
+
import { type BBox2DLiteral, type BBox3DLiteral, GeoBoundingBox } from "../bbox.ts";
|
|
9
|
+
import { type H3Cell } from "../h3/index.ts";
|
|
10
|
+
import { type GeoObjectLiteral } from "../objects.ts";
|
|
11
|
+
import { type InternalPointCoordinates, type Coordinates2D as Point2DCoordinates, type Coordinates3D as Point3DCoordinates } from "../position.ts";
|
|
12
12
|
/**
|
|
13
13
|
* A JSON-serializeable single point geometry, such as a specific location, address, or longitude, latitude pair.
|
|
14
14
|
*
|
|
@@ -175,7 +175,7 @@ export declare class GeoPoint implements PointLiteral {
|
|
|
175
175
|
/**
|
|
176
176
|
* Converts the GeoPoint to a H3 short cell address.
|
|
177
177
|
*/
|
|
178
|
-
toH3ShortCell(resolution?: number): import("../h3/index.
|
|
178
|
+
toH3ShortCell(resolution?: number): import("../h3/index.ts").H3CellShort;
|
|
179
179
|
toString(): string;
|
|
180
180
|
[Symbol.iterator](): Iterator<number>;
|
|
181
181
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* @license AGPL-3.0
|
|
4
4
|
* @author Teffen Ellis, et al.
|
|
5
5
|
*/
|
|
6
|
-
import type { GeoObjectLiteral } from "../objects.
|
|
7
|
-
import type { LineStringPath } from "./line-string.
|
|
6
|
+
import type { GeoObjectLiteral } from "../objects.ts";
|
|
7
|
+
import type { LineStringPath } from "./line-string.ts";
|
|
8
8
|
/**
|
|
9
9
|
* An array of positions forming a closed shape, such as a country or a lake.
|
|
10
10
|
*
|
|
@@ -129,23 +129,24 @@ export declare function polygonToOSMFilter(input: PolygonLiteral): string;
|
|
|
129
129
|
*
|
|
130
130
|
* @category OSM
|
|
131
131
|
*/
|
|
132
|
-
export declare
|
|
133
|
-
HouseNumber
|
|
134
|
-
PostCode
|
|
135
|
-
Street
|
|
136
|
-
State
|
|
137
|
-
City
|
|
138
|
-
Website
|
|
139
|
-
Email
|
|
140
|
-
Phone
|
|
141
|
-
Shop
|
|
142
|
-
Brand
|
|
143
|
-
Cuisine
|
|
144
|
-
Name
|
|
145
|
-
Healthcare
|
|
146
|
-
Office
|
|
147
|
-
Amenity
|
|
148
|
-
}
|
|
132
|
+
export declare const OSMNodeTag: {
|
|
133
|
+
readonly HouseNumber: "addr:housenumber";
|
|
134
|
+
readonly PostCode: "addr:postcode";
|
|
135
|
+
readonly Street: "addr:street";
|
|
136
|
+
readonly State: "addr:state";
|
|
137
|
+
readonly City: "addr:city";
|
|
138
|
+
readonly Website: "website";
|
|
139
|
+
readonly Email: "email";
|
|
140
|
+
readonly Phone: "phone";
|
|
141
|
+
readonly Shop: "shop";
|
|
142
|
+
readonly Brand: "brand";
|
|
143
|
+
readonly Cuisine: "cuisine";
|
|
144
|
+
readonly Name: "name";
|
|
145
|
+
readonly Healthcare: "healthcare";
|
|
146
|
+
readonly Office: "office";
|
|
147
|
+
readonly Amenity: "amenity";
|
|
148
|
+
};
|
|
149
|
+
export type OSMNodeTag = (typeof OSMNodeTag)[keyof typeof OSMNodeTag];
|
|
149
150
|
export declare const ForbiddenResidentialOSMNodeTags: ReadonlySet<OSMNodeTag>;
|
|
150
151
|
export type OSMNodeTagRecord = Record<OSMNodeTag, string | undefined>;
|
|
151
152
|
export interface OSMOverpassElement {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"polygon.d.ts","sourceRoot":"","sources":["../../geometries/polygon.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEtD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AAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAA;AAErE,eAAO,MAAM,+BAA+B,EAAE,WAAW,CAAC,UAAU,CAMlE,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC,CAAA;AAErE,MAAM,WAAW,kBAAkB;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,gBAAgB,CAAA;CACtB;AAED,MAAM,WAAW,uBAAuB;IACvC,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE;QACN,kBAAkB,EAAE,MAAM,CAAA;QAC1B,SAAS,EAAE,MAAM,CAAA;KACjB,CAAA;IACD,QAAQ,EAAE,kBAAkB,EAAE,CAAA;CAC9B;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAQzE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAiBlG"}
|
|
@@ -38,24 +38,23 @@ export function polygonToOSMFilter(input) {
|
|
|
38
38
|
*
|
|
39
39
|
* @category OSM
|
|
40
40
|
*/
|
|
41
|
-
export
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
})(OSMNodeTag || (OSMNodeTag = {}));
|
|
41
|
+
export const OSMNodeTag = {
|
|
42
|
+
HouseNumber: "addr:housenumber",
|
|
43
|
+
PostCode: "addr:postcode",
|
|
44
|
+
Street: "addr:street",
|
|
45
|
+
State: "addr:state",
|
|
46
|
+
City: "addr:city",
|
|
47
|
+
Website: "website",
|
|
48
|
+
Email: "email",
|
|
49
|
+
Phone: "phone",
|
|
50
|
+
Shop: "shop",
|
|
51
|
+
Brand: "brand",
|
|
52
|
+
Cuisine: "cuisine",
|
|
53
|
+
Name: "name",
|
|
54
|
+
Healthcare: "healthcare",
|
|
55
|
+
Office: "office",
|
|
56
|
+
Amenity: "amenity",
|
|
57
|
+
};
|
|
59
58
|
export const ForbiddenResidentialOSMNodeTags = new Set([
|
|
60
59
|
OSMNodeTag.Shop,
|
|
61
60
|
OSMNodeTag.Brand,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"polygon.js","sourceRoot":"","sources":["../../geometries/polygon.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAqGtD;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAsC,KAAc;IACnF,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,KAAK,CAAA;IAE7D,OAAO,MAAM,IAAI,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,aAAa,IAAI,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAA;AACjH,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAqB;IACvD,OAAO,KAAK,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,CAAA;AACtC,CAAC;AAaD;;GAEG;AAEH;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAqB;IACvD,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC;QAAE,OAAO,EAAE,CAAA;IAEvC,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,WAAW,CAAA;IAExC,MAAM,MAAM,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,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EAAE;QAClB,IAAI,CAAC,QAAQ,CAAC,EAAE;YAAE,MAAM,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;QAEhH,OAAO,QAAQ,CAAA;IAChB,CAAC,CAAC;SACD,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAsC,CAAC;SACvE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC;SAC7B,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;QAChB,MAAM,aAAa,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA;IAChE,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
package/out/google/index.d.ts
CHANGED
package/out/h3/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @author Teffen Ellis, et al.
|
|
5
5
|
*/
|
|
6
6
|
import type { Tagged } from "type-fest";
|
|
7
|
-
import { GeoPoint, type PointLiteral } from "../geometries/point.
|
|
7
|
+
import { GeoPoint, type PointLiteral } from "../geometries/point.ts";
|
|
8
8
|
/**
|
|
9
9
|
* A H3 cell index, full 64 bits.
|
|
10
10
|
*
|
package/out/index.d.ts
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
* @license AGPL-3.0
|
|
4
4
|
* @author Teffen Ellis, et al.
|
|
5
5
|
*/
|
|
6
|
-
export * from "./bbox.
|
|
7
|
-
export * from "./coordinate-formats.
|
|
8
|
-
export * from "./countries/index.
|
|
9
|
-
export * from "./feature.
|
|
10
|
-
export * from "./geometries/index.
|
|
11
|
-
export * from "./google/index.
|
|
12
|
-
export * from "./h3/index.
|
|
13
|
-
export * from "./objects.
|
|
14
|
-
export * from "./position.
|
|
15
|
-
export * from "./projection.
|
|
16
|
-
export * from "./regions/index.
|
|
6
|
+
export * from "./bbox.ts";
|
|
7
|
+
export * from "./coordinate-formats.ts";
|
|
8
|
+
export * from "./countries/index.ts";
|
|
9
|
+
export * from "./feature.ts";
|
|
10
|
+
export * from "./geometries/index.ts";
|
|
11
|
+
export * from "./google/index.ts";
|
|
12
|
+
export * from "./h3/index.ts";
|
|
13
|
+
export * from "./objects.ts";
|
|
14
|
+
export * from "./position.ts";
|
|
15
|
+
export * from "./projection.ts";
|
|
16
|
+
export * from "./regions/index.ts";
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
package/out/objects.d.ts
CHANGED
package/out/projection.d.ts
CHANGED
|
@@ -8,16 +8,17 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @category Geo
|
|
10
10
|
*/
|
|
11
|
-
export declare
|
|
11
|
+
export declare const CoordinateProjection: {
|
|
12
12
|
/**
|
|
13
13
|
* Coordinate system used in Google Earth and GSP systems.
|
|
14
14
|
*
|
|
15
15
|
* It represents Earth as a three-dimensional ellipsoid.
|
|
16
16
|
*/
|
|
17
|
-
WGS84
|
|
17
|
+
readonly WGS84: "4326";
|
|
18
18
|
/**
|
|
19
19
|
* North American Datum 1983, a geodetic reference system used in the TIGER/Line data.
|
|
20
20
|
*/
|
|
21
|
-
NAD83
|
|
22
|
-
}
|
|
21
|
+
readonly NAD83: "4269";
|
|
22
|
+
};
|
|
23
|
+
export type CoordinateProjection = (typeof CoordinateProjection)[keyof typeof CoordinateProjection];
|
|
23
24
|
//# sourceMappingURL=projection.d.ts.map
|
package/out/projection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../projection.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../projection.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;IAChC;;;;OAIG;;IAEH;;OAEG;;CAEM,CAAA;AAEV,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAA"}
|
package/out/projection.js
CHANGED
|
@@ -8,17 +8,16 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @category Geo
|
|
10
10
|
*/
|
|
11
|
-
export
|
|
12
|
-
(function (CoordinateProjection) {
|
|
11
|
+
export const CoordinateProjection = {
|
|
13
12
|
/**
|
|
14
13
|
* Coordinate system used in Google Earth and GSP systems.
|
|
15
14
|
*
|
|
16
15
|
* It represents Earth as a three-dimensional ellipsoid.
|
|
17
16
|
*/
|
|
18
|
-
|
|
17
|
+
WGS84: "4326",
|
|
19
18
|
/**
|
|
20
19
|
* North American Datum 1983, a geodetic reference system used in the TIGER/Line data.
|
|
21
20
|
*/
|
|
22
|
-
|
|
23
|
-
}
|
|
21
|
+
NAD83: "4269",
|
|
22
|
+
};
|
|
24
23
|
//# sourceMappingURL=projection.js.map
|
package/out/projection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projection.js","sourceRoot":"","sources":["../projection.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"projection.js","sourceRoot":"","sources":["../projection.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IACnC;;;;OAIG;IACH,KAAK,EAAE,MAAM;IACb;;OAEG;IACH,KAAK,EAAE,MAAM;CACJ,CAAA"}
|
package/out/regions/index.d.ts
CHANGED
package/out/sdk/index.d.ts
CHANGED