[Qgis-developer] GDAL Python Bindings

Tisham Dhar tisham at apogee.com.au
Sun Oct 28 22:41:57 EDT 2007


Hi,

GDAL already uses swig ngpython bindings, can't you reuse those ? There
is a gdalconst.py generated by swig which contains the enums.

Cheers,

Tishampati Dhar

 Software Developer

 APOGEE IMAGING INTERNATIONAL

 Building 12B

 1 Adelaide - Lobethal Road 

 Lobethal SA 5241 

  Telephone: +61 - 8 - 8389 5499

 Fax: +61 - 8 - 8389 5488

 Mobile: +61 - 406114165

Email: tisham at apogee.com.au mailto:tisham at apogee.com.au>

Web: www.apogee.com.au <http://www.apogee.com.au> 

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"The information in this e-mail may be confidential and/or commercially
privileged. It is intended solely for the addressee. Access to this
e-mail by anyone else is unauthorised. If you are not the
intendedrecipient, any disclosure, copying, distribution or action taken
or omitted to be taken in reliance on it, is prohibited and may be
unlawful."



-----Original Message-----
From: qgis-developer-bounces at lists.qgis.org
[mailto:qgis-developer-bounces at lists.qgis.org] On Behalf Of
qgis-developer-request at lists.qgis.org
Sent: Monday, 29 October 2007 9:01 AM
To: qgis-developer at lists.qgis.org
Subject: Qgis-developer Digest, Vol 20, Issue 25[Scanned]


Send Qgis-developer mailing list submissions to
	qgis-developer at lists.qgis.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
or, via email, send a message with subject or body 'help' to
	qgis-developer-request at lists.qgis.org

You can reach the person managing the list at
	qgis-developer-owner at lists.qgis.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Qgis-developer digest..."


Today's Topics:

   1. Python bindings, GDAL, and SIP file help needed (Peter Ersts)


----------------------------------------------------------------------

Message: 1
Date: Sat, 27 Oct 2007 23:33:41 -0400
From: Peter Ersts <ersts at amnh.org>
Subject: [Qgis-developer] Python bindings, GDAL, and SIP file help
	needed
To: qgis-developer <qgis-developer at lists.qgis.org>
Message-ID: <47240315.7040308 at amnh.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Developers,

I am currently working on refactoring the raster layer and have hit a 
brick wall with trying to generate a SIP file for on of the new classes.

The basic SIP layout I have figured out by looking at the other SIP 
files, but I am running into problems referencing GDAL enums. I need 
access to GDALDataType, which is in gdal.h. Do I need to make another 
SIP file for gdal.h?

Can one of you python gurus give me a gentle kick in the right
direction?

Thanks in advance,
-pete

-- 
====================================
Peter J. Ersts, Project Specialist
American Museum of Natural History
Center for Biodiversity and Conservation
Central Park West at 79th Street
New York, New York 10024
Tel: (212)-496-3488 or (212)-769-5742
Fax: (212)-313-7295 or (212)-769-5292
Web: http://cbc.amnh.org
Web: http://geospatial.amnh.org

Open Source, Open Mind.
...evolving through community cooperation to change the world bit by bit




------------------------------

_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.qgis.org
http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer


End of Qgis-developer Digest, Vol 20, Issue 25
**********************************************





More information about the Qgis-developer mailing list