Support other coordinate systems in MapFeatures

Description of the limitation and why it is relevant to address

As a developer I want to be able to get the coordinates of any MapFeature in any given CRS. This would make using another CRS than WGS84 and rd new possible without having to write code you self.

I think this is relevant for the VIKTOR platform because there are more coordinate systems in the world than RD and WGS84 which means Viktor would be easier to use in other parts of the world more easily. Currently, a MapPoint for example only has the properties lat, lon, rd. A simple conversion function would make it more dynamic.

Submitter proposed design (optional)

Add a method to a MapFeature for example called .coordinates_to_crs(epsg=xxxx)

The return is a tuple with the converted coordinates. Using pyproj it is really easy:

from pyproj import Transformer
transformer = Transformer.from_crs(f"EPSG:{from_epsg_code}", f"EPSG:{to_epsg_code}")
converted_coordinates = transformer.transform(coordinates[0], coordinates[1])

Current workarounds

Create your own converter functions