@golemio/city-districts 1.2.9-dev.1024235628 → 1.2.9-dev.1139677976
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/dist/integration-engine/datasources/CityDistrictsDataSource.js +1 -1
- package/dist/integration-engine/datasources/CityDistrictsDataSource.js.map +1 -1
- package/dist/integration-engine/transformations/CityDistrictsPostgresTransformation.d.ts +2 -1
- package/dist/integration-engine/transformations/CityDistrictsPostgresTransformation.js +13 -11
- package/dist/integration-engine/transformations/CityDistrictsPostgresTransformation.js.map +1 -1
- package/dist/schema-definitions/datasources/CityDistrictsJsonSchema.d.ts +7 -13
- package/dist/schema-definitions/datasources/CityDistrictsJsonSchema.js +4 -12
- package/dist/schema-definitions/datasources/CityDistrictsJsonSchema.js.map +1 -1
- package/dist/schema-definitions/interfaces/CityDistricts.d.ts +7 -7
- package/dist/schema-definitions/models/CityDistrictModel.js +7 -7
- package/dist/schema-definitions/models/CityDistrictModel.js.map +1 -1
- package/docs/implementation-documentation.md +2 -2
- package/package.json +3 -3
|
@@ -7,7 +7,7 @@ const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator
|
|
|
7
7
|
const _sch_1 = require("../../schema-definitions");
|
|
8
8
|
class CityDistrictsDataSourceFactory {
|
|
9
9
|
static getDataSource() {
|
|
10
|
-
return new datasources_1.DataSource(_sch_1.CityDistricts.name + "DataSource", new datasources_1.
|
|
10
|
+
return new datasources_1.DataSource(_sch_1.CityDistricts.name + "DataSource", new datasources_1.PaginatedHTTPProtocolStrategy({
|
|
11
11
|
headers: {},
|
|
12
12
|
method: "GET",
|
|
13
13
|
url: config_1.config.datasources.CityDistricts,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CityDistrictsDataSource.js","sourceRoot":"","sources":["../../../src/integration-engine/datasources/CityDistrictsDataSource.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"CityDistrictsDataSource.js","sourceRoot":"","sources":["../../../src/integration-engine/datasources/CityDistrictsDataSource.ts"],"names":[],"mappings":";;;AAAA,mFAI2D;AAC3D,yEAAsE;AACtE,mFAAkF;AAClF,mDAAqC;AAErC,MAAa,8BAA8B;IAChC,MAAM,CAAC,aAAa;QACvB,OAAO,IAAI,wBAAU,CACjB,oBAAa,CAAC,IAAI,GAAG,YAAY,EACjC,IAAI,2CAA6B,CAAC;YAC9B,OAAO,EAAE,EAAE;YACX,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,eAAM,CAAC,WAAW,CAAC,aAAa;SACxC,CAAC,EACF,IAAI,kCAAoB,CAAC,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC,EACrD,IAAI,uCAAmB,CAAC,oBAAa,CAAC,IAAI,GAAG,qBAAqB,EAAE,oBAAa,CAAC,oBAAoB,CAAC,CAC1G,CAAC;IACN,CAAC;CACJ;AAbD,wEAaC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { BaseTransformation, ITransformation } from "@golemio/core/dist/integration-engine";
|
|
2
2
|
import { ICityDistricts } from "../../schema-definitions/interfaces/CityDistricts";
|
|
3
|
+
import { ICityDistrictFeature } from "../../schema-definitions/datasources/CityDistrictsJsonSchema";
|
|
3
4
|
export declare class CityDistrictsPostgresTransformation extends BaseTransformation implements ITransformation {
|
|
4
5
|
name: string;
|
|
5
6
|
constructor();
|
|
6
|
-
protected transformElement: (element:
|
|
7
|
+
protected transformElement: (element: ICityDistrictFeature) => Promise<ICityDistricts>;
|
|
7
8
|
}
|
|
@@ -21,27 +21,29 @@ class CityDistrictsPostgresTransformation extends integration_engine_1.BaseTrans
|
|
|
21
21
|
super();
|
|
22
22
|
this.transformElement = (element) => __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
return {
|
|
24
|
-
area:
|
|
25
|
-
change_date:
|
|
26
|
-
change_status:
|
|
27
|
-
create_date:
|
|
24
|
+
area: null,
|
|
25
|
+
change_date: null,
|
|
26
|
+
change_status: null,
|
|
27
|
+
create_date: null,
|
|
28
28
|
district_name: element.properties.NAZEV_MC,
|
|
29
29
|
district_short_name: element.properties.NAZEV_1,
|
|
30
|
-
geom: Object.assign(Object.assign({}, element.geometry), {
|
|
30
|
+
geom: Object.assign(Object.assign({}, element.geometry), {
|
|
31
|
+
// @ts-ignore-next-line
|
|
32
|
+
crs: {
|
|
31
33
|
properties: {
|
|
32
34
|
name: "EPSG:4326",
|
|
33
35
|
},
|
|
34
36
|
type: "name",
|
|
35
37
|
} }),
|
|
36
|
-
id: element.
|
|
38
|
+
id: element.id,
|
|
37
39
|
id_provider: element.properties.ID_POSKYT,
|
|
38
|
-
kod_mo:
|
|
39
|
-
kod_so:
|
|
40
|
+
kod_mo: null,
|
|
41
|
+
kod_so: null,
|
|
40
42
|
objectid: element.properties.OBJECTID,
|
|
41
43
|
provider: element.properties.POSKYT,
|
|
42
|
-
shape_area: element.properties.
|
|
43
|
-
shape_length: element.properties.
|
|
44
|
-
tid_tmmestckecasti_p:
|
|
44
|
+
shape_area: element.properties.SHAPE__Area,
|
|
45
|
+
shape_length: element.properties.SHAPE__Length,
|
|
46
|
+
tid_tmmestckecasti_p: null,
|
|
45
47
|
zip: element.properties.KOD_MC,
|
|
46
48
|
district_name_slug: (0, slugify_1.default)(element.properties.NAZEV_MC, { lower: true, remove: /[*+~.()'"!:@]/g }),
|
|
47
49
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CityDistrictsPostgresTransformation.js","sourceRoot":"","sources":["../../../src/integration-engine/transformations/CityDistrictsPostgresTransformation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAqC;AACrC,8EAA4F;AAC5F,sDAA2B;
|
|
1
|
+
{"version":3,"file":"CityDistrictsPostgresTransformation.js","sourceRoot":"","sources":["../../../src/integration-engine/transformations/CityDistrictsPostgresTransformation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAqC;AACrC,8EAA4F;AAC5F,sDAA2B;AAI3B,M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dist/shared/ajv";
|
|
2
|
-
|
|
2
|
+
import { Polygon } from "@golemio/core/dist/shared/geojson";
|
|
3
|
+
export interface ICityDistrictFeature {
|
|
3
4
|
type: string;
|
|
4
|
-
|
|
5
|
+
id: number;
|
|
6
|
+
geometry: Polygon;
|
|
5
7
|
properties: ICityDistrictPropertiesInput;
|
|
6
8
|
}
|
|
7
9
|
export interface ICityDistrictPropertiesInput {
|
|
8
|
-
DAT_VZNIK: string;
|
|
9
|
-
DAT_ZMENA: string;
|
|
10
|
-
ID: number;
|
|
11
10
|
ID_POSKYT: number;
|
|
12
11
|
KOD_MC: number;
|
|
13
|
-
KOD_MO: number;
|
|
14
|
-
KOD_SO: number;
|
|
15
12
|
NAZEV_1: string;
|
|
16
13
|
NAZEV_MC: string;
|
|
17
14
|
OBJECTID: number;
|
|
18
|
-
PLOCHA: number;
|
|
19
15
|
POSKYT: string;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Shape_Length: number;
|
|
23
|
-
TID_TMMESTSKECASTI_P: number;
|
|
16
|
+
SHAPE__Area: number;
|
|
17
|
+
SHAPE__Length: number;
|
|
24
18
|
}
|
|
25
|
-
export declare const cityDistrictsDatasourceJsonSchema: JSONSchemaType<
|
|
19
|
+
export declare const cityDistrictsDatasourceJsonSchema: JSONSchemaType<ICityDistrictFeature[]>;
|
|
@@ -4,35 +4,27 @@ exports.cityDistrictsDatasourceJsonSchema = void 0;
|
|
|
4
4
|
const schema_definitions_1 = require("@golemio/core/dist/schema-definitions");
|
|
5
5
|
exports.cityDistrictsDatasourceJsonSchema = {
|
|
6
6
|
type: "array",
|
|
7
|
-
additionalItems: false,
|
|
8
7
|
items: {
|
|
9
8
|
type: "object",
|
|
10
|
-
required: ["type", "geometry", "properties"],
|
|
9
|
+
required: ["type", "id", "geometry", "properties"],
|
|
11
10
|
additionalProperties: false,
|
|
12
11
|
properties: {
|
|
13
12
|
type: { type: "string" },
|
|
13
|
+
id: { type: "number" },
|
|
14
14
|
geometry: { $ref: "#/definitions/geometry" },
|
|
15
15
|
properties: {
|
|
16
16
|
type: "object",
|
|
17
17
|
required: ["KOD_MC", "NAZEV_MC"],
|
|
18
18
|
additionalProperties: false,
|
|
19
19
|
properties: {
|
|
20
|
-
DAT_VZNIK: { type: "string" },
|
|
21
|
-
DAT_ZMENA: { type: "string" },
|
|
22
|
-
ID: { type: "integer" },
|
|
23
20
|
ID_POSKYT: { type: "integer" },
|
|
24
21
|
KOD_MC: { type: "integer" },
|
|
25
|
-
KOD_MO: { type: "integer" },
|
|
26
|
-
KOD_SO: { type: "string" },
|
|
27
22
|
NAZEV_1: { type: "string" },
|
|
28
23
|
NAZEV_MC: { type: "string" },
|
|
29
24
|
OBJECTID: { type: "integer" },
|
|
30
|
-
PLOCHA: { type: "number" },
|
|
31
25
|
POSKYT: { type: "string" },
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
Shape_Length: { type: "number" },
|
|
35
|
-
TID_TMMESTSKECASTI_P: { type: "integer" },
|
|
26
|
+
SHAPE__Area: { type: "number" },
|
|
27
|
+
SHAPE__Length: { type: "number" },
|
|
36
28
|
},
|
|
37
29
|
},
|
|
38
30
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CityDistrictsJsonSchema.js","sourceRoot":"","sources":["../../../src/schema-definitions/datasources/CityDistrictsJsonSchema.ts"],"names":[],"mappings":";;;AACA,8EAA6E;
|
|
1
|
+
{"version":3,"file":"CityDistrictsJsonSchema.js","sourceRoot":"","sources":["../../../src/schema-definitions/datasources/CityDistrictsJsonSchema.ts"],"names":[],"mappings":";;;AACA,8EAA6E;AAqBhE,QAAA,iCAAiC,GAA2C;IACrF,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,CAAC;QAClD,oBAAoB,EAAE,KAAK;QAC3B,UAAU,EAAE;YACR,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACxB,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YACtB,QAAQ,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;YAC5C,UAAU,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC;gBAChC,oBAAoB,EAAE,KAAK;gBAC3B,UAAU,EAAE;oBACR,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC9B,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC3B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC3B,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC5B,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC7B,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC1B,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC/B,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iBACpC;aACJ;SACJ;KACJ;IACD,WAAW,EAAE;QACT,mBAAmB;QACnB,QAAQ,EAAE,yCAAoB,CAAC,QAAQ;KAC1C;CACJ,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Polygon } from "@golemio/core/dist/shared/geojson";
|
|
2
2
|
export interface ICityDistricts {
|
|
3
3
|
id: number;
|
|
4
|
-
area: number;
|
|
5
|
-
change_date: string;
|
|
6
|
-
change_status: string;
|
|
7
|
-
create_date: string;
|
|
4
|
+
area: number | null;
|
|
5
|
+
change_date: string | null;
|
|
6
|
+
change_status: string | null;
|
|
7
|
+
create_date: string | null;
|
|
8
8
|
district_name: string;
|
|
9
9
|
district_short_name: string;
|
|
10
10
|
geom: Polygon;
|
|
11
11
|
id_provider: number;
|
|
12
|
-
kod_mo: number;
|
|
13
|
-
kod_so: string;
|
|
12
|
+
kod_mo: number | null;
|
|
13
|
+
kod_so: string | null;
|
|
14
14
|
objectid: number;
|
|
15
15
|
provider: string;
|
|
16
16
|
shape_area: number;
|
|
17
17
|
shape_length: number;
|
|
18
|
-
tid_tmmestckecasti_p: number;
|
|
18
|
+
tid_tmmestckecasti_p: number | null;
|
|
19
19
|
zip: number;
|
|
20
20
|
district_name_slug: string;
|
|
21
21
|
}
|
|
@@ -58,22 +58,22 @@ CityDistrictModel.jsonSchema = {
|
|
|
58
58
|
items: {
|
|
59
59
|
type: "object",
|
|
60
60
|
properties: {
|
|
61
|
-
area: { type: "number" },
|
|
62
|
-
change_date: { type: "string" },
|
|
63
|
-
change_status: { type: "string" },
|
|
64
|
-
create_date: { type: "string" },
|
|
61
|
+
area: { oneOf: [{ type: "number" }, { type: "null" }] },
|
|
62
|
+
change_date: { oneOf: [{ type: "string" }, { type: "null" }] },
|
|
63
|
+
change_status: { oneOf: [{ type: "string" }, { type: "null" }] },
|
|
64
|
+
create_date: { oneOf: [{ type: "string" }, { type: "null" }] },
|
|
65
65
|
district_name: { type: "string" },
|
|
66
66
|
district_short_name: { type: "string" },
|
|
67
67
|
geom: { $ref: "#/definitions/geometry" },
|
|
68
68
|
id: { type: "integer" },
|
|
69
69
|
id_provider: { type: "integer" },
|
|
70
|
-
kod_mo: { type: "integer" },
|
|
71
|
-
kod_so: { type: "string" },
|
|
70
|
+
kod_mo: { oneOf: [{ type: "integer" }, { type: "null" }] },
|
|
71
|
+
kod_so: { oneOf: [{ type: "string" }, { type: "null" }] },
|
|
72
72
|
objectid: { type: "integer" },
|
|
73
73
|
provider: { type: "string" },
|
|
74
74
|
shape_area: { type: "number" },
|
|
75
75
|
shape_length: { type: "number" },
|
|
76
|
-
tid_tmmestckecasti_p: { type: "integer" },
|
|
76
|
+
tid_tmmestckecasti_p: { oneOf: [{ type: "integer" }, { type: "null" }] },
|
|
77
77
|
zip: { type: "integer" },
|
|
78
78
|
district_name_slug: { type: "string" },
|
|
79
79
|
},
|
|
@@ -1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AAE,IAAI,EAAE,QAAQ,EAAE;YAC5B,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC9B,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAChC,oBAAoB,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE;YACxE,GAAG,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YACxB,kBAAkB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SACzC;QACD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,eAAe,EAAE,oBAAoB,CAAC;KAClE;IACD,WAAW,EAAE;QACT,mBAAmB;QACnB,QAAQ,EAAE,yCAAoB,CAAC,QAAQ;KAC1C;CACJ,CAAC"}
|
|
@@ -8,12 +8,12 @@ Modul slouží k uložení mapových podkladů (polygonů) všech městských č
|
|
|
8
8
|
|
|
9
9
|
### Data aktivně stahujeme
|
|
10
10
|
|
|
11
|
-
Data stahujeme pravidelně z
|
|
11
|
+
Data stahujeme pravidelně z IPR ArcGIS Hubu. Je to pouze jeden zdroj dat.
|
|
12
12
|
|
|
13
13
|
#### Datový zdroj *CityDistricts*
|
|
14
14
|
|
|
15
15
|
- zdroj dat
|
|
16
|
-
- [
|
|
16
|
+
- [IPR ArcGIS Hubu](https://services5.arcgis.com/SBTXIEUGWbqzUecw/arcgis/rest/services/MAP_CUR_MAP_MESTSKECASTI_P/FeatureServer/0/query?outFields=OBJECTID,KOD_MC,NAZEV_MC,POSKYT,ID_POSKYT,NAZEV_1&where=1%3D1&f=geojson)
|
|
17
17
|
- [IE config](https://gitlab.com/operator-ict/golemio/code/integration-engine/-/blob/development/config/datasources.template.json#L10)
|
|
18
18
|
- bez parametrů
|
|
19
19
|
- formát dat
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/city-districts",
|
|
3
|
-
"version": "1.2.9-dev.
|
|
3
|
+
"version": "1.2.9-dev.1139677976",
|
|
4
4
|
"description": "Golemio City Districts Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@commitlint/cli": "^11.0.0",
|
|
37
37
|
"@commitlint/config-conventional": "^11.0.0",
|
|
38
38
|
"@golemio/cli": "1.5.0",
|
|
39
|
-
"@golemio/core": "1.9.
|
|
39
|
+
"@golemio/core": "1.9.7-dev.1139555808",
|
|
40
40
|
"@golemio/db-common": "1.1.2",
|
|
41
41
|
"@golemio/eslint-config": "1.1.1",
|
|
42
42
|
"@golemio/schema-definitions": "2.3.9",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"typescript-transform-paths": "^3.4.6"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
|
-
"@golemio/core": ">=1.9.
|
|
72
|
+
"@golemio/core": ">=1.9.6"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"slugify": "1.3.2"
|