Any django reusable app for outdoor & indoor location, GPS tracking?

180 views
Skip to first unread message

Federico Capoano

unread,
Sep 26, 2017, 6:13:30 AM9/26/17
to Django users
Hi everyone,

before building my own reusable app all over again, I wanted to ask here if there is any reusable django app that does indoor location and or GPS tracking.
I'm not looking for something full featured, but rather a starting point to which I can contribute to.

Best regards
Federico Capoano

Jani Tiainen

unread,
Sep 27, 2017, 3:36:12 PM9/27/17
to django...@googlegroups.com
Hi.

To my knowledge there isn't one since we implemented our own tracker.

If you're going to build one I do have few pointers that you should consider.

Recent browser changes requires that location data is transferred over https. I think chrome was first one to require it. That makes developing it a bit challenging.

Raw coordinate data isn't that good since there is constant deviation in coordinates. You'll need to pick some smoothing algorithm. Don't remember top if my head what we use but I can check that when I go to work.

And then you need to have a background map. And that's the tricky part...

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5add2c0f-3a30-46ea-91b8-c02f01d2ad5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Lee Hinde

unread,
Sep 27, 2017, 7:02:02 PM9/27/17
to 'Federico Capoano' via Django users
Regarding developing over https….


is a great tool when you want to use https locally.

Federico Capoano

unread,
Nov 21, 2017, 9:34:16 AM11/21/17
to Django users
Hi everyone,

I'd like to provide an update on this topic.

First of all, I think my initial question was not 100% clear.

For indoor location and GPS tracking I meant the following:

Indoor location: being able to specify the location of an object in buildings, having their floorplan(s).
GPS tracking: being able to track objects that move around, in the case of OpenWISP these objects will be most likely be network/radio/wifi devices.

In the end I didn't find any reusable app so I started working on a new app which I named django-loci. It's not released yet but it kinda works, I have shown a prototype of this work during this presentation (I'm linking the exact second in which I show it): https://www.youtube.com/watch?v=WgVduiZzuA0 (the recording was slightly disturbed so bear with it while you wait for the floorplan demo to show up.

Like the other OpenWISP 2 base modules, I will soon provide abstract base models, base views and other classes/functions that third party apps can import in their project and extend.
We have done this for django-x509 and is going quite well, since other developers who don't use OpenWISP are using django-x509 in their project, reporting bugs and sending patches.

I'll send another announcement when we hit the 0.1 release of django-loci, hopefully it will be useful to other people and/or we'll be able to collect useful feedback and/or suggestions.

Federico

PS: if you are curious to know more about the modular architecture of OpenWISP 2, there's a presentation which has a good level of detail https://www.slideshare.net/FedericoCapoano/applying-the-unix-philosophy-to-django-projects-a-report-from-the-real-world

Federico Capoano

unread,
May 4, 2018, 5:18:10 AM5/4/18
to Django users
Hey everyone,

I forgot to follow up on this thread.

django-loci now provides abstract/base classes for models, admin, channels so other developers can use this reusable app as a kind of library.

There's ample room for improving this new reusable app but nonetheless I hope it will be a useful addition to the django ecosystem.

Best regards
Federico
Reply all
Reply to author
Forward
0 new messages