Manuel Castro
Manuel Castro

Reputation: 1723

Encoded Polylines Separator

I need to send as GET parameters a list of encoded poly. How can I separate them? Which character could I use to avoid issues? I need something like this

myPage?poly=encoding1;encoding2&other=stuff

The polyline encoder which character set uses?

Upvotes: 2

Views: 340

Answers (1)

antonio
antonio

Reputation: 18242

According to the documentation (emphasys mine):

The encoding process converts a binary value into a series of character codes for ASCII characters using the familiar base64 encoding scheme: to ensure proper display of these characters, encoded values are summed with 63 (the ASCII character '?') before converting them into ASCII.

Thus, you could use any ASCII character below ASCII 63 (?) to separate your polylines.

Upvotes: 4

Related Questions