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

  • SEARCH
  • Home
  • 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 3805942
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T14:45:28+00:00 2026-05-19T14:45:28+00:00

I am currently developing a web app that uses Google’s Static Map API, in

  • 0

I am currently developing a web app that uses Google’s Static Map API, in order to display maps of places upon user’s request.

My problem is the following: How can I detect if a given string is relevant or not to searching Google Maps ?

Examples:

  • Searching for “North Beach San Francisco” with the following URL returns a relevant map of what is asked.
    http://maps.google.com/maps/api/staticmap?size=270x185&maptype=roadmap&sensor=false&markers=north%20beach%20san%20francisco

  • However, searching for something that is not an address like Orwell’s “1984” with the following URL does also return a map but it is absolutely not relevant to the query.
    http://maps.google.com/maps/api/staticmap?size=270x185&maptype=roadmap&sensor=false&markers=1984

My point is, I don’t need to parse the query since Google Maps Static API can find an address pretty easily, but I need to know if the string the user submitted should be searched in Maps or just regular search.

There is a lot of address-parsing related questions on SO, but I repeat that I don’t want to have a full address parsing process, I just want to know if Google would have displayed a map link if I had searched the same thing on their website.

I do know the Google Geocoding API but it’s roughly the same, as it will return coordinates even for unadapted queries like “1984”. (And I’m not even talking about the limitations that make it pretty impossible to use in a large-scale web application)

Thank you for your time !
Gael

  • 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-05-19T14:45:29+00:00Added an answer on May 19, 2026 at 2:45 pm

    What I eventually did:

    Google Geocoding API has a response parameter that indicates the accuracy of the geocoding lookup. Using this parameter, I was able to determine if my query is a real address or just a standard query looking like an address.

    Keep in mind that both Geocoding Service and Javascript Geocoding API have limitations (as of now, 2,500 requests per IP per day)

    Do post a comment if you want further information about that !

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

Sidebar

Related Questions

I am developing a simple web app that uses the Google translation API in
I am developing a small web app that uses jQuery quite a lot. In
I am developing a web app that accesses some external JSON data. I'm currently
I am developing a web app (using rails) that I will be launching within
I'm currently developing a web app on Django/Python, and I consider moving to ASP.NET
I am currently developing a web service that is configured to receive SMS text
I am developing an app for android mobiles that communicates with a json/rest web
I'm kind of new to rails - I'm currently learning by developing a web-app,
We're developing a web app using the Zend framework and Mysql. Currently, accounts are
I am developing a web app that is similar to an online version of

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.