开发者

How to insert a buffer geometry into a new table using java?

开发者 https://www.devze.com 2023-03-02 17:36 出处:网络
Here Geometry buffer = geom.buffer(5.00); Thus buffer contains a data as polygon and the latitude and longitude of all the points in the 5km radius .

Here Geometry buffer = geom.buffer(5.00);

Thus buffer contains a data as polygon and the latitude and longitude of all the points in the 5km radius .

This line of code that I wrote isn't working . What is a better way to go about it ?

开发者_C百科
String query1 = " INSERT INTO  buffer(the_geom) " + buffer + ";";

So what should be the sql query ?


insert into table_name values (column1, column2,...) values (column1Value, column2value,...)

0

精彩评论

暂无评论...
验证码 换一张
取 消