Giter Site home page Giter Site logo

py_ellipsoids's Introduction

Overview

py_ellipsoids takes a file defining one or more ellipsoid data, creates a Collada object (using pyCollada), and exports a KMZ file (using the SimpleKML python package) that includes that Collada object.

Installation

Some python python packages are necessary for successful execution. The necessary packages can be found in the requirements.txt file. To install:

pip install -r requirements.txt

Compatibility

py_ellipsoids has been tested using python 2.7.8+ and python 3.4.1+.

Usage

Instructions for execution can be obtained by running the command:

python src/py_ellipsoids.py -h 

The Config file

The config file is a plain text file consisting of a table of values, with headings. Each row defines an ellipsoid, and each column describes properties of that ellipsoid. The first column has no heading, and is the ellipsoid name or description (no spaces permitted). The remaining columns each have a heading, and may be in any order - descriptions are given:

    A       (Ellipsoid semi-axis along the x-direction)
    B       (Ellipsoid semi-axis along the y-direction)
    C       (Ellipsoid semi-axis along the z-direction)
    lat     (Latitude position of the centre of the ellipsoid)
    lon     (Longitude position of the centre of the ellipsoid)
    alt     (Altitude position of the centre of the ellispsoid, relative to the ground)
    alpha   (Rotation, in radians, about the x-axis)
    beta    (Rotation, in radians, about the y-axis)
    gamma   (Rotation, in radians, about the z-axis)
    red     (red component of rgb colour: 0..1)
    green   (green compnent of rgb colour: 0..1)
    blue    (blue compnent of rgb colour: 0..1)

py_ellipsoids's People

Contributors

sglim2 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.