>
> > Then try calingl the wkt methond on the Envelope object to get a proper
> > string repr of the polygon.
> >
>
What is even more amazing is how many typos are in that sentence. I should
make my default font bigger so I notice them better.
Glad it works,
Ariel.
--~--~-~--~~-
OMG wow that worked. Thanks a ton.
On May 28, 6:44 pm, Ariel Nunez wrote:
> > >>> from django.contrib.gis.gdal.envelope import Envelope
>
> >>> W = 39.9; N = -82.9; E=40.4; S=-82.2
>
> >>> bounds = Envelope((N, W, S, E, ))
>
> > >>> Base.objects.filter(location__intersects=bounds.wkt)
>
> Then
>
> >>> from django.contrib.gis.gdal.envelope import Envelope
>
>>> W = 39.9; N = -82.9; E=40.4; S=-82.2
>
>>> bounds = Envelope((N, W, S, E, ))
> >>> Base.objects.filter(location__intersects=bounds.wkt)
>
Then try calingl the wkt methond on the Envelope object to get a proper
string repr of the
On May 28, 5:52 pm, Ariel Nunez wrote:
> On Thu, May 28, 2009 at 4:12 PM, nbv4 wrote:
>
> > I have this model:
> >
> > from django.contrib.gis.db import models
>
> > class Base(models.Model):
> > identifier = models.CharField(max_length=8,
> > primary_k
On Thu, May 28, 2009 at 4:12 PM, nbv4 wrote:
>
> I have this model:
>
> from django.contrib.gis.db import models
>
> class Base(models.Model):
>identifier = models.CharField(max_length=8,
> primary_key=True)
>local = models.CharF
5 matches
Mail list logo