gis - Vertices of Rectangle with midline given in lat long -


in program, have end points of line segment in lat-long(so width known). want know vertices of rectangle having line segment middle line(not diagonal). know height of rectangle.

is there java api available it? or need code it?

manish

you can use java topology suite. see https://locationtech.github.io/jts/javadoc/index.html

there can perform buffer on line, returns rectangle, , line middle of rectangle (not diagonal).


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -