diff --git a/ocitysmap2/__init__.py b/ocitysmap2/__init__.py index e826670..593ae6c 100644 --- a/ocitysmap2/__init__.py +++ b/ocitysmap2/__init__.py @@ -127,7 +127,7 @@ class Stylesheet: class OCitySMap: """ - TODO + TODO: documentation here """ DEFAULT_REQUEST_TIMEOUT_MIN = 15 @@ -238,7 +238,7 @@ class OCitySMap: def _get_osmid_area(self, osmid): """Returns the bounding box area around the given OSM ID.""" - # TODO: + # TODO: merge with get_bounding_box l.info('Looking for contour around OSM ID %d...' % osmid) cursor = self._db.cursor() cursor.execute("""select st_astext(st_transform(st_buildarea(way), 4002)) diff --git a/ocitysmap2/index/indexer.py b/ocitysmap2/index/indexer.py index f88d33d..20fe139 100644 --- a/ocitysmap2/index/indexer.py +++ b/ocitysmap2/index/indexer.py @@ -195,8 +195,6 @@ class StreetIndex: return [category for category in result if category.items] - def build_data_nogrid(self): - return self._categories if __name__ == "__main__": import os