Skip to content

Commit

Permalink
add log to debug windows extracting process
Browse files Browse the repository at this point in the history
  • Loading branch information
reyman committed Sep 19, 2024
1 parent 71c8374 commit 8206cad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/scala/eighties/h24/tools/ExtractRelevantData.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import org.locationtech.jts.geom.Geometry
import org.opengis.feature.simple.SimpleFeature
import scopt.OParser

import scala.util.Try
import scala.util.{Try,Failure}
import com.github.tototoshi.csv.defaultCSVFormat

@main def ExtractRelevantData(args: String*): Unit = {
Expand Down Expand Up @@ -69,6 +69,7 @@ import com.github.tototoshi.csv.defaultCSVFormat
try {
Try {
val featureReader = Iterator.continually(reader.next).takeWhile(_ => reader.hasNext)
Log.log("Feature Reader is ready ...")
featureReader.filter(feature=>filter(feature)).foreach{
feature=>
Log.log("Write ...")
Expand Down

0 comments on commit 8206cad

Please sign in to comment.