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.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e69ad59b99fcc0ca87ef19353045479da6dee0ec5f91947c3fe6d2007172a392 |
|
MD5 | a3a0357749f6aa45e7d77305ced4812b |
|
BLAKE2b-256 | bbc2dabcfeeacbfdd0be77fe229c5806102b4c8f4f9ca2a215ba7cde6c1888c1 |