This post demonstrates a simple algorithm implemented in GeoTools to divide LineString objects into segments of arbitrary length. Our task is to divide Montreal’s Grand Prix Track into segments of 100m. The implementation of this functionality will require the concept of interpolation of points within a line, which serves as the basis for several other GIS algorithms.
Ever since I moved to a different company in 2008 this blog has accumulated some dust. Moving away from scientific programming into a more traditional web programming world made it more difficult for me to stay in touch with the exciting world of scientific research, algorithms and so on. From 2010 onwards, I had the […]