My application needs to be able to create its own entities and query
on its own entities. Let's just say for example that it's an
application for people to create a national registry of interesting
residential architecture. Someone creates a new entity by entering a
street address, or clicking on a map which generates the entry based
on lat/lon. Other people come and search for entities in their zip
code or city and view the dots on the map, select one, read about it,
add comments.
I have successfully created my own entities, and then written data to
these entities in my own views. What I'm having trouble understanding
for example is how to retrieve all of my own entities in a given zip
code or city. MQL search is limited to a 2km radius around a lat/lon,
which is decent but not big enough for many zip codes and certainly
not big enough for someone to see at one time all the points for say
Chicago. (I wouldn't try to display a thousand points at once,
however, I think I would need to be able to do a query on all Chicago
points so that I could then use proxy points that represent a very
dense area.)
Is there a way to do a query for ALL the points in one of my Views?
Then I could create a View for each zipcode I cover.
Or could I create one U.S. user view and annotate my app-specific
points with for example {city: chicago and zip: 60609} and then do a
query "find me all points in my view with zip=60609"?
Thanks!