There's more to experience when you log in!
I have a need to convert a line objects table (of protected shop frontages) to polygons. I need just 3 metre buffers.
I've used the Buffer>Buffer Objects function to create a 3 metre buffer for each map object. This works well and carries over the object attributes from the line to the new buffer polygon.However, the resulting table still contains the original line objects sitting within the buffer polygons. How do I remove the lines leaving just the polygons?Thanks,Stuart
I'll give all that a go.
Two tips on how to avoid adding objects to the table:
1. Use Buffer Table
As @James Nolet said, use the Buffer Table command. This will ask you to select the output table where you can create a new table based on the structure of the input table.
2. Update the existing records with the (Cartesian)Buffer() function
You can also use the MapBasic Window, or the new v2019 SQL Window, to update the existing records with a new spatial object. Before doing so, you might want to create a copy of your input table.
I have used the CartesianBuffer function assuming that your data is based on the British National Grid coordinate system. If it's based on a Longitude/Latitude projection, use the Buffer() function.
Set OBJ = CartesianBuffer(obj, 24, 3, "m")