Skip to content
Snippets Groups Projects

Resolve "Create a rule that gets the construction date from cadaster data for Tabula dataset."

Compare and Show latest version
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -18,9 +18,9 @@ from rulelib import AbstractRule
class DateFromValencianCadasterRule(AbstractRule):
from databaselib import AbstractDatabase
from databaselib import PostGISDatabase
def __call__(self, database: AbstractDatabase, geometry: str, *args, **kwargs):
def __call__(self, database: PostGISDatabase, geometry: str, *args, **kwargs):
"""
A building's geometry is tested for intersection with a cadastral parcel in the source
database, if there is cadaster data for this location. There is currently only
Loading