Skip to content

'burn' is working only in cli mode #33

@robert-werner

Description

@robert-werner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions