gtfstidy:用于检查,清理和最小化GTFS提要的工具

时间:2024-06-05 03:16:40
【文件属性】:

文件名称:gtfstidy:用于检查,清理和最小化GTFS提要的工具

文件大小:79KB

文件格式:ZIP

更新时间:2024-06-05 03:16:40

validation minimization gtfs tidy Go

gtfstidy 整理(并验证) 提要。 修复细微的矛盾,最小化整个Feed的大小,为Feed的安全,符合标准的进一步使用做好准备。 输出提要在语义上等效于输入提要。 在这种情况下,语义上的对等意味着输出提要提供具有完全相同的属性(路线,停留时间,形状,代理商,票价等)的完全相同的行程。 换句话说,从乘客的角度来看,输出提要等于输入提要。 0.特点 清除CSV输出。 仅在需要的地方引用字符串值,使用动态浮点精度,删除空格。 仅输出必要的文件。 默认值错误处理。 如果输入Feed中的非必填字段有错误,请根据GTFS标准退回到默认值 丢弃实体错误处理。 如果发生不可修复的错误,请放下受影响的实体(行程,路线,停靠点等)。 孤儿删除。 删除任何地方都未引用的停靠点,路线,停靠时间和形状 ID最小化。 用密集的整数或字符ID替换ID 形状最小化。 使用算法最小化形状几何 服务最小化。


【文件预览】:
gtfstidy-master
----.gitignore(6B)
----README.md(18KB)
----main_test.go(3KB)
----LICENSE(15KB)
----processors()
--------shapeidx.go(5KB)
--------frequencyminizer.go(14KB)
--------servicecaldatesremover.go(6KB)
--------serviceminimizer_test.go(6KB)
--------testfeed-err()
--------shaperemeasurer.go(3KB)
--------agencyduplicateremover.go(4KB)
--------tripduplicateremover.go(16KB)
--------shapeduplicateremover_test.go(842B)
--------shapeduplicateremover.go(5KB)
--------serviceduplicateremover.go(6KB)
--------testfeed-merge()
--------shapeminimizer_test.go(2KB)
--------orphanminimizer.go(4KB)
--------stopreclusterer.go(13KB)
--------serviceminimizer.go(8KB)
--------serviceduplicateremover_test.go(3KB)
--------stopduplicateremover.go(6KB)
--------priorityqueue.go(1KB)
--------shapeminimizer.go(2KB)
--------routeduplicateremover.go(7KB)
--------frequencyminizer_test.go(575B)
--------util.go(4KB)
--------idminimizer.go(4KB)
--------testfeed()
--------routeduplicateremover_test.go(2KB)
--------processor.go(856B)
--------stopclusteridx.go(4KB)
--------stopduplicateremover_test.go(1KB)
----gtfstidy.go(15KB)
----.travis.yml(2KB)
----Makefile(472B)

网友评论