﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22423	Geodjango spatial functions should leverage mysql 5.6 spatial functions.	visu	visu	"Hi,

Starting from 5.6 version, mysql implemented spatial functions properly.
(ie, similar to postgis, mysql also supports ST_Contains, ST_Within and other ST_ queries.)
http://dev.mysql.com/doc/refman/5.6/en/functions-for-testing-spatial-relations-between-geometric-objects.html#function_st-contains

Geodjango currently implements poly__contains and other queries for mysql as ""MBRContains"" instead of ""Contains""
https://docs.djangoproject.com/en/dev/ref/contrib/gis/geoquerysets/#std:fieldlookup-gis-contains

This needs to be fixed.
related Ticket :

https://code.djangoproject.com/ticket/13430"	New feature	new	Uncategorized	1.6	Normal		gis, mysql,	visumrs@…	Unreviewed	1	0	0	0	0	0
