Skip to content

Flights that go over the north pole get cut out #676

Description

@Deliv-xx

The bug

Downloaded a KML file that went over the north pole and then back. In ADS-B exchange it is shown correctly, but in Airtrail it just get cut once it goes over the north
Image

Operating System that is running AirTrail

Windows OS, TrueNAS for running AirTrail

AirTrail Version

v3.11.1

Your docker-compose.yml content

services:
  # -----------
  #  Airtrail PostGres
  # -----------
  db:
    container_name: airtrail_db
    image: postgres:16-alpine
    restart: always
    env_file:
      - .env
    environment:
      POSTGRES_DB: ${DB_DATABASE_NAME}
      POSTGRES_USER: ${DB_USERNAME}
      POSTGRES_PASSWORD: ${DB_PASSWORD}
    volumes:
      - ${DB_DATA}:/var/lib/postgresql/data
    healthcheck:
      test:
        - CMD-SHELL
        - pg_isready -U ${DB_USERNAME} -d ${DB_DATABASE_NAME}
      interval: 5s
      timeout: 5s
      retries: 5
  # -----------
  #  Airtrail App
  # -----------
  airtrail:
    container_name: airtrail
    image: johly/airtrail:latest
    restart: always
    env_file:
      - .env
    ports:
      - 3001:3000
    volumes:
      - ${UPLOAD_LOCATION}:/app/uploads
    depends_on:
      db:
        condition: service_healthy

Your .env content

ORIGIN="https://custom.url.pointing.internally"
DB_URL=postgres://airtrail:airtrail@db:5432/airtrail
DB_DATABASE_NAME=airtrail
DB_USERNAME=airtrail
DB_PASSWORD=airtrail
DB_DATA=/mnt/location/for/airtrail/pgdata

UPLOAD_LOCATION=/mnt/location/for/airtrail/

Reproduction steps

  1. Download KML
  2. Add it to AirTrail
    ...

Relevant log output

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions