mirror of
https://github.com/BertoldVdb/ZoneDetect.git
synced 2026-04-27 14:57:40 +00:00
Add ocean regions to database
This commit is contained in:
parent
abba171e96
commit
f52c8f4135
1 changed files with 5 additions and 5 deletions
|
|
@ -10,7 +10,7 @@ mkdir -p timezone
|
||||||
|
|
||||||
(
|
(
|
||||||
echo https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_0_countries_lakes.zip -o /dev/null -O naturalearth/ne.zip
|
echo https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_0_countries_lakes.zip -o /dev/null -O naturalearth/ne.zip
|
||||||
echo https://github.com/evansiroky/timezone-boundary-builder/releases/download/2019b/timezones.shapefile.zip -o /dev/null -O timezone/tz.zip
|
echo https://github.com/evansiroky/timezone-boundary-builder/releases/download/2019b/timezones-with-oceans.shapefile.zip -o /dev/null -O timezone/tz.zip
|
||||||
) | xargs -n5 -P2 wget
|
) | xargs -n5 -P2 wget
|
||||||
|
|
||||||
cd naturalearth
|
cd naturalearth
|
||||||
|
|
@ -29,10 +29,10 @@ unzip tz.zip
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
(
|
(
|
||||||
echo "T timezone/dist/combined-shapefile ./out/timezone16.bin 16 \"Contains data from Natural Earth, placed in the Public Domain. Contains information from https://github.com/evansiroky/timezone-boundary-builder, which is made available here under the Open Database License \(ODbL\).\" 0";
|
echo "T timezone/dist/combined-shapefile-with-oceans ./out/timezone16.bin 16 \"Contains data from Natural Earth, placed in the Public Domain. Contains information from https://github.com/evansiroky/timezone-boundary-builder, which is made available here under the Open Database License \(ODbL\).\" 0";
|
||||||
echo "T timezone/dist/combined-shapefile ./out/timezone21.bin 21 \"Contains data from Natural Earth, placed in the Public Domain. Contains information from https://github.com/evansiroky/timezone-boundary-builder, which is made available here under the Open Database License \(ODbL\).\" 0";
|
echo "T timezone/dist/combined-shapefile-with-oceans ./out/timezone21.bin 21 \"Contains data from Natural Earth, placed in the Public Domain. Contains information from https://github.com/evansiroky/timezone-boundary-builder, which is made available here under the Open Database License \(ODbL\).\" 0";
|
||||||
echo "T timezone/dist/combined-shapefile ./out_v1/timezone16.bin 16 \"Contains data from Natural Earth, placed in the Public Domain. Contains information from https://github.com/evansiroky/timezone-boundary-builder, which is made available here under the Open Database License \(ODbL\).\" 1";
|
echo "T timezone/dist/combined-shapefile-with-oceans ./out_v1/timezone16.bin 16 \"Contains data from Natural Earth, placed in the Public Domain. Contains information from https://github.com/evansiroky/timezone-boundary-builder, which is made available here under the Open Database License \(ODbL\).\" 1";
|
||||||
echo "T timezone/dist/combined-shapefile ./out_v1/timezone21.bin 21 \"Contains data from Natural Earth, placed in the Public Domain. Contains information from https://github.com/evansiroky/timezone-boundary-builder, which is made available here under the Open Database License \(ODbL\).\" 1";
|
echo "T timezone/dist/combined-shapefile-with-oceans ./out_v1/timezone21.bin 21 \"Contains data from Natural Earth, placed in the Public Domain. Contains information from https://github.com/evansiroky/timezone-boundary-builder, which is made available here under the Open Database License \(ODbL\).\" 1";
|
||||||
) | xargs -n 6 -P4 ./builder
|
) | xargs -n 6 -P4 ./builder
|
||||||
|
|
||||||
rm -rf timezone naturalearth
|
rm -rf timezone naturalearth
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue