Here's a sample PostGIS query I use to get geometries within four points:

    SELECT *
    FROM myTable
    WHERE ST_MakeEnvelope(-97.82381347656252, 30.250444940663296, -
97.65901855468752, 30.29595835209862, 4326) && ST_Transform(myTable.geom,
4326);


With this query, I can get all rows within those four points. How do I 
execute this query or similar queries in Django or GeoDjango?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/aac95827-0c79-4aef-84cf-646ca82cfffa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to