本文介绍了谷歌应用引擎与mysql(Cloud SQL)是否支持GIS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试在应用引擎和云sql网站上找到一些文档,但是找不到任何方式。我知道你可以在他们的自定义sql选项上执行GIS查询,我知道mysql支持GIS开箱即用,但是我也知道它需要一些支持有限的C库。

I have tried to find some documentation on this on the app engine and cloud sql sites, but can't find anything referring to it either way. I know that you can perform GIS queries on their custom sql option, and I know mysql supports GIS out of the box, but I also know it requires some C libraries which there is limited support for.

更具体地说,我有兴趣知道使用mysql的geo-django是否支持使用应用引擎/云sql组合的gis。 (或者如果他们的定制产品支持geodjango?)

More particularly I am interested to know if geo-django using mysql supports gis using an app engine/cloud sql combination. (Or maybe if their custom offering supports geodjango?)

推荐答案

不支持使用Cloud SQL的GeoDjango。 GeoDjango依赖于应用引擎中不可用的几个库。任何依赖于 django.contrib.gis.db.models 的应用程序在应用引擎开发服务器中抛出白名单错误。大概在实时应用引擎实例上会遇到同等错误。

GeoDjango with Cloud SQL is not supported. GeoDjango depends on several libraries that are not available in app engine. Any app with a dependency on django.contrib.gis.db.models throws a whitelist error in the app engine development server. Presumably, an equivalent error would be encountered on a live app engine instance.

这篇关于谷歌应用引擎与mysql(Cloud SQL)是否支持GIS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 19:12