https://github.com/chapmanjacobd/timezone_shapefiles
https://github.com/chapmanjacobd/timezone_shapefiles
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/chapmanjacobd/timezone_shapefiles
- Owner: chapmanjacobd
- Created: 2019-03-15T21:15:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-15T21:50:18.000Z (almost 7 years ago)
- Last Synced: 2025-01-18T08:45:21.963Z (12 months ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# timezone_shapefiles
[https://traveladdicts.unli.xyz/guestblog/timezone-shapefiles](https://traveladdicts.unli.xyz/guestblog/timezone-shapefiles)
data extracted from [who's on first](https://github.com/whosonfirst-data/whosonfirst-data/blob/master/LICENSE.md)
```
select
replace(group_concat( distinct e.name || ','),',,',',') n,
a.id,
a.parent_id,
a.country,
a.name s,
a.placetype,
b.ancestor_placetype,
b.ancestor_id,
a.latitude,
a.longitude,
a.min_latitude,
a.min_longitude,
a.max_latitude,
a.max_longitude,
a.is_current,
a.is_deprecated,
a.is_ceased,
a.is_superseded,
a.is_superseding,
a.superseded_by,
a.supersedes,
c.other_id,
c.other_source,
a.lastmodified,
d.body
from spr a
join names e on a.id = e.id
join ancestors b on a.id = b.id
join concordances c on a.id = c.id
join geojson d on a.id = d.id
where a.placetype in ('timezone')
group by a.id
```