Changes between Initial Version and Version 1 of Ticket #19339
- Timestamp:
- Nov 22, 2012, 2:20:39 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19339
- Property Resolution → needsinfo
- Property Status new → closed
-
Ticket #19339 – Description
initial v1 1 1 I am newbie in using geodjango, I need to check whether a point is present in a multipolygon layer. For trial I used 2 {{{ 2 3 x = '640744.97964' 3 4 y = '2498614.18957' 4 5 p = Point(float(x), float(y), srid=32645) 5 6 pt=layer.objects.get(the_geom__contains=p) 7 }}} 6 8 7 9 but I got the error NoneType object has no attribute 'group'