Commit ed7daa2e authored by Nicolas Garcia Ospina's avatar Nicolas Garcia Ospina
Browse files

Changed size_built_area to built_area_size

parent e0d482e5
Pipeline #21466 passed with stage
in 4 minutes and 18 seconds
......@@ -269,7 +269,7 @@ class TileProcessor:
quadkey (str): Tile quadkey
source_id (int): Integer associated to a predefined method
built_area (str): Polygon string projected to WGS84 coordinates.
size_built_area (float): Area measured in squared meters.
built_area_size (float): Area measured in squared meters.
last_update (str): Date when the pickle was generated.
Args:
......@@ -293,7 +293,7 @@ class TileProcessor:
"quadkey": tile.quadkey,
"source_id": datasource.source_id,
"built_area": TileProcessor.reproject_polygon(built_polygon, tile.crs, "epsg:4326"),
"size_built_area": TileProcessor.albers_area_calculation(built_polygon, tile.crs),
"built_area_size": TileProcessor.albers_area_calculation(built_polygon, tile.crs),
"last_update": str(date.today()),
}
if not results["source_id"]:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment