Skip to content

Commit

Permalink
Added avro file format to network
Browse files Browse the repository at this point in the history
  • Loading branch information
frievoe97 committed Jun 3, 2024
1 parent 3e375bc commit 798f5d3
Show file tree
Hide file tree
Showing 4 changed files with 2,051 additions and 0 deletions.
96 changes: 96 additions & 0 deletions contribs/application/src/main/avro/network.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"namespace": "org.matsim.application.avro",
"type": "record",
"name": "AvroNetwork",
"fields": [
{
"name": "crs",
"type": "string",
"doc": "Coordinate reference system"
},
{
"type": {
"type": "array",
"items": "string"
},
"name": "nodeId"
},
{
"type": {
"type": "array",
"items": "float"
},
"name": "nodeCoordinates"
},
{
"name": "nodeAttributes",
"type": {
"type": "array",
"items": "string"
}
},
{
"name": "modes",
"type": {
"type": "array",
"items": "string"
}
},
{
"type": {
"type": "array",
"items": "string"
},
"name": "linkId"
},
{
"type": {
"type": "array",
"items": "float"
},
"name": "length"
},
{
"type": {
"type": "array",
"items": "float"
},
"name": "freespeed"
},
{
"type": {
"type": "array",
"items": "float"
},
"name": "capacity"
},
{
"type": {
"type": "array",
"items": "float"
},
"name": "permlanes"
},
{
"type": {
"type": "array",
"items": "int"
},
"name": "allowedModes"
},
{
"type": {
"type": "array",
"items": "string"
},
"name": "from"
},
{
"type": {
"type": "array",
"items": "string"
},
"name": "to"
}
]
}
Loading

0 comments on commit 798f5d3

Please sign in to comment.