You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-2-07450c06b8a0> in <module>
5 (
6 Theto(api_key=None)
----> 7 .add_source(wkts, label='a')
8 .prepare_plot(plot_width=400, map_type='carto_light')
9 .add_layer('a', fill_color='yellow', line_color='black', alpha=0.5)
/opt/maxpoint/envs/analysis-preview-py3-115.0-5968/lib/python3.6/site-packages/theto/theto.py in add_source(self, data, label, uid, column_name, **kwargs)
256 processed_data = [coordinate_utils.import_geojson(v, self.precision) for v in raw_data]
257 else:
--> 258 processed_data = [coordinate_utils.process_input_value(v) for v in raw_data]
259
260 processed_data_transformed = [coordinate_utils.to_webmercator(v) for v in processed_data]
/opt/maxpoint/envs/analysis-preview-py3-115.0-5968/lib/python3.6/site-packages/theto/theto.py in <listcomp>(.0)
256 processed_data = [coordinate_utils.import_geojson(v, self.precision) for v in raw_data]
257 else:
--> 258 processed_data = [coordinate_utils.process_input_value(v) for v in raw_data]
259
260 processed_data_transformed = [coordinate_utils.to_webmercator(v) for v in processed_data]
/opt/maxpoint/envs/analysis-preview-py3-115.0-5968/lib/python3.6/site-packages/theto/coordinate_utils.py in process_input_value(value)
288 return loads(value)
289 else:
--> 290 raise ValueError('String inputs must be either a geohash or well-known text.')
291 elif type(value) in (tuple, list):
292 if validate_latlon_pair(value):
ValueError: String inputs must be either a geohash or well-known text.
The text was updated successfully, but these errors were encountered:
Theto throws an error when attempting to plot a MultiLineString well known text data type. MWE below:
The following error is produced:
The text was updated successfully, but these errors were encountered: