I am trying to get the end points of a polygon which presents a building in a shp file.
Do you know if there is any function in geotools or the steps that i have to follow to do this?
i find a relative question: how would one get the end points of a polyline? But it is not what i need.