Re: [gdal-dev] Re: ESRI file geodatabase support

2010-06-17 Thread Eric Wolf
Matt's chicken-and-egg point seems dead-on. Except that Jack Dangermond abhors a vacuum and ESRI has been focused on higher-order issues than file formats. They are trying to provide topological constraints in the database (or file) and things like geometric networks (which are really just a set of

Re: [gdal-dev] field name in ESRI file

2010-03-24 Thread Eric Wolf
ESRI Shapefiles use the ancient DBF format for attribute data. DBFs restricts the length of field names. When I have to work with Shapefiles, I try to stick to 8-character field names and avoid spaces and special characters. -Eric -=--=---===---=--=-=--=---==---=--=-=- Eric B. Wolf

Re: [gdal-dev] Oracle OCI connection in Python OGR

2010-02-18 Thread Eric Wolf
mind trying other's eggs. -Eric -=--=---===---=--=-=--=---==---=--=-=- Eric B. WolfNew! 720-334-7734 USGS Geographer Center of Excellence in GIScience PhD Student CU-Boulder - Geography GPG Public Key: http://www.h4h.net/ebwolf.public.key.txt On Mon, Feb 15, 2010

[gdal-dev] Python problem with exportToGML()

2010-02-16 Thread Eric Wolf
I've decided to just get some work done rather than focus on the Oracle issues. Fortunately, the code I write with OGR using Shapefiles should work seamlessly with Oracle (or relatively seamlessly). But now I have a new problem. I am getting the following error when I call exportToGML(): Tracebac

Re: [gdal-dev] Oracle OCI connection in Python OGR

2010-02-15 Thread Eric Wolf
s also the NLS_LANG. NLS_LANG is set as a local environment variable > on UNIX and is set in the registry on Windows. > > I just following that clue, but can you use ogr.Open() with a local file, > like a shape file? > > Best regards, > > Ivan > > > > > >

Re: [gdal-dev] Oracle OCI connection in Python OGR

2010-02-15 Thread Eric Wolf
: http://www.h4h.net/ebwolf.public.key.txt On Mon, Feb 15, 2010 at 3:33 PM, Ivan wrote: > Eric, > > > Eric Wolf wrote: > >> I'm running Oracle 11g on the same machine as the Python script. >> >> I did test cx_Oracle and found that it wasn't working. I was usi

Re: [gdal-dev] Oracle OCI connection in Python OGR

2010-02-15 Thread Eric Wolf
p://www.h4h.net/ebwolf.public.key.txt On Sun, Feb 14, 2010 at 12:45 PM, Abhay wrote: > > > On Fri, Feb 12, 2010 at 11:32 PM, Eric Wolf wrote: > >> Thanks for the replies. Sorry I didn't give more details on the >> environment. >> >> I am running on Windows, at

Re: [gdal-dev] Oracle OCI connection in Python OGR

2010-02-12 Thread Eric Wolf
ublic Key: http://www.h4h.net/ebwolf.public.key.txt On Fri, Feb 12, 2010 at 6:56 AM, Abhay wrote: > > > On Fri, Feb 12, 2010 at 2:48 PM, Eric Wolf wrote: > >> I'm using GDAL/OGR 1.6.1 with ActivePython 2.6.4-10 and >> cx_Oracle-5.0.3-11g. I am trying to connect

[gdal-dev] Oracle OCI connection in Python OGR

2010-02-12 Thread Eric Wolf
I'm using GDAL/OGR 1.6.1 with ActivePython 2.6.4-10 and cx_Oracle-5.0.3-11g. I am trying to connect to an Oracle 11g instance. This works: ogr2ogr -f "KML" emp.kml OCI:scott/tiger "EMP" What am I doing wrong. This fails, ds is None: from osgeo import ogr try: d = ogr.GetDriverByName('O