4. Location 이해하기
Location 이 모야? 1. (불가산) 위치 선정; (어떤 장소에) 둠; 정주(定住)
2. 위치, 소재; (특정의) 장소; 주거지, 주소
a fine location for a house 집을 짓기에 알맞은 장소
3. (토지의) 구획, 측량; (도로의) 측량 설계
4. (UC) [영화] (보통 on ~) 야외 촬영(지), 로케이션(을 가는 장소)
be on location in Rome 로마에서 촬영 중이다
5. (불가산) [법] (토지·가옥 등의) 임대
6. [컴퓨터] (데이터의) 기억 장소[위치]
< Daum 영어사전 >
1 서형사, 이번 사건 박XX 용의자 위치 좀 따봐 ~~
2 김대리, 회사 근처에 회식 할만한데 없을까?
3 TO SIRI : 내 여친은 어디에 있지?
FROM SIRI : 님 여친은 어제 밤부터 지금까지 홍대에 …
5. Location 이해하기
Location API 가 하는 일은?
좌표 (X, Y)
부가정보 ( Heading, Speed )
3D 부가정보 ( Altitude )
부부가정보 ( Accuracy? )
21. Location : HTML
HTML5 Location : callback
Position callback (req.)
Position Error Callback (opt.)
Position Options (opt.)
enableHighAccuracy , timeout , maximumAge
22. Location : HTML
HTML5 Location : API spec V2
Position callback (req.)
Position Error Callback (opt.)
Position Options (opt.)
enableHighAccuracy , timeout , maximumAge
requireCoords, requestAddress : API Spec.V2 Only
23. Location : HTML
HTML5 Location : Results
speed
Latitude
heading
Longitude Altitude
accuracy Altitude Accuracy
Address : spec V2
24. Location : HTML
HTML5 Location : Error
Permission Denied
Position Unavailable
Time out
Not Supported : navigator.geolocation.
25. Location : HTML
HTML5 Location : Codes
Sample Codes
http://html5demos.com/geo
Tip
SSF (Single Shot Fix) Only
26. Apple iOS
iOS Location :
Navigation
SSF ( Single Shot Fix )
Proximity of the Region
GPS Analyzer / GPS Benchmark App.
27. Apple iOS
CLLocationManager : Navi
desiredAccuracy : BestForNavigation
distanceFilter : 1 meter
startUpdatingLocation
28. Apple iOS
CLLocationManager : SSF
desired Accuracy : Best,10m,100m
distance Filter : 50 meter
start Updating Location
start Monitoring SLC (OS4.x over)
(Significant Location Change: 현저한 위치 변화)
29. Apple iOS
CLLocationManager : Region
Init Circular Region with Center
start Monitoring For Region
Desired Accuracy : 100m
did Enter Region / did Exit Region
47. Location : Android
Provider Defaults
고도,방향,
Provider Accuracy Power
속도
GPS FINE High O
Network COARSE Low X
Req. Req. Req. Monetary
Provider
Cell? Network? Satellite? Cost
GPS X O O X
Network O O X O
48. Location : Android
API Difference
Location Single Passive Additional
Android Version
Update Update Provider Criteria
Android 2.1
▲ X X X
(É clair – AL7)
Android 2.2
▲ X O X
(Proyo – AL8)
speed,
Android 2.3 bearing,
O O O
(Gingerbread – AL9) Vertical,
Horizontal
49. Location 마무리 P-1
Best Location API는?
쉽게 사용할 수 있는 API 였으면...
내 사용 용도에 맞춘 조합을 사용할 수 있었으면…
임시 위치를 보여 줄때도 계속 새로운 위치를 찾아 주었으면…
배터리는 알아서 잘 아껴써야 한다구우~~~
51. 우리의 희망은?
getBestLocation () for SSF
1. LastKnownLocation() : 모든 LP 검색후 최신 데이터 제공
2. Network / Passive Provider 정보 활용
3. 사용자 지정 주기별 위치 업데이트
4. Provider Enable / Disabled Event 로 On/Off 적용
5. GPS 기동시 속도에 따른 주기 변경
파란 개발자 블로그 : http://dev.paran.com