I would like to create a market place like app with Djano as the backend server, where users can buy/sell items. In the app I would like have to a feature related to geographic region of a user. Such as, to filter out items in a given specific miles of radius.
Example use case: - User uploads an item, get the gps cordinates from their mobile and store in db. - User can search item, also filter to only get items in X miles radius. For this feature 1. I have looked at GeoDjango. But it seems like I need to extend the postgresql database to use it, also by using the postgis engine. 2. I have also looked at the Haversine formula for nearby queries. 3. There is also an option for multiple database support. But I have some initial doubts before proceeding and your insights would really help me alot. Could you please help me with this queries: 1. I will have to store user data and some other data including the geo location. Will there be any difference/side effects between postgresql_psycopg2 and postgis, to store all the data in one single db? 2. For my simple use case would you rather prefer to go with the Haversine formula? Or integrating GeoDjango will help me lot in the future? 3. Or having a multiple database support be better for me or it will be an over head? -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@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/CAM4YLW%2B%2BOS%2B6JqJW5Bs211FHAHo3n6F9sHW0B%2BeN%3DPE4OEGR9g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.