计算合并编码多段线时级别的值 [英] Calculating value of Levels when merging encoded polylines
问题描述
因此,通过上一个问题/发布,我可以了解如何加入多段线,但是,现在我需要了解如何为关卡做同样的事情。使用与以前相同的样本:
41.386692,-73.475912
41.424822,-73.375027
41.428292, - 73.311173
41.426183,-73.254577
41.470168,-73.218532
41.498865,-73.155278
$ b $第一个3级:PIP
第二个3级:PIP
所有6个级别:PIGJIP
这些是如何计算的?有没有什么方法可以计算/合并这些,而不用重新编码整个多段线?
我相信你不会需要第3版的水平。这是改进之一。但是如果你想计算它们,那么Mark McClure的网站描述了这种方法。
This is a follow-up question to Merging multiple encoded polylines into one encoded polyline.
So through the last question/post I was able to work through finding out how to join polylines, however, now I need to figure out how to do the same for the levels. Using the same sample as before:
41.386692,-73.475912
41.424822,-73.375027
41.428292,-73.311173
41.426183,-73.254577
41.470168,-73.218532
41.498865,-73.155278
First 3 levels: PIP
Second 3 Levels: PIP
All 6 levels: PIGJIP
How are these calculated? Is there any way that I can calculate/merge these without reencoding the whole polyline?
I'm sure you don't need levels for Version 3. That was one of the improvements. But if you want to calculate them, then Mark McClure's site describes the method.
这篇关于计算合并编码多段线时级别的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!