A library capable of displaying Lat Long on an image and saving it as png / jpg?

I am exploring the possibility that my Tomcat server will dynamically create an image from a set of coordinates of the longitude and latitude of the satellite and overlay it on a world map, and then export the image as png or such. Do libraries exist there (especially those that people recommend)?

TIA

+4
source share
1 answer

It sounds like you are reinventing the wheel.

You can use a WMS server (several work with TomCat, although the pier is usually used by default). A WMS server (see GeoServer or MapServer for the most popular open source examples) can receive data from your database and display it on demand on top of background images, that is, your world map or, possibly, OpenLayers.

In a WMS request, you can specify the image size and file format. This may be a little redundant for what you want, but they are pretty easy to set up (especially GeoServer).

If you have additional questions for this reason, https://gis.stackexchange.com/ , most likely you will receive additional information about the domain.

+1
source

Source: https://habr.com/ru/post/1441918/


All Articles