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
Close
Hashes for space_objects_geos-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52064f168fa57da5ed051737899a8be65c87116d50caf4691536bd6913b84ab3 |
|
MD5 | 88e450d651d8f6ec259fcd580203bcf0 |
|
BLAKE2b-256 | 2b11d3df0e583efdd555d85d1515c1d6544e66df253ac4cb9b795f5367220108 |