Reputation: 36404
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 ?
String query1 = " INSERT INTO buffer(the_geom) " + buffer + ";";
So what should be the sql query ?
Upvotes: 0
Views: 325
Reputation: 1075
insert into table_name values (column1, column2,...) values (column1Value, column2value,...)
Upvotes: 1