|
DFLib Release 1.0.0
|
Classes | |
| class | pyProjPoint |
| class | pyProjReport |
Variables | |
| LSfix | MLfix = LSfix.Clone() |
| LSfix | MLv = MLfix.getXY() |
| LSfix | MLu = MLfix.getUserCoords() |
| ML_lon = -ML_lon; | |
| ML_lat = -ML_lat; | |
| str | ML_H_lon = "E"; |
| str | ML_H_lat = "N"; |
| ML_lon_f | |
| ML_lon_d | |
| ML_lat_f | |
| ML_lat_d | |
This simple Python script is meant to demonstrate how to use the DFLib python bindings with Point and Report classes implemented in Python. You do not have to build the C++ library version of DFLib to use this, only the Python library: python setup.py build_ext --inplace [--swig <path to swig>] This assumes you actually have installed swig, and are set up to compile C++ codes. This should create the DFLib python module. This script also assumes you have installed the "pyproj" module from http://jswhit.github.io/pyproj/ or via your system's package management system.
| str pyProjPoint.ML_H_lat = "N"; |
| str pyProjPoint.ML_H_lon = "E"; |
| ML_lat pyProjPoint.ML_lat = -ML_lat; |
| pyProjPoint.ML_lat_d |
| pyProjPoint.ML_lat_f |
| ML_lon pyProjPoint.ML_lon = -ML_lon; |
| pyProjPoint.ML_lon_d |
| pyProjPoint.ML_lon_f |
| LSfix pyProjPoint.MLfix = LSfix.Clone() |
| LSfix pyProjPoint.MLu = MLfix.getUserCoords() |
| LSfix pyProjPoint.MLv = MLfix.getXY() |