pegler / pytzwhere

python library to look up timezone from lat lng offline
Other
146 stars 54 forks source link

updated used data #36

Closed jannikmi closed 8 years ago

jannikmi commented 8 years ago

parsed .shp from tz_world into .json and this into .csv added the script I used for parsing .json into .csv

Tests are passing (in comparison to my timezonefinder) but for some mysterious reason there are no results for these points (these polygons are actually in the .csv!?)

-111.23356158270063, 37.9665673406316) America/Denver None (-111.85066595211599, 40.3627464747227) America/Denver None (13.68327386764443, 41.69994852413657) Europe/Rome None (15.33160647515814, 41.064699243112756) Europe/Rome None (15.548206085249575, 40.60882113082016) Europe/Rome None (-111.7138423798663, 39.40796915123995) America/Denver None (12.511280281269222, 42.951766690898324) Europe/Rome None (14.480846256258332, 41.16479004136795) Europe/Rome None (13.344433111130371, 41.67137225900679) Europe/Rome None

this might have something to do with the last point in the polygon... I think in your data format the first coordinate in a polygon equals the last one right? That's how i parsed the data.