Forum: Feature Requests

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Feature Requests premium extension please open a new premium support ticket.

[Not a support question]A single map for groups and members

Forums Feature Requests A single map for groups and members

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #49918

    Hi Eyal,

    I was wondering if there was any way to actually integrate both groups and members in a single search form? I have the Global Maps Add-On, the Groups Locator Add-On and the Kleo Geo My WP Add-On. What I would like to do, is to offer my users a single page where they can search for both members and groups. Is it possible to use the Kleo Members Page modifies by your add-on and simply add more fields to the query and than display groups and members with a different icon on the map?

    Thanks a lot for your support!

    Best wishes,
    Micha

    #49936

    Hi Micha,
    It will only be possible with a good amount of custom work.

    Having global maps and GEO my WP search forms searching for multiple components ( Members, Posts, groups and so on… ) in on my todo list for the future. However, I will only be able to get into it after the next major release of GEO my WP. The next major version includes a new database structure which will make such searches possible.

    I apologize that I don’t have any “simple” solution at the moment.

    #49959

    Hi Eyal,

    I can imagine that the combination of multiple components for the GEO requests is a game changer. However, good to hear that you see a chance to realize this in future releases.

    Best wishes,
    Michael

    #49982

    It is indeed like you said a “Game changer”. Few other users have already asked for it in the past and I really want to see it happening. However, such feature will have most attention put on performance since it will require interaction with multiple database tables and multiple search components. That is why I hope that the new database structure will being a good solution.

    #49992

    Hi Eyal, geo-referenced queries are always problematic in terms of performance. I have a few years of research experience in that area. So if you would like to get a second opinion on your upcoming database layout and query strategy, please feel free to contact me. I will be glad to help.

    #49993

    Thank you, I always appreciate second opinions.

    In the new database structure I have combined the geolocation tables of the different components into a single table. So instead of having wp_places_locator table for post types, wppl_friends_locator table for members, another table for groups and so on it is now a single table.

    The new table has new columns:
    – object_type to hold the component type – post, user, group and so on.
    – object_id – post_id, user_id and so on.
    – user_id – user that created the location.
    – address fields columns with additional address fields such as neighborhood and county.
    – few more column that I am still working on.

    There is an additional new location_meta table that will be used for things like phone, fax, email and so on. Until now it was only available for post types. But having the location meta as its own table will be more flexible.

    The new structure of both tables will make it easy to query and easy to register additional components and location metas with additional add ons ( such as terms, blogs maybe and so on ).

    There is also a new Location API ( GMW_Location class ) that is responsible for all the location and location meta functions. add, update, delete locations and location metas and so on.

    There is a brand new location form class that will be used for geotagging objects. It will replace the location section of the Edit Post page and will be easy to extend to also work in the front-end.

    There are many other new classes and functions that will make GEO my WP more flexible.

    I have been working on GEO my WP 3.0 for a few months now, rewriting most of it. I have put most of the attention in flexibility and making it a more developer friendly. I am hoping that at some point other plugins and theme developers will start working with Geo my WP and contribute to it.

    I will have more details in the near future that I could share with you. Above is a bit about the new database structure and about GEO my WP 3.0.

    Let me know if you have any questions or ideas.

    Thanks,

    #50316

    Hi Eyal,

    sorry for the delay. I was sick for a few days…

    The database structure looks very sound. I’m wondering what will happen, if you have really huge datasets with millions of users/groups (I’m not saying that I expect to get those numbers…but others may)? Have you tried to test the performance on a fake database? In our research prototypes we were especially aming at geolocation databases holding several million entries. At the time being to achieve real time performance, we had to rely on non-database structures like inverted indexes (as in any full text search engine like SOLR). We used to add several “zoom layers” to quickly query accumulated data in larger geographical areas. When you do the result grouping, do you actually get the complete result set or do you just ask for the accumulated data?

    Cheers
    Micha

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.