My favorites | Sign in
Project Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 1081: Bug: Results diferentes for same point (-179.9832104) in Encoded Polyline Algorithm and Interactive Polyline Encoder Utility
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Mar 2009
Type-Defect
ApiType-Javascript
Internal-1661722


Sign in to add a comment
 
Reported by sanroman.javier, Feb 19, 2009
In "Encoded Polyline Algorithm"
(http://code.google.com/intl/en/apis/maps/documentation/polylinealgorithm.html):
The point -179.9832104 encoded is `~oia@, 

but in "Interactive Polyline Encoder Utility"
(http://code.google.com/intl/en/apis/maps/documentation/polylineutility.html):
The same point (-179.9832104) encoded is b~oia@


Could it be a rounding problem of low or high, in step 2 of the algorithm?

More info:
http://www.jsanroman.net/2009/02/19/problema-codificando-polilineas-gpolyline-google-maps

Thanks
Javi Sanromán

*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************
 

utilidad_cod_pol.png
175 KB Download
algoritmo_cod_pol.png
57.5 KB Download
Comment 1 by pamela.fox, Feb 19, 2009
Thanks- we just changed our description to say "round" instead of "round down" but 
didn't update the utility to use Math.round instead of Math.floor. The visual results 
should look pretty much the same for the viewer, however.
Status: Accepted
Labels: Internal-1661722
Comment 2 by pamela.fox, Mar 03, 2009
(No comment was entered for this change.)
Status: FixedNotReleased
Comment 3 by pamela.fox, Mar 08, 2009
(No comment was entered for this change.)
Status: Fixed
Sign in to add a comment

Hosted by Google Code