pegler / pytzwhere

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

Constructor fails with value error #63

Open pmallas opened 9 months ago

pmallas commented 9 months ago

---> 13 tz1 = tzwhere.tzwhere(forceTZ=True)

File ~\Miniconda3\envs\blah\Lib\site-packages\tzwhere\tzwhere.py:62, in tzwhere.init(self, forceTZ) 60 self.timezoneNamesToPolygons[tzname].append(poly) 61 for tzname, polys in self.timezoneNamesToPolygons.items(): ---> 62 self.timezoneNamesToPolygons[tzname] = WRAP(polys) 64 if forceTZ: 65 self.unprepTimezoneNamesToPolygons[tzname] = WRAP(polys)

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (1, 2) + inhomogeneous part.