3
******************************************************************************
4
Installing libLAS using OSGeo4W
5
******************************************************************************
9
:Contact: hobu.inc at gmail dot com
12
This document describes how to install libLAS and its related :ref:`utilities <utilities>`
13
using `OSGeo4W`_. `OSGeo4W`_ is a collection of Windows packages that uses the `Cygwin`_
14
installer to manage package dependencies. libLAS in its fully-featured form
15
requires a number of dependencies, and these are all available via the OSGeo4W installer.
17
1) Obtain the `OSGeo4W Installer`_. It is an executable that will run and
18
automatically download and install selected packages.
21
OSGeo4W does not currently provide any options to install in any other
22
locations besides ``C:\osgeo4w``.
24
.. `OSGeo4W Installer`: http://download.osgeo.org/osgeo4w/osgeo4w-setup.exe
26
2) Choose "Advanced Install".
29
libLAS is not part of any default package grouping, and it must be
30
installed individually.
32
.. figure:: ./images/osgeo4w-advanced-install.png
33
:alt: Choosing the "Advanced" OSGeo4W install
35
3) Select liblas from the "Commandline_Utilities" dropdown
37
.. figure:: ./images/osgeo4w-select-liblas.png
38
:alt: Selecting libLAS to install from the "Advanced" list tree
40
4) *Optional*: Select liblas-python from the "Libs" dropdown
42
5) Run the ``OSGeo4W Shell`` from Start-Programs-OSGeo4W
44
6) Execute the ``liblas`` command to set environment variables necessary to
45
support full libLAS operations.
48
libLAS needs a number of environment variables set to do its business,
49
most notably the ones related to `GDAL`_ and `Proj.4`_ for
50
reprojection and coordinate system description.
52
.. figure:: ./images/osgeo4w-run-liblas-shell.png
53
:alt: Running the libLAS subshell from OSGeo4W
55
7) Test ``lasinfo`` with your own data
57
.. figure:: ./images/osgeo4w-lasinfo-output.png
60
.. _`OSGeo4W Installer`: http://download.osgeo.org/osgeo4w/osgeo4w-setup.exe
61
.. _`OSGeo4W`: http://trac.osgeo.org/osgeo4w/
62
.. _`Cygwin`: http://www.cygwin.com/
63
.. _`GDAL`: http://www.gdal.org
64
.. _`Proj.4`: http://trac.osgeo.org/proj/
b'\\ No newline at end of file'