@geoalgeria/culture 2.0.2 → 2.0.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.
- package/data/csv/culture.csv +238 -238
- package/data/culture.json +400 -400
- package/data/geojson/culture.geojson +400 -400
- package/data/metadata.json +1 -1
- package/dataset-metadata.json +2 -2
- package/index.js +1 -1
- package/package.json +2 -2
- package/types/index.d.ts +5 -5
package/data/metadata.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"estimated_universe": null,
|
|
15
15
|
"coverage_pct": null,
|
|
16
|
-
"coverage_note": "Cultural places from Algeria's official cultural atlas (Ministry of Culture)
|
|
16
|
+
"coverage_note": "Cultural places from Algeria's official cultural atlas (Ministry of Culture): protected heritage, museums, theatres, libraries, and cultural establishments. Every place carries a source coordinate; wilaya is exact, commune is best-effort.",
|
|
17
17
|
"wilayas_covered": 66,
|
|
18
18
|
"bbox": [
|
|
19
19
|
-8.433817,
|
package/dataset-metadata.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "Algeria cultural heritage",
|
|
5
5
|
"alternateName": "Patrimoine culturel d'Algérie",
|
|
6
6
|
"identifier": "@geoalgeria/culture",
|
|
7
|
-
"description": "Cultural places from Algeria's official cultural atlas (Ministry of Culture)
|
|
7
|
+
"description": "Cultural places from Algeria's official cultural atlas (Ministry of Culture): protected heritage, museums, theatres, libraries, and cultural establishments. Every place carries a source coordinate; wilaya is exact, commune is best-effort.",
|
|
8
8
|
"conditionsOfAccess": "Factual public listing (Ministry of Culture); commune linkage from the GeoAlgeria set",
|
|
9
9
|
"isAccessibleForFree": true,
|
|
10
10
|
"creator": {
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
"url": "https://geoalgeria.com",
|
|
46
46
|
"sameAs": "https://github.com/yasserstudio/geoalgeria",
|
|
47
47
|
"citation": [
|
|
48
|
-
"Cartes du Patrimoine Culturel Algérien (Ministry of Culture)
|
|
48
|
+
"Cartes du Patrimoine Culturel Algérien (Ministry of Culture), Factual public cultural listing (Ministry of Culture)"
|
|
49
49
|
]
|
|
50
50
|
}
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @geoalgeria/culture
|
|
1
|
+
// @geoalgeria/culture: lightweight loaders for Algeria's cultural atlas.
|
|
2
2
|
import { readFileSync } from "node:fs";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
4
|
import { dirname, join } from "node:path";
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geoalgeria/culture",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Algeria's cultural atlas
|
|
5
|
+
"description": "Algeria's cultural atlas: protected heritage sites, museums, theatres, libraries and cultural establishments (maisons & palais de culture, cinemas, culture directorates, arts schools) from the Ministry of Culture's Patrimoine Culturel portal, bilingual FR/AR, fully geocoded, with commune/wilaya linkage. JSON, CSV, GeoJSON, TypeScript.",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"types": "types/index.d.ts",
|
|
8
8
|
"exports": {
|
package/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Type definitions for @geoalgeria/culture (schema v2).
|
|
2
|
-
// Algeria's cultural atlas
|
|
2
|
+
// Algeria's cultural atlas: the Ministry of Culture's "Cartes du Patrimoine
|
|
3
3
|
// Culturel Algérien" portal (cartes.patrimoineculturelalgerien.org), bilingual
|
|
4
4
|
// FR/AR heritage sites and cultural establishments, each carrying the
|
|
5
5
|
// portal's own published coordinate.
|
|
@@ -38,7 +38,7 @@ export interface Refs {
|
|
|
38
38
|
patrimoine: string;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
/** A cultural place
|
|
41
|
+
/** A cultural place: heritage site or cultural establishment. */
|
|
42
42
|
export interface CulturalSite {
|
|
43
43
|
/** Stable id, `{wilaya_code}-{type_code}-{seq}` (e.g. "16-museum-01"). Unique within this dataset. */
|
|
44
44
|
id: string;
|
|
@@ -54,7 +54,7 @@ export interface CulturalSite {
|
|
|
54
54
|
commune_code: string | null;
|
|
55
55
|
/** Commune name (French), nearest-centroid best-effort. Null when unresolved. */
|
|
56
56
|
commune: string | null;
|
|
57
|
-
/** Latitude
|
|
57
|
+
/** Latitude: every place carries the portal's published point. */
|
|
58
58
|
lat: number;
|
|
59
59
|
/** Longitude. */
|
|
60
60
|
lng: number;
|
|
@@ -62,7 +62,7 @@ export interface CulturalSite {
|
|
|
62
62
|
geo_precision: GeoPrecision;
|
|
63
63
|
/** Always "source_point": the coordinate is the portal's own point, not a derived centroid. */
|
|
64
64
|
geo_method: GeoMethod;
|
|
65
|
-
/** Provenance key into `metadata.sources[]
|
|
65
|
+
/** Provenance key into `metadata.sources[]`: always "patrimoine". */
|
|
66
66
|
source: "patrimoine";
|
|
67
67
|
/** External identifiers: the portal's own node id. */
|
|
68
68
|
refs: Refs;
|
|
@@ -92,7 +92,7 @@ export interface SourceRef {
|
|
|
92
92
|
evidence_type?: "official" | "crowdsourced" | "derived";
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
/** Dataset metadata (data/metadata.json)
|
|
95
|
+
/** Dataset metadata (data/metadata.json): canonical fields plus culture stats. */
|
|
96
96
|
export interface Metadata {
|
|
97
97
|
package: "@geoalgeria/culture";
|
|
98
98
|
schema_version: string;
|