Skip to main content

An improved version of searoute package for calculating the shortest sea route between two points on Earth.

Project description

Sea Voyage

Sea Voyage는 지구상의 두 지점 간 최단 해상 경로를 계산하는 Python 패키지입니다. 이 패키지는 searoute 패키지를 기반으로 개선되었습니다.

원본 프로젝트

  • 원본 패키지: searoute
  • 원작자: Gent Halili
  • 라이선스: Apache License 2.0

주요 개선사항

  1. 성능 최적화
    • TODO: 경로 계산 속도 향상
  2. 기능 추가
    • 다양한 해상도의 Graph 형태 지원(5km, 10km, 25km, 50km, 100km)
    • 다양하고 쉬운 방법으로 graph에 node 및 edge 추가 가능
    • 육지를 지나거나 육지 위의 node 및 edge 제거 가능
    • TODO: 새로운 해상 경로 옵션 추가

설치 방법

pip install seavoyage

사용 예시

1. 기본 경로 생성

import seavoyage as sv

# 출발지와 목적지 좌표 설정(longitude, latitude)
origin = [0.3515625, 50.064191736659104]
destination = [117.42187500000001, 39.36827914916014]

# 경로 계산
route = sv.voyage(origin, destination)

# 거리 및 단위 출력
print("{:.1f} {}".format(route.properties['length'], route.properties['units'])) # 

2. 해상도 변경

import seavoyage as sv

# 해상도 변경
m_network = sv.get_m_network_5km()

# 경로 계산
route = sv.voyage(origin, destination, M=m_network)

# 거리 및 단위 출력
print("{:.1f} {}".format(route.properties['length'], route.properties['units']))

라이선스

이 프로젝트는 Apache License 2.0 라이선스 하에 배포됩니다.

Copyright 2024 - Gent Halili (원작자)
Copyright 2025 - Byeonggong Hwang

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

기여

버그 리포트, 기능 제안, 풀 리퀘스트는 언제나 환영합니다.

연락처

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seavoyage-0.1.2.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seavoyage-0.1.2-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

Details for the file seavoyage-0.1.2.tar.gz.

File metadata

  • Download URL: seavoyage-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for seavoyage-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9776d60cdc987d0ad11161d49a0be14711e363bf3fb9a67a9b5e8bff46613d34
MD5 0225a676ce7fec5ee282c32e34424c16
BLAKE2b-256 cf90de5cdabee5c57401e19624dec544fd3d324a6bab4d307e6864178e89b34d

See more details on using hashes here.

File details

Details for the file seavoyage-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: seavoyage-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for seavoyage-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b2588bb6313a78b8e6c6226b28d74e2410868aaebd353b9c6b1bfc5fd3ca5f65
MD5 9641ffdd9338571a84cb9a40ed04aaa6
BLAKE2b-256 04832986b5bbc41d968aa8a03ab1b08ee3e5c44c6a975eaec5c8bc0b5d5a69b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page