Skip to content

Generates userId and gps data of pedestrians moving around randomly within an envelope.

License

Notifications You must be signed in to change notification settings

OneTrackingFramework/gps-data-generator-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gps-data-generator-service

Generates userId and gps data of pedestrians moving around randomly within an envelope.

This project is based on: https://github.com/mstahv/spring-boot-spatial-example utilizing the flexible polyline encoder/decoder implementation of: https://github.com/heremaps/flexible-polyline for Java.

Example data

Configuration

Property Description
app.apiKey The API key to be used for the HERE Routing API
app.storage.file The location of the CSV file to store already calculated routes to. Routes will be stored on server shutdown and loaded the at the next server startup. For example: ${java.io.tmpdir}/db.csv
app.envelope.start The starting point of the envelope to generate points within. For example: POINT (lat lon)
app.envelope.end The ending point of the envelope to generate points within. For example: POINT (lat lon)
app.create.amount.users The amount of UUIDs to generate used as userIds. Minimum: 0 (no generation of points)
app.create.amount.travels The amount of travels to generate per userId. Minimum: 1 (this will generate two points and calculate the route between these two points)

Functionality

On server startup the stored data in the configured CSV file will be loaded if exists. Depending on the configuration of how many userIds and travels should be generated, the server will generate these routes utilizing the HERE Routing API. All data will be stored in a local H2 database (or MySQL) supporting spatial data. If the server is shutdown, the content of the database will be written back to the configured CSV file. You can view the generated data on the Vaadin UI. (http://localhost:8080 by default)

About

Generates userId and gps data of pedestrians moving around randomly within an envelope.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published