Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8592029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:39:25+00:00 2026-06-11T23:39:25+00:00

I’m facing a problem. I search a solution on the internet but didn’t find

  • 0

I’m facing a problem. I search a solution on the internet but didn’t find any solution.

Here is my problem :
I have some items stored in a DB table with a location (lat and long). For example a aircraft in Paris, a bike in new york, another bike in paris, a dishwasher in Tokyo etc…
I would like to find all the item of a type near a place.

For that, I did 2 input fields : One called “What” and another called “Where” (this one has autocompletion of google maps). If you entered “Bike” in the first field and “Paris” in the second, it works perfectly ! (I use geocode to get the coordinates of the “Where” field” and then use a SQL query to filter the object type)

But my goal is to achieve this in one input field ! A global field where the user can enter “Bike Paris” or “Paris Bike” and get the result of all bike near paris that are in the DB. As it is the case in google maps : if you type “mobile phone chicago”: it will interpret “mobile phone near chicago” and get your results. The difficulty is to interpret which word i a place and which one is not.

Do you have a idea of how to achieve this ?

Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T23:39:26+00:00Added an answer on June 11, 2026 at 11:39 pm

    This need some work. One way to do it is to use some means of certain machine learning classification algorithms. What they basically does is that they are trained using certain kind of dataset containing observations to classify objects into certain classes. So when they are given a new object they can classify it accordingly.

    You can read more about them here and here

    If you can’t manage that sort of complexity one simple thing you could do is search both the words the user enters in the smallest dataset(ie, things or place) if one of them is very large than the other, etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This could be a duplicate question, but I have no idea what search terms
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
Seemingly simple, but I cannot find anything relevant on the web. What is the
I have a bunch of posts stored in text files formatted in yaml/textile (from
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.