Skip to main content

Add your description here

Project description

gismath

安装

pip install gismath

示例

import gismath

lon, lat, alt = 121.57156751580956, 31.287623375403385, 0.15180000000691507

# c++ 实现
ecef_cpp = gismath.geodetic2ecef_cpp(lon, lat, alt)

# cython 实现
ecef_cy = gismath.geodetic2ecef_cy(lon, lat, alt)

print(ecef_cpp)
>>> [-2856298.1505069532, 4648013.005657461, 3293186.773949799]

print(ecef_cy)
>>> (-2856298.1505069532, 4648013.005657461, 3293186.773949799)

提供常用 GIS 算法的 CPP 版本和 Cython 版本

测试 CPP 版耗时 Cython 版耗时 numba.njit 耗时 numba.njit(fastmath=True) 耗时 Pure Python 3.11.3
经纬度转ECEF(50000000 条) 16.043000 秒 08.345999 秒 14.576452 秒 10.386999 秒 40.454000 秒

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

gismath-0.1.3-cp314-cp314-win_amd64.whl (139.3 kB view details)

Uploaded CPython 3.14Windows x86-64

gismath-0.1.3-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (267.3 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

gismath-0.1.3-cp313-cp313-win_amd64.whl (137.4 kB view details)

Uploaded CPython 3.13Windows x86-64

gismath-0.1.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (266.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

gismath-0.1.3-cp312-cp312-win_amd64.whl (137.7 kB view details)

Uploaded CPython 3.12Windows x86-64

gismath-0.1.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (267.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

gismath-0.1.3-cp311-cp311-win_amd64.whl (138.6 kB view details)

Uploaded CPython 3.11Windows x86-64

gismath-0.1.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (274.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file gismath-0.1.3-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: gismath-0.1.3-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 139.3 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for gismath-0.1.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 e1c1b14dfd5a5085835324205443b4ff172743ff0700cd19ec9b035a106dc571
MD5 c605786a572046bb6362989f7d8a3558
BLAKE2b-256 d3e07894829f6362774a21135eeba22a5851e6e1857ce4445ab1fdc277d5e600

See more details on using hashes here.

File details

Details for the file gismath-0.1.3-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gismath-0.1.3-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7abd9508bb48ce5e076b863f744e2e2c2a92cb87f7f77851c5c2c6589bbd8203
MD5 d25ee1c44cefe38523392020abaeb70b
BLAKE2b-256 baa7521e6f7f06de5e27a70ee068fcbcb82f9daa0bbf162f100c942152c51092

See more details on using hashes here.

File details

Details for the file gismath-0.1.3-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: gismath-0.1.3-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 137.4 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for gismath-0.1.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8428891ec4d6cb5e50b808a12791e9ea5967ef36d2d54b18066a3e612012a2db
MD5 71e45e7f8b7fc9cc06c67faafdcc52a1
BLAKE2b-256 9d7c4242cfe874d79100e351344f37c9ab05b64c4c2f951ccb7c61d6ea1f46d8

See more details on using hashes here.

File details

Details for the file gismath-0.1.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gismath-0.1.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8b65ab64be5a54eb232af73ed1a042d0a0e999b15a91154a7dd4338d5b339671
MD5 a639052bb751b0be40280b3617196cec
BLAKE2b-256 9a41339977a8528334a7a83c80fb52d00212cbc73318de622eca482ad62992f9

See more details on using hashes here.

File details

Details for the file gismath-0.1.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: gismath-0.1.3-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 137.7 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for gismath-0.1.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0dee9ff71923ecced0d2aa4861e9e7395b047cb3ed2348f9bc6cb076aaf27141
MD5 ba456dcec4823d9e712a7365e7cf435e
BLAKE2b-256 a9f407b786e0a0109666697714c40a914db76bfde765d13ca1eade82d4d3ee6d

See more details on using hashes here.

File details

Details for the file gismath-0.1.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gismath-0.1.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6673bb4b3bf7699e4563cc1839981797e67b3f5ba40080cc023f513ca1ab573e
MD5 98200d2d37b56854f36ec5ea8c250e30
BLAKE2b-256 9f6570e85e875eda7c5eee03d55cea1b4761a567974a5e8b017042edbeebfa27

See more details on using hashes here.

File details

Details for the file gismath-0.1.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: gismath-0.1.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 138.6 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for gismath-0.1.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 eeddb755658f3c0f231b434ca99dfa1ea175e9292fcac39e86bff68b2acd5357
MD5 77ae83223443515dbd86e34400e3f9d8
BLAKE2b-256 e56614a1b979584ee2fa44854f41238587af087c3ebe746b8e641907445c2057

See more details on using hashes here.

File details

Details for the file gismath-0.1.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for gismath-0.1.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5eeb4938c1b26e25abba909130b63e9885c24e3c68622279aa62327a878bf78c
MD5 8b9379f836e9b0eedb73e57a1f59a9d1
BLAKE2b-256 c229e38cae268af73e6c9197c389a78288db1850b70df9f81130a1a78a9e27fa

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