Skip to content

Commit 3e2b2cb

Browse files
committed
fix GMLTimePeriod - computeInterval condition
1 parent 6aa258b commit 3e2b2cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Package: geometa
22
Type: Package
33
Title: Tools for Reading and Writing ISO/OGC Geographic Metadata
44
Version: 0.9.2
5-
Date: 2025-03-08
5+
Date: 2025-03-23
66
Authors@R: c(
77
person("Emmanuel", "Blondel", role = c("aut", "cre"), email = "emmanuel.blondel1@gmail.com", comment = c(ORCID = "0000-0002-5870-5762")),
88
person("R Consortium", role = "fnd"))

R/GMLTimePeriod.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ GMLTimePeriod <- R6Class("GMLTimePeriod",
9494
self$endPosition$setAttr("indeterminatePosition", indeterminatePosition)
9595
}
9696
if(!is.null(self$beginPosition)){
97-
if(is.null(self$endPosition$attrs$indeterminatePosition) & is.null(self$beginPosition$attrs$indeterminatePosition)){
97+
if(!is.null(self$endPosition$attrs$indeterminatePosition) & !is.null(self$beginPosition$attrs$indeterminatePosition)){
9898
self$computeInterval()
9999
}
100100
}

0 commit comments

Comments
 (0)