+ -
当前位置:首页 → 问答吧 → MYSQL_TYPE_GEOMETRY

MYSQL_TYPE_GEOMETRY

时间:2011-11-18

来源:互联网

为了存储图形坐标,要用这个,有谁接触过这个类型的,我建表的时候没有这个字段类型啊,谁能说下用法
如果有其他建议的话也可以说下,简单的说,就是记载一张多边形地图各个点的位置

作者: RXPY2007   发布时间: 2011-11-18

createtable="""create table if not exists polygan (cellid text NOT NULL PRIMARY KEY, continent text, country text,
state text, county text, city text, zipcode text, longitude text, latitude text, r35 float, r85 float, r95 float, alive boolean, DMA text, MSA text)"""

cur2.execute(createtable)

作者: jiaweiqq123   发布时间: 2011-11-18