-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
geojsontojson: Add inconsistent information to meta
- Loading branch information
Showing
18 changed files
with
887 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
126 changes: 126 additions & 0 deletions
126
tests/fixtures/geojson_to_json/organisations_inconsistent_1.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
{ | ||
"networks": [ | ||
{ | ||
"id": "a096d627-72e1-4f9b-b129-951b1737bff4", | ||
"name": "Ghana Fibre Network", | ||
"nodes": [ | ||
{ | ||
"id": "1", | ||
"name": "Accra", | ||
"physicalInfrastructureProvider": { | ||
"id": "GH-RGD-CS111111111" | ||
}, | ||
"networkProvider": { | ||
"id": "GH-RGD-CS222222222" | ||
}, | ||
"location": { | ||
"type": "Point", | ||
"coordinates": [ | ||
-0.174, | ||
5.625 | ||
] | ||
} | ||
}, | ||
{ | ||
"id": "2", | ||
"name": "Kumasi", | ||
"status": "operational", | ||
"physicalInfrastructureProvider": { | ||
"id": "GH-RGD-CS111111111" | ||
}, | ||
"networkProvider": { | ||
"id": "GH-RGD-CS222222222" | ||
}, | ||
"location": { | ||
"type": "Point", | ||
"coordinates": [ | ||
-1.628, | ||
6.711 | ||
] | ||
} | ||
} | ||
], | ||
"spans": [ | ||
{ | ||
"id": "1", | ||
"name": "Accra to Kumasi", | ||
"start": "1", | ||
"end": "2", | ||
"physicalInfrastructureProvider": { | ||
"id": "GH-RGD-CS111111111" | ||
}, | ||
"networkProvider": { | ||
"id": "GH-RGD-CS222222222" | ||
}, | ||
"route": { | ||
"type": "LineString", | ||
"coordinates": [ | ||
[ | ||
-0.173, | ||
5.626 | ||
], | ||
[ | ||
-0.178, | ||
5.807 | ||
], | ||
[ | ||
-0.112, | ||
5.971 | ||
], | ||
[ | ||
-0.211, | ||
5.963 | ||
], | ||
[ | ||
-0.321, | ||
6.17 | ||
], | ||
[ | ||
-0.488, | ||
6.29 | ||
], | ||
[ | ||
-0.56, | ||
6.421 | ||
], | ||
[ | ||
-0.752, | ||
6.533 | ||
], | ||
[ | ||
-0.867, | ||
6.607 | ||
], | ||
[ | ||
-1.101, | ||
6.585 | ||
], | ||
[ | ||
-1.304, | ||
6.623 | ||
], | ||
[ | ||
-1.461, | ||
6.727 | ||
], | ||
[ | ||
-1.628, | ||
6.713 | ||
] | ||
] | ||
} | ||
} | ||
], | ||
"organisations": [ | ||
{ | ||
"id": "GH-RGD-CS111111111", | ||
"name": "FibreCo" | ||
}, | ||
{ | ||
"id": "GH-RGD-CS222222222", | ||
"name": "FastWeb" | ||
} | ||
] | ||
} | ||
] | ||
} |
100 changes: 100 additions & 0 deletions
100
tests/fixtures/geojson_to_json/organisations_inconsistent_1.meta.expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
{ | ||
"output_field_coverage": { | ||
"/networks": { | ||
"count": 1 | ||
}, | ||
"/networks/id": { | ||
"count": 1 | ||
}, | ||
"/networks/name": { | ||
"count": 1 | ||
}, | ||
"/networks/nodes": { | ||
"count": 1 | ||
}, | ||
"/networks/nodes/id": { | ||
"count": 2 | ||
}, | ||
"/networks/nodes/name": { | ||
"count": 2 | ||
}, | ||
"/networks/nodes/physicalInfrastructureProvider": { | ||
"count": 2 | ||
}, | ||
"/networks/nodes/physicalInfrastructureProvider/id": { | ||
"count": 2 | ||
}, | ||
"/networks/nodes/networkProvider": { | ||
"count": 2 | ||
}, | ||
"/networks/nodes/networkProvider/id": { | ||
"count": 2 | ||
}, | ||
"/networks/nodes/location": { | ||
"count": 2 | ||
}, | ||
"/networks/nodes/location/type": { | ||
"count": 2 | ||
}, | ||
"/networks/nodes/location/coordinates": { | ||
"count": 2 | ||
}, | ||
"/networks/nodes/status": { | ||
"count": 1 | ||
}, | ||
"/networks/spans": { | ||
"count": 1 | ||
}, | ||
"/networks/spans/id": { | ||
"count": 1 | ||
}, | ||
"/networks/spans/name": { | ||
"count": 1 | ||
}, | ||
"/networks/spans/start": { | ||
"count": 1 | ||
}, | ||
"/networks/spans/end": { | ||
"count": 1 | ||
}, | ||
"/networks/spans/physicalInfrastructureProvider": { | ||
"count": 1 | ||
}, | ||
"/networks/spans/physicalInfrastructureProvider/id": { | ||
"count": 1 | ||
}, | ||
"/networks/spans/networkProvider": { | ||
"count": 1 | ||
}, | ||
"/networks/spans/networkProvider/id": { | ||
"count": 1 | ||
}, | ||
"/networks/spans/route": { | ||
"count": 1 | ||
}, | ||
"/networks/spans/route/type": { | ||
"count": 1 | ||
}, | ||
"/networks/spans/route/coordinates": { | ||
"count": 1 | ||
}, | ||
"/networks/organisations": { | ||
"count": 1 | ||
}, | ||
"/networks/organisations/id": { | ||
"count": 2 | ||
}, | ||
"/networks/organisations/name": { | ||
"count": 2 | ||
} | ||
}, | ||
"inconsistent_phases_by_network_id": {}, | ||
"inconsistent_organisations_by_network_id": { | ||
"a096d627-72e1-4f9b-b129-951b1737bff4": { | ||
"organisation_ids": [ | ||
"GH-RGD-CS111111111", | ||
"GH-RGD-CS222222222" | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.