Add new column attribute to the shapefile and save it to database using Geotools Java
问题 I am transforming a shapefile by adding a new column attributes. Since this task is performed using Java, the only option I know for now is using Geotools. I have 2 main concerns: 1. I am not able to figure out how do I actually add a new column variable. Is the feature.setAttribute("col","value") the answer? I see from this post just the example:https://gis.stackexchange.com/questions/215660/modifying-feature-attributes-of-a-shapefile-in-geotools but I dont get the solution. //Upload the