[gdal-dev] Selecting OGR Driver Based on File Name
Iván Sánchez Ortega
ivan at sanchezortega.es
Wed Oct 6 14:01:43 EDT 2010
On Wednesday 06 October 2010 14:38:31 Joel Odom wrote:
> Is there a canonical way to pick an OGR driver based on a file name or on a
> generalized connect string?
No, but you can do a generic open, as in:
datasource = ogr.Open(filename)
Cheers,
--
----------------------------------
Iván Sánchez Ortega <ivan at sanchezortega.es>
http://ivan.sanchezortega.es
MSN:i_eat_s_p_a_m_for_breakfast at hotmail.com
Jabber:ivansanchez at jabber.org ; ivansanchez at kdetalk.net
IRC: ivansanchez @ OFTC & freenode
More information about the gdal-dev
mailing list