@@ -162,6 +162,16 @@ jobs:
162162 working-directory : ./bin
163163 run : php console export:json
164164
165+ - name : Convert JSON to GeoJSON
166+ working-directory : ./bin
167+ run : |
168+ python3 scripts/export/json_to_geojson.py
169+
170+ - name : Convert JSON to Toon Format
171+ working-directory : ./bin
172+ run : |
173+ python3 scripts/export/json_to_toon.py
174+
165175 - name : Export XML
166176 working-directory : ./bin
167177 run : php console export:xml
@@ -292,6 +302,20 @@ jobs:
292302 gzip -9 -k -f json/cities.json
293303 echo " β json/cities.json.gz"
294304 fi
305+
306+ # TOON Files
307+ echo "π Compressing TOON files..."
308+ if [ -f toon/cities.toon ]; then
309+ gzip -9 -k -f toon/cities.toon
310+ echo " β toon/cities.toon.gz"
311+ fi
312+
313+ # GEOJSON Files
314+ echo "π Compressing GEOJSON files..."
315+ if [ -f geojson/cities.geojson ]; then
316+ gzip -9 -k -f geojson/cities.geojson
317+ echo " β geojson/cities.geojson.gz"
318+ fi
295319
296320 # XML Files
297321 echo "π Compressing XML files..."
@@ -350,7 +374,7 @@ jobs:
350374 echo "β
All compression complete!"
351375 echo ""
352376 echo "π Compressed file sizes:"
353- ls -lh json/*.gz xml/*.gz yml/*.gz csv/*.gz sql/*.gz psql/*.gz sqlite/*.gz sqlserver/*.gz 2>/dev/null || true
377+ ls -lh json/*.gz toon/*.gz geojson/*.gz xml/*.gz yml/*.gz csv/*.gz sql/*.gz psql/*.gz sqlite/*.gz sqlserver/*.gz 2>/dev/null || true
354378
355379 - name : Update README.md
356380 run : |
@@ -368,7 +392,7 @@ jobs:
368392 π¦ Export database formats - ${{ env.current_date }}
369393
370394 β
All export formats completed successfully:
371- - JSON/XML/YAML/CSV: Structured data exports
395+ - JSON/TOON/GEOJSON/ XML/YAML/CSV: Structured data exports
372396 - MySQL/PostgreSQL: SQL dump exports
373397 - SQLite: Database file exports
374398 - SQL Server/MongoDB: Alternative format exports
@@ -393,6 +417,8 @@ jobs:
393417
394418 ### β
Generated Formats
395419 - **JSON** - Structured data format
420+ - **TOON** - Structured data format
421+ - **GEOJSON** - Structured data format
396422 - **XML** - Markup language format
397423 - **YAML** - Human-readable format
398424 - **CSV** - Spreadsheet format
0 commit comments