문제

Does anybody know how to convert results from the magnetic-field sensor from an android device to coordinates using the World Magnetic Model? Is there a webservice that does that?

도움이 되었습니까?

해결책

You cannot do this. First of all you want co-ordinates which means 2 values. Only one what magnetic field provides is not enough. Second - even if you catch it correctly you will only know that you are on one of those isolines. That's not too much. You can be in Europe or Africa as well. Third and final - it's real magnetic field around you. Nearby passing car which is heavy metallic object object will change your field dramatically. Other magnetic sources like your phone ringing or electric wiring around will tell you that you travel from Brasil to Egypt when you come form Bathroom to Living room.

다른 팁

Actually, the finnish company IndoorAtlas claims it can do at least indoor navigation based on the geo-magnetic field.

There's also a WhitePaper about the technology used.

But as said, it's only for indoor-navigation, so not a replacement for GPS.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top