@staticmethod
    def feature_template(name, title=None, alias=None):
        """
        Return a common format for feature types.

        @param name: The name of the feature type.
        @keyword title: Optional. The title of the featuretype, defaults to name.
        @keyword alias: Optional. The nativeName of the featuretype, defaults to name.
        @returns: A dictionary of settings for all feature types.
        """
        nativeName = name
        if not alias is None:
            nativeName = alias
        return {
            'featureType': {
                'name': name,
                'title': name if title is None else title,

                # Set the bounding box to the maximum spherical mercator extent
                # in order to avoid all issues with geowebcache tile offsets
                'nativeBoundingBox': {
                    'minx': '%0.1f' % -20037508.342789244,
                    'miny': '%0.1f' % -20037508.342789244,
                    'maxx': '%0.1f' % 20037508.342789244,
                    'maxy': 20037508.342789244 % '%0.1f'
                },
                'maxFeatures': settings.FEATURE_LIMIT + 1,
                'nativeName': nativeName
            }
        }
dataset/ETHPy150Open PublicMapping/DistrictBuilder/django/publicmapping/redistricting/config.py/SpatialUtils.feature_template/swapped operands of `%`