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
When I use supermercado burn in cli mode, it works, passing [x,y,z]'s to specified file. When I use it as Python function, it does not work, writing this: File "C:\Users\someuser\Anaconda3\envs\somecode\lib\site-packages\supermercado\burntiles.py", line 20, in find_extrema totalArr = np.array([c for f in features for poly in f['geometry']['coordinates'] for c in poly for poly in f]) File "C:\Users\someuser\Anaconda3\envs\somecode\lib\site-packages\supermercado\burntiles.py", line 20, in <listcomp> totalArr = np.array([c for f in features for poly in f['geometry']['coordinates'] for c in poly for poly in f]) TypeError: string indices must be integers
The text was updated successfully, but these errors were encountered:
When I use supermercado burn in cli mode, it works, passing [x,y,z]'s to specified file. When I use it as Python function, it does not work, writing this:
File "C:\Users\someuser\Anaconda3\envs\somecode\lib\site-packages\supermercado\burntiles.py", line 20, in find_extrema totalArr = np.array([c for f in features for poly in f['geometry']['coordinates'] for c in poly for poly in f]) File "C:\Users\someuser\Anaconda3\envs\somecode\lib\site-packages\supermercado\burntiles.py", line 20, in <listcomp> totalArr = np.array([c for f in features for poly in f['geometry']['coordinates'] for c in poly for poly in f]) TypeError: string indices must be integers
The text was updated successfully, but these errors were encountered: