Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- do not find location metadata if no geometry object is present
  • Loading branch information
temi committed Sep 27, 2024
1 parent 632a810 commit 0e7638d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ class AdminController {
log.info("${total+1} or ${(total+1)*100/totalSites} % sites updated in db..")
}

if (!site.extent) {
log.debug("Ignoring site ${site.siteId} due to no extent")
if (!site.extent?.geometry) {
log.debug("Ignoring site ${site.siteId} due to no extent/geometry")
return
}
// management unit site does not have any projects
Expand Down

0 comments on commit 0e7638d

Please sign in to comment.