Class GISProfile

java.lang.Object
org.episteme.social.geography.GISProfile

public class GISProfile extends Object
Handles Geographic Information System (GIS) projections and spatial offsets.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

  • Method Details

    • project

      public Vector2D project(GeodeticCoordinate coord)
      Projects a geodetic coordinate to a 2D plane coordinate system.
      Parameters:
      coord - the earth coordinate
      Returns:
      2D vector [x, y] in projected space
    • getProjection

      public GISProfile.Projection getProjection()
    • calculateDistanceMeters

      public static double calculateDistanceMeters(GeodeticCoordinate c1, GeodeticCoordinate c2)
      Calculates the approximate distance in meters between two geodetic coordinates using the Haversine formula (spherical earth approximation).