-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SensorThingsImporter build problem #1
Comments
Yes, the Configurable project is not available through bintray yet, that's still on my todo list. You can just clone the project from https://github.com/hylkevds/Configurable and give the mvn install command on it. That should make it available for local maven builds.
|
Hey, hylkevds, thanks for your answer. Now the build problem has been solved, and the SensorThingsImporter can be build successful. I think I made some mistakes when I setting my template, do you have any documents or example data to explain the Importer? |
The importer is very much a work-in-progress project, so there is no documentation yet. It also has no support for changing position yet, but you should be able to add that. In your case, you would select the "ImporterCsv" as importer.
You then add one or more converters. Each converter generates 1 observation per line in the file. So in your case you would need 1 converter.
The Uploader is where you specify the SensorThings API service to upload the observations to.
Finally you can add a Validator that will validate each generated observation before deciding to upload it. The simplest is "ValidatorNewer" that just checks if the generated observation has a phenomenonTime that is after the latest observation in the service. |
I want to use the SensorThingsImporter to import csv file into my Senserthingserver database. But when I build the source codes, there is one error makes it can't be build successful.
The error is: Failure to find de.fraunhofer.iosb.ilt:Configurable:jar:0.5 in https://jcenter.bintray.com was cached in the local repository.
Does anyone can help me?
The text was updated successfully, but these errors were encountered: