Skip to content

tol parameter and buffer options in source code #13

@fgoerlich

Description

@fgoerlich

Hi,
I wonder how is exactly implemented the tol parameter in calculations.

Surfing the source code in JGiscoTools it seems that it uses the buffer function:
buffer(String inFile, String outFile, double bufferDistance, int quadrantSegments, int endCapStyle)
in the DataPreparation.java module.

So the next question is what are the default values of quadrantSegments and endCapStyle in this function.

I am able to reproduce all the examples in GridMaker in an R translation of the code, except for some exterior cells when the tol parameter is used. Is does not affect the interior cells, so it is a question of how the buffer is generated.

Thanks a lot

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