java.util.NoSuchElementException: None.get
from TemporalProjectedExtentCodec.encode
#2033
Milestone
java.util.NoSuchElementException: None.get
from TemporalProjectedExtentCodec.encode
#2033
The
epsgCode
in traitCRS
is marked asOption[Int]
, butTemporalProjectedExtentCodec
ignores the optionality and unsafely callsget
.https://github.com/locationtech/geotrellis/blob/master/spark/src/main/scala/geotrellis/spark/io/avro/codecs/TemporalProjectedExtentCodec.scala#L42
Getting this exception after reading in some MODIS data where the embedded CRS doesn't reference an EPSG code (assuming this branch was taken). At any rate, it doesn't seem uncommon for this function to come along a "proj4" string it doesn't recognize.
The text was updated successfully, but these errors were encountered: