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

GeoTrellis Types Representation #654

Conversation

jbouffard
Copy link
Collaborator

This PR changes some of the GeoTrellis types from namedtuples to sub-classes of namedtuples. The reason for this is because of how they're represented in the documentation. For example, the GlobalLayout section of the API docs does not have any of the type's docstrings https://geopyspark.readthedocs.io/en/latest/docs/geopyspark.geotrellis.html#geopyspark.geotrellis.GlobalLayout because Sphinx don't know how to include docstrings to a namedtuple. Whereas LocalLayout is a sub-class of namedtuple, and its docstrings are visible in the docs https://geopyspark.readthedocs.io/en/latest/docs/geopyspark.geotrellis.html#geopyspark.geotrellis.LocalLayout

…tuples

Updated and added docstings to the geotrellis package
@jbouffard jbouffard force-pushed the improvement/geotrellis-types/classes branch from 667f4bf to 8b976db Compare May 2, 2018 16:15
@jbouffard jbouffard merged commit 13db9d2 into locationtech-labs:master May 2, 2018
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

Successfully merging this pull request may close these issues.

None yet

1 participant