select st_astext(line) from geotest;

INSERT INTO geotest (line) VALUES(GeomFromText('LINESTRING(0 0,1 1,2 2,3 3)'));


SET @g2 = 'POLYGON((0 0,3 0,3 3,0 3,0 0),(1 1,2 0,2 2,0 2,1 1))';
INSERT INTO geotest (polygon)  VALUES( GeomFromText(@g2));

  

 

相关文章:

  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2021-06-30
  • 2022-12-23
  • 2022-01-28
猜你喜欢
  • 2022-12-23
  • 2022-01-02
  • 2021-07-31
  • 2021-08-01
  • 2021-08-19
  • 2021-11-24
  • 2021-12-24
相关资源
相似解决方案