Skip to content

Commit

Permalink
Add CSV files
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanb committed Apr 12, 2020
1 parent ff54037 commit 3b3d19c
Show file tree
Hide file tree
Showing 14 changed files with 44,315 additions and 15 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ geojson:
do \
DIRNAME=$$(dirname $$shpFile); \
BASENAME=$$(basename $$shpFile .shp); \
echo -n "$$BASENAME: "; \
echo -n "$$BASENAME GeoJSON: "; \
SHAPE_ENCODING=CP1250 ogr2ogr -progress -t_srs "EPSG:4326" -f "GeoJSON" data/$$BASENAME.geojson $$DIRNAME -lco RFC7946=YES -lco WRITE_BBOX=YES -mapFieldType Date=String; \
echo -n "$$BASENAME CSV: "; \
SHAPE_ENCODING=CP1250 ogr2ogr -progress -t_srs "EPSG:4326" -f "CSV" data/$$BASENAME.csv $$DIRNAME -lco WRITE_BOM=YES; \
done

.PHONY: clean
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@

[Interaktivni zemljevid / Interactive Map](https://umap.openstreetmap.fr/sl/map/obcine-v-sloveniji_440646)

| Opis / Description | Datoteka / File |
|--- |--- |
| Občine / Municipalities | [OB.geojson](data/OB.geojson) |
| Naselja / Settlements | [NA.geojson](data/NA.geojson) |
| Upravne enote / Administrative units | [UE.geojson](data/UE.geojson) |
| Statistične regije / Statistical regions | [SR.geojson](data/SR.geojson) |
| Ožji deli občin / Municipality subdivisions | [ODO.geojson](data/ODO.geojson) |
| Ulice / Streets | [UL.geojson](data/UL.geojson) |
| Poštni okoliši / Postal districts | [PT.geojson](data/PT.geojson) |
| Šolski okoliši / School districts | [SL.geojson](data/SL.geojson) |
| Enote državnozborskih volitev / Voting districts | [VDV.geojson](data/VDV.geojson) |
| Enote lokalnih volitev / Voting districts | [VLV.geojson](data/VLV.geojson) |
| Območne geodetske uprave / Administrative units | [OG.geojson](data/OG.geojson) |
| Prostorski okoliši / Spatial districts | [PO.geojson](data/PO.geojson) |
| Opis / Description | GeoJSON | CSV |
|--------------------------------------------------|---------------------------------|-------------------------|
| Občine / Municipalities | [OB.geojson](data/OB.geojson) | [OB.csv](data/OB.csv) |
| Naselja / Settlements | [NA.geojson](data/NA.geojson) | [NA.csv](data/NA.csv) |
| Upravne enote / Administrative units | [UE.geojson](data/UE.geojson) | [UE.csv](data/UE.csv) |
| Statistične regije / Statistical regions | [SR.geojson](data/SR.geojson) | [SR.csv](data/SR.csv) |
| Ožji deli občin / Municipality subdivisions | [ODO.geojson](data/ODO.geojson) | [ODO.csv](data/ODO.csv) |
| Ulice / Streets | [UL.geojson](data/UL.geojson) | [UL.csv](data/UL.csv) |
| Poštni okoliši / Postal districts | [PT.geojson](data/PT.geojson) | [PT.csv](data/PT.csv) |
| Šolski okoliši / School districts | [SL.geojson](data/SL.geojson) | [SL.csv](data/SL.csv) |
| Enote državnozborskih volitev / Voting districts | [VDV.geojson](data/VDV.geojson) | [VDV.csv](data/VDV.csv) |
| Enote lokalnih volitev / Voting districts | [VLV.geojson](data/VLV.geojson) | [VLV.csv](data/VLV.csv) |
| Območne geodetske uprave / Administrative units | [OG.geojson](data/OG.geojson) | [OG.csv](data/OG.csv) |
| Prostorski okoliši / Spatial districts | [PO.geojson](data/PO.geojson) | [PO.csv](data/PO.csv) |

<!--
https://www.e-prostor.gov.si/fileadmin/struktura/sifrant_rpe_enot.htm
Expand Down
6,036 changes: 6,036 additions & 0 deletions data/NA.csv

Large diffs are not rendered by default.

213 changes: 213 additions & 0 deletions data/OB.csv

Large diffs are not rendered by default.

1,232 changes: 1,232 additions & 0 deletions data/ODO.csv

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions data/OG.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ENOTA,OG_MID,OG_ID,OG_UIME,POV_KM2,D_OD,DV_OD,STATUS,CEN_E,CEN_N
OG,"10869340","140",Ljubljana,4097.88,1995/01/01,1995/01/01,V,461699,101516
OG,"10870011","170",Nova Gorica,2325.41,1995/01/01,1995/01/01,V,394828,91567
OG,"10874084","220",Velenje,1040.78,1995/01/01,1995/01/01,V,508611,136146
OG,"10870569","190",Sevnica,905.78,1995/01/01,1995/01/01,V,523550,96645
OG,"10868092","120",Koper,2016.45,1995/01/01,1995/01/01,V,400787,45967
OG,"10870054","180",Novo mesto,1663.08,1995/01/01,1995/01/01,V,513519,73205
OG,"10871042","210",Ptuj,859.10,1995/01/01,1995/01/01,V,566941,142604
OG,"10867193","110",Celje,1342.03,1995/01/01,1995/01/01,V,520340,121185
OG,"10869439","160",Murska Sobota,1335.54,1995/01/01,1995/01/01,V,589012,169603
OG,"10869404","150",Maribor,1312.33,1995/01/01,1995/01/01,V,549372,158294
OG,"10870577","200",Slovenj Gradec,1040.88,1995/01/01,1995/01/01,V,506221,152136
OG,"10868114","130",Kranj,2331.99,1995/01/01,1995/01/01,V,450319,122857
18,192 changes: 18,192 additions & 0 deletions data/PO.csv

Large diffs are not rendered by default.

467 changes: 467 additions & 0 deletions data/PT.csv

Large diffs are not rendered by default.

822 changes: 822 additions & 0 deletions data/SL.csv

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions data/SR.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ENOTA,SR_MID,SR_ID,SR_UIME,POV_KM2,D_OD,DV_OD,STATUS,CEN_E,CEN_N
SR,"21428191","6",Posavska,968.09,2015/01/01,2015/01/19,V,523550,96645
SR,"21428159","2",Podravska,2169.95,2002/01/01,2002/01/03,V,549372,158294
SR,"21428213","8",Osrednjeslovenska,2334.12,2002/01/01,2002/01/03,V,461699,101516
SR,"21428230","10",Primorsko-notranjska,1455.89,2015/01/01,2015/01/19,V,438848,70966
SR,"21428248","11",Goriška,2325.41,2002/01/01,2002/01/03,V,394828,91567
SR,"21428132","1",Pomurska,1335.54,2002/01/01,2002/01/03,V,589012,169603
SR,"21428205","7",Jugovzhodna Slovenija,2675.09,2002/01/01,2002/01/03,V,513519,73205
SR,"21428256","12",Obalno-kraška,1043.38,2002/01/01,2002/01/03,V,400787,45967
SR,"21428183","5",Zasavska,485.21,2002/01/01,2002/01/03,V,503790,112215
SR,"21428175","4",Savinjska,2300.94,2002/01/01,2002/01/03,V,520340,121185
SR,"21428167","3",Koroška,1040.88,2002/01/01,2002/01/03,V,506221,152136
SR,"21428221","9",Gorenjska,2136.74,2002/01/01,2002/01/03,V,450319,122857
59 changes: 59 additions & 0 deletions data/UE.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
ENOTA,UE_MID,UE_ID,UE_UIME,POV_KM2,D_OD,DV_OD,STATUS,CEN_E,CEN_N
UE,"10051851","1",Ajdovščina,352.81,1995/01/01,1995/01/01,V,414738,83647
UE,"10051860","2",Brežice,268.00,1995/01/01,1995/01/01,V,545949,85164
UE,"10051878","3",Celje,230.08,1995/01/01,1995/01/01,V,520340,121185
UE,"10051886","4",Cerknica,482.82,1995/01/01,1995/01/01,V,450098,73146
UE,"10051894","5",Črnomelj,486.25,1995/01/01,1995/01/01,V,515158,48225
UE,"10051908","6",Domžale,239.51,1995/01/01,1995/01/01,V,469229,111866
UE,"10051916","7",Dravograd,104.97,1995/01/01,1995/01/01,V,502141,161466
UE,"10051924","8",Gornja Radgona,213.53,1995/01/01,1995/01/01,V,575942,171103
UE,"10051932","9",Grosuplje,458.30,1995/01/01,1995/01/01,V,473349,90646
UE,"10051959","10",Hrastnik,58.58,1995/01/01,1995/01/01,V,506650,112015
UE,"10051967","11",Idrija,425.14,1995/01/01,1995/01/01,V,424258,96187
UE,"10051975","12",Ilirska Bistrica,479.89,1995/01/01,1995/01/01,V,441668,47826
UE,"10051983","13",Izola,28.50,1995/01/01,1995/01/01,V,395487,45087
UE,"10051991","14",Jesenice,374.88,1995/01/01,1995/01/01,V,427780,144528
UE,"10052009","15",Kamnik,289.68,1995/01/01,1995/01/01,V,469980,120777
UE,"10052068","21",Lenart,204.54,1995/01/01,1995/01/01,V,563802,159754
UE,"10052173","34",Metlika,108.62,1995/01/01,1995/01/01,V,524929,56915
UE,"10052238","40",Piran,43.50,1995/01/01,1995/01/01,V,388317,44187
UE,"10052297","45",Ravne na Koroškem,303.86,1995/01/01,1995/01/01,V,497257,156007
UE,"10052378","52",Šentjur pri Celju,239.85,1995/01/01,1995/01/01,V,530550,119835
UE,"10052424","57",Trebnje,317.10,1995/01/01,1995/01/01,V,500669,85615
UE,"10052017","16",Kočevje,647.97,1995/01/01,1995/01/01,V,489038,55906
UE,"10052025","17",Koper,311.51,1995/01/01,1995/01/01,V,400787,45967
UE,"10052033","18",Kranj,453.16,1995/01/01,1995/01/01,V,450319,122857
UE,"10052041","19",Krško,344.93,1995/01/01,1995/01/01,V,537610,91965
UE,"10052050","20",Laško,249.55,1995/01/01,1995/01/01,V,518430,112975
UE,"10052076","22",Lendava,254.98,1995/01/01,1995/01/01,V,611301,159182
UE,"10052084","23",Litija,321.99,1995/01/01,1995/01/01,V,486869,101866
UE,"10052092","24",Ljubljana,903.88,1995/01/01,1995/01/01,V,461699,101516
UE,"10052157","29",Ljutomer,175.34,1995/01/01,1995/01/01,V,592281,153713
UE,"10052165","30",Logatec,173.02,1995/01/01,1995/01/01,V,440248,86607
UE,"10052181","35",Mozirje,508.63,1995/01/01,1995/01/01,V,496705,133149
UE,"10052190","36",Murska Sobota,691.68,1995/01/01,1995/01/01,V,589012,169603
UE,"10052203","37",Nova Gorica,605.18,1995/01/01,1995/01/01,V,394828,91567
UE,"10052211","38",Novo mesto,760.19,1995/01/01,1995/01/01,V,513519,73205
UE,"10052220","39",Ormož,212.47,1995/01/01,1995/01/01,V,588231,141623
UE,"10052246","41",Postojna,493.17,1995/01/01,1995/01/01,V,438848,70966
UE,"10052254","42",Ptuj,646.64,1995/01/01,1995/01/01,V,566941,142604
UE,"10052262","43",Radlje ob Dravi,346.34,1995/01/01,1995/01/01,V,517342,163976
UE,"10052289","44",Radovljica,640.98,1995/01/01,1995/01/01,V,436269,133978
UE,"10052319","46",Ribnica,337.60,1995/01/01,1995/01/01,V,479048,66586
UE,"10052327","47",Sevnica,289.36,1995/01/01,1995/01/01,V,523550,96645
UE,"10052335","48",Sežana,659.87,1995/01/01,1995/01/01,V,412056,63233
UE,"10052343","49",Slovenj Gradec,285.71,1995/01/01,1995/01/01,V,506221,152136
UE,"10052351","50",Slovenska Bistrica,367.93,1995/01/01,1995/01/01,V,544231,139115
UE,"10052360","51",Slovenske Konjice,224.03,1995/01/01,1995/01/01,V,532451,133315
UE,"10052386","53",Škofja Loka,512.36,1995/01/01,1995/01/01,V,446179,114397
UE,"10052394","54",Šmarje pri Jelšah,400.01,1995/01/01,1995/01/01,V,539970,121055
UE,"10052408","55",Tolmin,942.29,1995/01/01,1995/01/01,V,402358,116998
UE,"10052416","56",Trbovlje,58.11,1995/01/01,1995/01/01,V,503790,112215
UE,"10052432","58",Tržič,155.36,1995/01/01,1995/01/01,V,446810,136457
UE,"10052459","59",Velenje,197.42,1995/01/01,1995/01/01,V,508611,136146
UE,"10052467","60",Vrhnika,169.08,1995/01/01,1995/01/01,V,445259,91637
UE,"10052475","61",Zagorje ob Savi,147.17,1995/01/01,1995/01/01,V,499260,111116
UE,"10052483","62",Žalec,334.52,1995/01/01,1995/01/01,V,512640,123485
UE,"10052491","64",Maribor,356.54,1995/01/01,1995/01/01,V,549372,158294
UE,"10052505","65",Pesnica,172.33,1995/01/01,1995/01/01,V,543222,167065
UE,"10052513","68",Ruše,209.50,1995/01/01,1995/01/01,V,539531,155565
Loading

0 comments on commit 3b3d19c

Please sign in to comment.