TransWikia.com

Resampling locationtech.jts LineString

Geographic Information Systems Asked on November 4, 2020

I have a polyline represented by LineString class. I need to add additional points in between its points at a distance, say d. So if P1 and P2 are first 2 points in LineString, I would like to have points inserted between P1 and P2 such that distance between points is d.

Does locationtech.jts offer such an API?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP