You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.
Prepared an example method "MultibandTile2LabelPoint" in UtilsSVM
class id is missing (currently placeholder 0.0 = Unclassified)
selection of "area of interest" per class missing
not elegant way (stitch + parallelize afterwards = not memory efficient, workflow not parallelized)
spatial information is lost: converting 2(+1) dimensional raster tile to 1(+1) dimensional point samples (note dimension+1: bands are converted to featurevector)
// Use UtilsKafka & UtilsSVM to create Kafka Stream from samples
val (brokers, topic) = ("localhost:9092","neu")
UtilsKafka.initKafka(topic)(brokers)
val messages : Array[String] = UtilsSVM.toKafkaString(samples, UtilsSVM.Delimiter(";")).toLocalIterator.toArray
val nmsg : Int = messages.length
logger debug s"messages $nmsg"
for ( imsg <- 0 until nmsg ){
val str = messages(imsg)
UtilsKafka.send(str)
}
testet with: kafka_2.11-0.10.1.1$ bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic neu --from-beginning :
No description provided.
The text was updated successfully, but these errors were encountered: