@geoalgeria/culture 1.0.0 → 2.0.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/README.ar.md +22 -19
- package/README.fr.md +24 -19
- package/README.md +23 -20
- package/data/csv/culture.csv +1084 -1084
- package/data/culture.json +15169 -15169
- package/data/geojson/culture.geojson +15167 -13001
- package/data/metadata.json +41 -19
- package/dataset-metadata.json +50 -0
- package/package.json +2 -1
- package/types/index.d.ts +81 -55
package/README.ar.md
CHANGED
|
@@ -103,7 +103,7 @@ const all: CulturalSite[] = culture.culture();
|
|
|
103
103
|
```
|
|
104
104
|
data/
|
|
105
105
|
culture.json # 1083 موقعًا ثقافيًا (مصفوفة)
|
|
106
|
-
metadata.json # المصادر، الأعداد، التغطية،
|
|
106
|
+
metadata.json # المصادر، الأعداد، التغطية، الترخيص، تاريخ التحديث
|
|
107
107
|
csv/culture.csv # المستودع + الإصدار
|
|
108
108
|
geojson/culture.geojson # معالم نقطية (كل السجلات)
|
|
109
109
|
```
|
|
@@ -114,34 +114,37 @@ data/
|
|
|
114
114
|
{
|
|
115
115
|
"id": "16-museum-03",
|
|
116
116
|
"name": "Musée national Public d'art moderne et contemporain",
|
|
117
|
-
"name_ar": "المتحف العمومي الوطني للفن الحديث و المعاصر",
|
|
118
117
|
"name_fr": "Musée national Public d'art moderne et contemporain",
|
|
118
|
+
"name_ar": "المتحف العمومي الوطني للفن الحديث و المعاصر",
|
|
119
|
+
"wilaya_code": "16",
|
|
120
|
+
"commune_code": "1607",
|
|
121
|
+
"commune": "Casbah",
|
|
122
|
+
"lat": 36.777301,
|
|
123
|
+
"lng": 3.057572,
|
|
124
|
+
"geo_precision": "exact",
|
|
125
|
+
"geo_method": "source_point",
|
|
126
|
+
"source": "patrimoine",
|
|
127
|
+
"refs": {
|
|
128
|
+
"patrimoine": "817"
|
|
129
|
+
},
|
|
119
130
|
"type": "museum",
|
|
120
131
|
"category": "heritage",
|
|
121
132
|
"type_label_fr": "Musée",
|
|
122
133
|
"type_label_ar": "متحف",
|
|
123
134
|
"has_virtual_tour": true,
|
|
124
|
-
"wilaya": "Alger",
|
|
125
|
-
"wilaya_ar": "الجزائر",
|
|
126
|
-
"wilaya_code": "16",
|
|
127
|
-
"commune": "Casbah",
|
|
128
|
-
"commune_code": 1607,
|
|
129
|
-
"source": "patrimoineculturel",
|
|
130
|
-
"geo_precision": "source_point",
|
|
131
135
|
"url": "https://cartes.patrimoineculturelalgerien.org/fr/node/101",
|
|
132
|
-
"
|
|
133
|
-
"node_id_ar": 817,
|
|
134
|
-
"slug": "musee-national-public-d-art-moderne-et-contemporain",
|
|
135
|
-
"lat": 36.777301,
|
|
136
|
-
"lng": 3.057572
|
|
136
|
+
"slug": "musee-national-public-d-art-moderne-et-contemporain"
|
|
137
137
|
}
|
|
138
138
|
```
|
|
139
139
|
|
|
140
|
-
`id` مفتاح ثابت `{wilaya_code}-{type_code}-{seq}
|
|
141
|
-
الاسم الفرنسي إن وُجد، وإلا العربي. `type` هو
|
|
142
|
-
يجمع الأنواع الـ11 في `heritage` مقابل
|
|
143
|
-
`true` للمواقع الـ22 ذات الجولة 360°.
|
|
144
|
-
|
|
140
|
+
`id` مفتاح ثابت `{wilaya_code}-{type_code}-{seq}`، فريد ضمن هذا الملف — يُعامَل
|
|
141
|
+
كمعرّف معتم (opaque). `name` هو الاسم الفرنسي إن وُجد، وإلا العربي. `type` هو
|
|
142
|
+
طبقة الموقع على البوابة، و`category` يجمع الأنواع الـ11 في `heritage` مقابل
|
|
143
|
+
`establishment`. `has_virtual_tour` يساوي `true` للمواقع الـ22 ذات الجولة 360°.
|
|
144
|
+
`geo_precision` يساوي `"exact"` لـ1067 سجلًا و`"approximate"` لـ16 — لكل موقع
|
|
145
|
+
إحداثية، لكن 16 منها لا تبلغ عتبة الدقة اللازمة لـ`"exact"`. `geo_method`
|
|
146
|
+
يساوي `"source_point"` لكل سجل: الإحداثية هي النقطة التي تنشرها البوابة نفسها،
|
|
147
|
+
وليست مركز ثقل مُشتقًا. `refs.patrimoine` هو معرّف الموقع على البوابة.
|
|
145
148
|
|
|
146
149
|
> **الولاية دقيقة؛ أما البلدية فمُستنتَجة.** لا تزال البوابة تصنّف بعض المواقع تحت
|
|
147
150
|
> رموز ولايات ما قبل 2019؛ يعيد GeoAlgeria إسناد كل موقع إلى التقسيم الحالي البالغ
|
package/README.fr.md
CHANGED
|
@@ -105,7 +105,7 @@ chaque [GitHub Release](https://github.com/yasserstudio/geoalgeria/releases) :
|
|
|
105
105
|
```
|
|
106
106
|
data/
|
|
107
107
|
culture.json # 1 083 lieux culturels (tableau)
|
|
108
|
-
metadata.json # sources, totaux, couverture,
|
|
108
|
+
metadata.json # sources, totaux, couverture, licence, mise à jour
|
|
109
109
|
csv/culture.csv # dépôt + Release
|
|
110
110
|
geojson/culture.geojson # entités Point (chaque enregistrement)
|
|
111
111
|
```
|
|
@@ -116,34 +116,39 @@ data/
|
|
|
116
116
|
{
|
|
117
117
|
"id": "16-museum-03",
|
|
118
118
|
"name": "Musée national Public d'art moderne et contemporain",
|
|
119
|
-
"name_ar": "المتحف العمومي الوطني للفن الحديث و المعاصر",
|
|
120
119
|
"name_fr": "Musée national Public d'art moderne et contemporain",
|
|
120
|
+
"name_ar": "المتحف العمومي الوطني للفن الحديث و المعاصر",
|
|
121
|
+
"wilaya_code": "16",
|
|
122
|
+
"commune_code": "1607",
|
|
123
|
+
"commune": "Casbah",
|
|
124
|
+
"lat": 36.777301,
|
|
125
|
+
"lng": 3.057572,
|
|
126
|
+
"geo_precision": "exact",
|
|
127
|
+
"geo_method": "source_point",
|
|
128
|
+
"source": "patrimoine",
|
|
129
|
+
"refs": {
|
|
130
|
+
"patrimoine": "817"
|
|
131
|
+
},
|
|
121
132
|
"type": "museum",
|
|
122
133
|
"category": "heritage",
|
|
123
134
|
"type_label_fr": "Musée",
|
|
124
135
|
"type_label_ar": "متحف",
|
|
125
136
|
"has_virtual_tour": true,
|
|
126
|
-
"wilaya": "Alger",
|
|
127
|
-
"wilaya_ar": "الجزائر",
|
|
128
|
-
"wilaya_code": "16",
|
|
129
|
-
"commune": "Casbah",
|
|
130
|
-
"commune_code": 1607,
|
|
131
|
-
"source": "patrimoineculturel",
|
|
132
|
-
"geo_precision": "source_point",
|
|
133
137
|
"url": "https://cartes.patrimoineculturelalgerien.org/fr/node/101",
|
|
134
|
-
"
|
|
135
|
-
"node_id_ar": 817,
|
|
136
|
-
"slug": "musee-national-public-d-art-moderne-et-contemporain",
|
|
137
|
-
"lat": 36.777301,
|
|
138
|
-
"lng": 3.057572
|
|
138
|
+
"slug": "musee-national-public-d-art-moderne-et-contemporain"
|
|
139
139
|
}
|
|
140
140
|
```
|
|
141
141
|
|
|
142
|
-
`id` est une clé stable `{wilaya_code}-{type_code}-{seq}
|
|
143
|
-
|
|
144
|
-
couche du lieu sur le portail ; `category` regroupe les
|
|
145
|
-
`establishment`. `has_virtual_tour` vaut `true` pour
|
|
146
|
-
visite 360°. `geo_precision` vaut `"
|
|
142
|
+
`id` est une clé stable `{wilaya_code}-{type_code}-{seq}`, unique au sein de ce
|
|
143
|
+
fichier — à traiter comme opaque. `name` est le nom français s'il existe, sinon
|
|
144
|
+
l'arabe. `type` est la couche du lieu sur le portail ; `category` regroupe les
|
|
145
|
+
11 types en `heritage` vs `establishment`. `has_virtual_tour` vaut `true` pour
|
|
146
|
+
les 22 lieux dotés d'une visite 360°. `geo_precision` vaut `"exact"` pour
|
|
147
|
+
1 067 enregistrements et `"approximate"` pour 16 — chaque lieu a une
|
|
148
|
+
coordonnée, mais 16 n'atteignent pas le seuil de précision de `"exact"`.
|
|
149
|
+
`geo_method` vaut `"source_point"` pour chaque enregistrement : la coordonnée
|
|
150
|
+
est le point publié par le portail lui-même, pas un centroïde dérivé.
|
|
151
|
+
`refs.patrimoine` est l'identifiant du lieu sur le portail.
|
|
147
152
|
|
|
148
153
|
> **La wilaya est exacte ; la commune est dérivée.** Le portail classe encore
|
|
149
154
|
> certains lieux sous d'anciens codes de wilaya ; GeoAlgeria les réaffecte au
|
package/README.md
CHANGED
|
@@ -105,7 +105,7 @@ const all: CulturalSite[] = culture.culture();
|
|
|
105
105
|
```
|
|
106
106
|
data/
|
|
107
107
|
culture.json # 1,083 cultural places (array)
|
|
108
|
-
metadata.json # sources, counts, coverage,
|
|
108
|
+
metadata.json # sources, counts, coverage, license, updated
|
|
109
109
|
csv/culture.csv # repo + Release bundle
|
|
110
110
|
geojson/culture.geojson # Point features (every record)
|
|
111
111
|
```
|
|
@@ -116,35 +116,38 @@ data/
|
|
|
116
116
|
{
|
|
117
117
|
"id": "16-museum-03",
|
|
118
118
|
"name": "Musée national Public d'art moderne et contemporain",
|
|
119
|
-
"name_ar": "المتحف العمومي الوطني للفن الحديث و المعاصر",
|
|
120
119
|
"name_fr": "Musée national Public d'art moderne et contemporain",
|
|
120
|
+
"name_ar": "المتحف العمومي الوطني للفن الحديث و المعاصر",
|
|
121
|
+
"wilaya_code": "16",
|
|
122
|
+
"commune_code": "1607",
|
|
123
|
+
"commune": "Casbah",
|
|
124
|
+
"lat": 36.777301,
|
|
125
|
+
"lng": 3.057572,
|
|
126
|
+
"geo_precision": "exact",
|
|
127
|
+
"geo_method": "source_point",
|
|
128
|
+
"source": "patrimoine",
|
|
129
|
+
"refs": {
|
|
130
|
+
"patrimoine": "817"
|
|
131
|
+
},
|
|
121
132
|
"type": "museum",
|
|
122
133
|
"category": "heritage",
|
|
123
134
|
"type_label_fr": "Musée",
|
|
124
135
|
"type_label_ar": "متحف",
|
|
125
136
|
"has_virtual_tour": true,
|
|
126
|
-
"wilaya": "Alger",
|
|
127
|
-
"wilaya_ar": "الجزائر",
|
|
128
|
-
"wilaya_code": "16",
|
|
129
|
-
"commune": "Casbah",
|
|
130
|
-
"commune_code": 1607,
|
|
131
|
-
"source": "patrimoineculturel",
|
|
132
|
-
"geo_precision": "source_point",
|
|
133
137
|
"url": "https://cartes.patrimoineculturelalgerien.org/fr/node/101",
|
|
134
|
-
"
|
|
135
|
-
"node_id_ar": 817,
|
|
136
|
-
"slug": "musee-national-public-d-art-moderne-et-contemporain",
|
|
137
|
-
"lat": 36.777301,
|
|
138
|
-
"lng": 3.057572
|
|
138
|
+
"slug": "musee-national-public-d-art-moderne-et-contemporain"
|
|
139
139
|
}
|
|
140
140
|
```
|
|
141
141
|
|
|
142
|
-
`id` is a stable `{wilaya_code}-{type_code}-{seq}` key
|
|
143
|
-
`name` is the French name where available, else
|
|
144
|
-
layer on the portal; `category` groups the 11
|
|
145
|
-
`establishment`. `has_virtual_tour` is true for the
|
|
146
|
-
`geo_precision` is `"
|
|
147
|
-
|
|
142
|
+
`id` is a stable `{wilaya_code}-{type_code}-{seq}` key, unique within this
|
|
143
|
+
file — treat it as opaque. `name` is the French name where available, else
|
|
144
|
+
Arabic. `type` is the place's layer on the portal; `category` groups the 11
|
|
145
|
+
types into `heritage` vs. `establishment`. `has_virtual_tour` is true for the
|
|
146
|
+
22 places with a 360° tour. `geo_precision` is `"exact"` for 1,067 records and
|
|
147
|
+
`"approximate"` for 16 — every place has a coordinate, but 16 don't meet the
|
|
148
|
+
precision bar for `"exact"`. `geo_method` is `"source_point"` for every
|
|
149
|
+
record: the coordinate is the portal's own published point, not a derived
|
|
150
|
+
centroid. `refs.patrimoine` is the place's node id on the portal.
|
|
148
151
|
|
|
149
152
|
> **Wilaya is exact; commune is derived.** The portal still files some places
|
|
150
153
|
> under pre-2019 wilaya codes; GeoAlgeria rescopes each place to the current
|