kercos / geomodel

Automatically exported from code.google.com/p/geomodel
0 stars 0 forks source link

more filter automagic requested #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice to have query extended like this:
GeoModel.all().filter("location within",bbox).filter("location 
distance",(geopt,dist)).fetch(count)

Attachement implements .filter("location within",bbox)

in GeoModel there should be

@classmethod
def all(cls,**kwargs):
  return GeoQuery(cls,**kwargs)

Original issue reported on code.google.com by qwigly...@gmail.com on 13 Nov 2010 at 11:58

Attachments: