Background

https://github.com/apache/streampipes/blob/dev/streampipes-extensions/streampipes-processors-geo-jvm/src/main/resources/org.apache.streampipes.processors.geo.jvm.latlong.processor.distancecalculator.haversinestatic/documentation.md



Data Setup

import file and seup schema

+ add timestamp

+ add semantic type geo:lat

+ geo:long ti the lat lng values


distance_static.csv


Pipeline


+ add static fields lat 52.520008

+ add static fields lng 13.404953

Result

timestampdistanceidlatlngplace
1676148514098524.87127685546881.049.010299682617198.409319877624512Karlsruhe
?




?




16761485141006384.996093754.040.71269989013672-74.00579833984375New York


Tests


Performance


  • No labels