Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
getting an entity's lat/lon
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tsmango  
View profile  
 More options Mar 26 2010, 10:35 am
From: tsmango <tsma...@gmail.com>
Date: Fri, 26 Mar 2010 07:35:05 -0700 (PDT)
Local: Fri, Mar 26 2010 10:35 am
Subject: getting an entity's lat/lon
Hello,

I was wondering if there was a way to retrieve an entity's lat/lon
when doing an mql search. From everything I can tell, this isn't
possible. In fact, it doesn't seem to be possible to get the lat/lon
of any entity from any of the provided API methods.

Unfortunately, because of this, if I want to display these entities on
a map, I must first geocode every single address. This significantly
increases the amount of time it takes for my application to respond to
queries.

Is there a reason for not including the lat/lon of entities? Are you
planning on including this at some point? Or am I simply missing
something?

Thank you very much, in advance.

- Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Othman  
View profile  
 More options Mar 26 2010, 10:47 am
From: Othman <oth...@gmail.com>
Date: Fri, 26 Mar 2010 07:47:58 -0700 (PDT)
Local: Fri, Mar 26 2010 10:47 am
Subject: Re: getting an entity's lat/lon
Hi Tom,

You can do that by requesting any specific entity.

For example, if you query:

http://api.geoapi.com/v1/e/ritual-coffee-roasters-san-francisco-ca-94...

one of the fields is 'geom' which contains that entity's lat/lon. Is
this what you were looking for?

Thanks,
Othman

On Mar 26, 7:35 am, tsmango <tsma...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Othman  
View profile  
 More options Mar 26 2010, 12:07 pm
From: Othman <oth...@gmail.com>
Date: Fri, 26 Mar 2010 09:07:50 -0700 (PDT)
Local: Fri, Mar 26 2010 12:07 pm
Subject: Re: getting an entity's lat/lon
Tom on our team just pointed out that I probably minsunderstood your
question. If you're trying to get lat/lons out of an mql search - so
you get their location in a single query, you should include
"geom:null" in the query. For example:

{
  "lat": 37.75629
  "lon": -122.4213
  "radius": "0.2km"
  "entity": [{
    "guid": null
    "type": "business"
    "geom": null
    "view.listing": {
      "a:verticals": "restaurants"
      "b:verticals": "food-and-drink:coffee-houses"
      "address": []
      "name": null
    }
  }]

}

On Mar 26, 7:47 am, Othman <oth...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tsmango  
View profile  
 More options May 23 2010, 8:30 pm
From: tsmango <tsma...@gmail.com>
Date: Sun, 23 May 2010 17:30:00 -0700 (PDT)
Subject: Re: getting an entity's lat/lon
I completely missed your second post and when I came back just now to
look something else up, I saw it. That is exactly what I was looking
for. Thank you so much, I really appreciate it!

On Mar 26, 12:07 pm, Othman <oth...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »