~ubuntu-branches/debian/sid/python-django/sid

« back to all changes in this revision

Viewing changes to docs/ref/contrib/gis/gdal.txt

  • Committer: Package Import Robot
  • Author(s): Raphaël Hertzog
  • Date: 2014-09-17 14:15:11 UTC
  • mfrom: (1.3.17) (6.2.18 experimental)
  • Revision ID: package-import@ubuntu.com-20140917141511-icneokthe9ww5sk4
Tags: 1.7-2
* Release to unstable.
* Add a migrate-south sample script to help users apply their South
  migrations. Thanks to Brian May.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
.. module:: django.contrib.gis.gdal
8
8
   :synopsis: GeoDjango's high-level interface to the GDAL library.
9
9
 
10
 
`GDAL`__ stands for **G**\ eospatial **D**\ ata **A**\ bstraction **L**\ ibrary,
 
10
`GDAL`__ stands for **Geospatial Data Abstraction Library**,
11
11
and is a veritable "swiss army knife" of GIS data functionality.  A subset
12
12
of GDAL is the `OGR`__ Simple Features Library, which specializes
13
13
in reading and writing vector geographic data in a variety of standard
80
80
       >>> from django.contrib.gis.gdal import DataSource
81
81
       >>> ds = DataSource(CITIES_PATH)
82
82
       >>> ds.name                         # The exact filename may be different on your computer
83
 
       '/usr/local/lib/python2.6/site-packages/django/contrib/gis/tests/data/cities/cities.shp'
 
83
       '/usr/local/lib/python2.7/site-packages/django/contrib/gis/tests/data/cities/cities.shp'
84
84
       >>> ds.layer_count                  # This file only contains one layer
85
85
       1
86
86
 
1015
1015
   and will automatically determines whether to return the linear
1016
1016
   or angular units.
1017
1017
 
1018
 
   .. attribute:: ellisoid
 
1018
   .. attribute:: ellipsoid
1019
1019
 
1020
1020
   Returns a tuple of the ellipsoid parameters for this spatial
1021
1021
   reference: (semimajor axis, semiminor axis, and inverse flattening)