GPS»ú×ø±êÔõôÑùÓëµØͼ¹«ÀïÍø×ø±êת»»

ÒѾٱ¨ »Ø´ð
GPS»ú×ø±êÔõôÑùÓëµØͼ¹«ÀïÍø×ø±êת»»
ÎÊÔÚÏß¿Í·þ
ɨÂëÎÊÔÚÏß¿Í·þ

ÓÐÊÖ³ÖʽGPS²âµÃµÄ×ø±ê£¬ÔõÑù½«µØͼÉϵĹ«ÀïÍø×ø±êת»»³ÉGPS×ø±ê

  • »Ø´ðÊý

    6

  • ä¯ÀÀÊý

    4,089

6¸ö»Ø´ð ĬÈÏÅÅÐò
  • ĬÈÏÅÅÐò
  • °´Ê±¼äÅÅÐò

ÒѲÉÄÉ
¸ù¾ÝµØͼÉϵÄ×ø±êºÍGPS²âµÃµÄ×ø±êÇó³öÒ»¸ö×ø±êת»»²ÎÊý£¬È»ºóÓɲÎÊýËã³öÄãÐèÒªµÄ×ø±ê¡£
È¡Ïû ÆÀÂÛ
/**
* ±ê×¼µÄgps¾­Î³¶È×ø±êÖ±½ÓÔÚµØͼÉÏ»æÖÆ»áÓÐÆ«ÒÆ£¬ÕâÊDzâ»æ¾ÖºÍµØͼÉÌÉèÖõļÓÃÜ£¬Òª×ª»»³É°Ù¶ÈµØͼ×ø±ê
*
* @return °Ù¶ÈµØͼ×ø±ê
*/
publicgeopoint gpstobaidu(string data) {//data¸ñʽ nmea±ê×¼Êý¾Ý ddmm.mmmmm,ddmm.mmmm Èç3030.90909,11449.1234
string[] p = data.split(",");
intlat = (int) (((int) (float.valueof(p[0]) /100) + (100* (float//½«ddmm.mmmm¸ñʽת³Édd.ddddd
.valueof(p[0]) /100.0- (int) (float.valueof(p[0]) /100)) /60.0)) * 1e6);
intlon = (int) (((int) (float.valueof(p[1]) /100) + (100* (float
.valueof(p[1]) /100.0- (int) (float.valueof(p[1]) /100)) /60.0)) * 1e6);
geopoint pt =newgeopoint(lat, lon);
returncoordinateconvert.fromwgs84tobaidu(pt);//ת³É°Ù¶È×ø±ê
}
È¡Ïû ÆÀÂÛ
²é°Ù¶ÈµØͼapi
È¡Ïû ÆÀÂÛ
ת»»¹ý³ÌÉæ¼°µØÀí×ø±êϵת»»ºÍͶӰ±ä»»£¬Èç¹ûÄã²»ÊìϤ¼¼Êõϸ½Ú£¬¿ÉÒÔÕÒרҵµÄµØÀíÐÅÏ¢´¦ÀíÈËÔ±°ïæ»òÕßʹÓÃÔÚÏßת»»Æ÷½øÐвÙ×÷£¬ÕâÑù¸ü·½±ã¿ì½Ý
È¡Ïû ÆÀÂÛ
¼òµ¥À´Ëµ£¬ÏÈ»ñÈ¡GPSµÄ¾«È·¾­Î³¶ÈÊý¾Ý£¬È»ºóÔÚרҵ¹¤¾ßÖÐÉèÖÃÄãµÄÆðµãͶӰÀàÐÍ£¨Í¨³£ÊÇWGS84£©£¬½Ó×ÅÑ¡ÔñÄ¿±êÇøÓòµÄ²Î¿¼ÏµÍ³£¨ÈçÃ×ÖÆ»ò¹«ÀïÍø£©£¬Èí¼þ»á×Ô¶¯¼ÆËã³ö¶ÔÓ¦µØͼÉϵľàÀëºÍλÖÃ
È¡Ïû ÆÀÂÛ
GPS×ø±êת»»³ÉµØͼ¹«ÀïÍø×ø±ê£¬Í¨³£ÐèÒª½èÖúµØÀíÐÅϢϵͳÈí¼þ£¬±ÈÈçGoogle Earth»òArcGIS¡£ÊäÈëGPS¾­Î³¶È£¨¾­¶ÈºÍγ¶È£©£¬È»ºóµ¼ÈëÏàӦͶӰ·½Ê½£¨ÈçUTM»òWGS84£©£¬ÏµÍ³»á°ïÄãת»»Îª¾ßÌåµØÇøµÄ¹«ÀïÍø¸ñ
È¡Ïû ÆÀÂÛ
ZOLÎÊ´ð > GPS > ÆäËû·ÖÀà > GPS»ú×ø±êÔõôÑùÓëµØͼ¹«ÀïÍø×ø±êת»»

ÌØ»ÝÍƼö

ÈÈÃŵ¼º½ÒÇÅÅÐÐ

²é¿´¸ü¶àÅÅÐÐ >

¾Ù±¨

¸ÐлÄúΪÉçÇøµÄºÍг¹±Ï×Á¦Á¿ÇëÑ¡Ôñ¾Ù±¨ÀàÐÍ

¾Ù±¨³É¹¦

¾­¹ýºËʵºó½«»á×ö³ö´¦Àí
¸ÐлÄúΪÉçÇøºÍг×ö³ö¹±Ï×

ɨÂë²ÎÓëÐÂÆ·0ÔªÊÔÓÃ
ɹµ¥¡¢¶¥Â¥ºÀÀñµÈÄãÄÃ

ɨһɨ£¬¹Ø×¢ÎÒÃÇ
Ìáʾ

È·¶¨ÒªÈ¡Ïû´Ë´Î±¨Ãû£¬Í˳ö¸Ã»î¶¯£¿