开发者

Handle GPS Coordinate in Django

What is the best way to manage GPS coordinates (latitude and longitude) in django models ? I know that there is a module called GeoDjango but reading the tutorial seems dedicated to GIS and not simply to manage the latitude and longitude.

I do not care to have convenient interface for the adm开发者_高级运维in because int the application I'm creatin the admin is virtually absent. But instead the application will often comunicate with mobile device such as iPhone that,for example, treat coordinates as double (double typedef CLLocationDegrees).

I would simply like an easy way to manage these data in the model?


Save them as double/float with adequate precision in the input data


Use GeoDjango to handle geographic coordinate properly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜