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?
> 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?
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:
> 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:
> > 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?
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:
> 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:
> > 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:
> > > 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?