Skip to content

Commit

Permalink
Added avro file
Browse files Browse the repository at this point in the history
  • Loading branch information
frievoe97 committed May 6, 2024
1 parent 8e665f4 commit 3a1e3c4
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions contribs/application/src/main/avro/xyt.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"namespace": "org.matsim.application.avro",
"type": "record",
"name": "XYTData",
"fields": [
{
"name": "crs",
"type": "string",
"doc": "Coordinate reference system"
},
{
"name": "xCoords",
"doc": "List of x coordinates",
"type": {
"type": "array",
"items": "float"
}
},
{
"name": "yCoords",
"doc": "List of y coordinates",
"type": {
"type": "array",
"items": "float"
}
},
{
"name": "timestamps",
"doc": "List of timestamps in seconds",
"type": {
"type": "array",
"items": "int"
}
},
{
"name": "data",
"doc": "XYT data for each dataset. The key is the name, the data is stored in one chunk of data.",
"type": {
"type": "map",
"values": {
"type": "array",
"items": "float"
}
}
}
]
}

0 comments on commit 3a1e3c4

Please sign in to comment.