Provide space_objects output geometry capabilities like shapely geometry and geojson.
Project description
space_objects_geos
pip install space-objects-geos
This is an extension for space_objects package.
Provides outputs objects for easily work with shapely geometries from the originals outputs objects.
Usefull for geometries calculations and geojson representation for web display.
sample
from space_objects.models import SatelliteActive
from space_objects_geos.outputs import OrbitObjectGeos, PositionObjectGeos
your_position = {
"observation_position_longitude": 1.433333,
"observation_position_latitude": 43.6,
}
satellite_name = "ISS (ZARYA)"
iss_object = SatelliteActive(satellite_name, **your_position)
position = PositionObjectGeos(iss_object.get_position())
orbit = OrbitObjectGeos(iss_object.get_orbit())
print(position.geojson)
print(orbit.geojson)
position geojson
orbit geojson
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file space_objects_geos-1.2.0.tar.gz
.
File metadata
- Download URL: space_objects_geos-1.2.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfda4366be214c5871aa663c53cfe88f31087b20416198781728d36103a2a3dc |
|
MD5 | 26825ff166e7d144bee8f99dfd0cfcce |
|
BLAKE2b-256 | d004faa903e92dfde641c5a9ee37950da964edecc9e947706d17ce7d1b18bc53 |
File details
Details for the file space_objects_geos-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: space_objects_geos-1.2.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52064f168fa57da5ed051737899a8be65c87116d50caf4691536bd6913b84ab3 |
|
MD5 | 88e450d651d8f6ec259fcd580203bcf0 |
|
BLAKE2b-256 | 2b11d3df0e583efdd555d85d1515c1d6544e66df253ac4cb9b795f5367220108 |