Closed jbouffard closed 6 years ago
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
namedtuple
GlobalLayout
LocalLayout
This PR changes some of the GeoTrellis types from
namedtuple
s to sub-classes ofnamedtuple
s. The reason for this is because of how they're represented in the documentation. For example, theGlobalLayout
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 anamedtuple
. WhereasLocalLayout
is a sub-class ofnamedtuple
, and its docstrings are visible in the docs https://geopyspark.readthedocs.io/en/latest/docs/geopyspark.geotrellis.html#geopyspark.geotrellis.LocalLayout