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 -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -