Google recently released new vector cartography for their mobile maps. I'm curious if anyone here has any insight into the wire format they use for transmission? I've experimented with a few formats over the years, including bencode, bson, variants of WKT and WKB, and gzipped, limited-precision geojson which I've found to be the best trade-off in comprehensibility and file size. I'd love to know what Google decided on, but I don't have an Android device to test with.
I was able to decompile and poke around. Trying to sort through hundreds(maybe thousands) of classes named 'a','b','c' was too much for me, but I think the answer is in there for someone who knows their away around. I definitely prefer just using the app!
If you are inclined to unpack the
dex file out of the
apk file and convert it to a jar, you can open it with a java decompiler. This may or may not be legal depending on the software license or the country in which you live--although I couldn't find anything specifically about my app on my droid. Maybe it's legal text in using the android OS (in which case, I'll have to come back and delete part of this answer).
Not having actually looked, I'd guess something encoded using Protocol Buffers. Probably KML-ish, if I were to guess further.
Probably the best way to get help with this question is to borrow and android device, choose a relatively sparse (mapping) area that the android device hasn't shown before, connect to the local wireless network, and use a sniffer to capture the network traffic as you view that area on the android device.
Post the image of the area you chose, and its coordinates so one can check out the surrounding area if needed, and post the network trace.
Those that have time to dissect it will have a better chance of giving you useful information if you hand them a good chunk of data as above.
Note that the mapping data is proprietary, and it's quite possible that they are encrypting it. If nothing else, encrypting it gives their users some sense of privacy since they would know that only google has their location information, and that it couldn't easily be found just by sniffing the network traffic.
If it is encrypted, it might be easier to start by disassembling or decompiling the Google Map Application.