将点插入PostGIS?
我在无法插入点的PostGIS螺母中创建了一个表。 我的查询出了什么问题? CREATE TABLE app ( p_id INTEGER PRIMARY KEY ); SELECT AddGeometryColumn('app','the_geom','4326','POINT',2); INSERT INTO app(p_id, the_geom) VALUES(2, POINT(-71.060316, 48.432044)); 在最后一次查询之后,它显示了一些错误。 ERROR: column "the_geom" is of type geometry but expression is of type point LINE 1: ...SERT INTO app(p_id, the_geom) VALUES(2, POINT(-71.... ^ HINT: You will need to rewrite or …