Source code for epygram.geometries.PointGeometry

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
H2DGeometry:

Contains the classes for Point geometries of fields.
"""

from footprints import FootprintBase, FPDict

from epygram.util import RecursiveObject



[docs]class PointGeometry(RecursiveObject, FootprintBase): """ Handles the geometry for a Geographical Point Field. """ _collector = ('geometry',) _footprint = dict( attr=dict( structure=dict( values=set(['Point'])), hlocation=dict( type=FPDict, info="Handles horizontal location of the point.") ) )