Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tol parameter and buffer options in source code #13

Open
fgoerlich opened this issue Feb 20, 2023 · 0 comments
Open

tol parameter and buffer options in source code #13

fgoerlich opened this issue Feb 20, 2023 · 0 comments

Comments

@fgoerlich
Copy link

fgoerlich commented Feb 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant