Skip to content

spacing typecast to int #10

Closed
Closed
@jwardbond

Description

@jwardbond

spacing = int(0.25 * minimum_distance(gdf)) # less than 0.5? The less, the better?

Hello!

This line here changes spacing to int. This works okay for certain projected coordinate systems, but fails for others (any time spacing < 0, which happens when using e.g. buildings in EPSG:4326).

I think the code is still functional if this is taken out, and spacing is left as a float. Is there a reason for this type conversion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions