Skip to content

Commit

Permalink
update requirements file (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
LimberHope authored Dec 13, 2024
1 parent 3a83f0b commit 0e76817
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ public function __invoke(EntityModel $entity, string $slug)
->first();
$results = [
'id' => $polygon->id,
'poly_name' => $polygon->poly_name,
'poly_name' => $polygon->poly_name ?? '-',
'poly_id' => $polygon->poly_id,
'site_id' => $polygon->site_id,
'status' => $polygon->status,
'plantstart' => $polygon->plantstart,
'site_name' => $polygon->site->name ?? '',
'plantstart' => $polygon->plantstart ?? '-',
'site_name' => $polygon->site->name ?? '-',
'size' => round($polygon->calc_area ?? 0, 3),
'indicator_slug' => $indicator->indicator_slug,
'year_of_analysis' => $indicator->year_of_analysis,
Expand Down
5 changes: 2 additions & 3 deletions resources/python/polygon-indicator/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
shapely==2.0.1
geopandas==1.0.1
pandas==2.1.3
geopandas==1.9.0
pandas==2.1.2
requests==2.32.3
yaml==6.0.2
fiona==1.10.1
exactextract==0.2.0
rasterio==1.4.3
Expand Down

0 comments on commit 0e76817

Please sign in to comment.