(args)
| 77 | |
| 78 | |
| 79 | def main(args): |
| 80 | # Can skip deserialization into geometries. |
| 81 | if args.input_format == "flat" and args.output_format == "flat": |
| 82 | tagged_points = deserialize_flat(args.input) |
| 83 | serialize_flat(tagged_points, args.output) |
| 84 | else: |
| 85 | geometries = deserialize_geometries(args.input, args.input_format) |
| 86 | serialize_geometries(geometries, args.output, args.output_format) |
| 87 | |
| 88 | |
| 89 | if __name__ == "__main__": |
no test coverage detected