Re: [gdal-dev] ogr problems with MapInfo

2010-10-06 Thread Frank Warmerdam
Daniel Morissette wrote: Now, according to http://trac.osgeo.org/gdal/wiki/LargeFileSupport GDAL/OGR already enables large file support if your OS supports it . Obviously that did not work in this case. Daniel, The above topic says that GDAL supports reading large files, it doesn't necessarily

Re: [gdal-dev] ogr problems with MapInfo

2010-10-06 Thread Daniel Morissette
Taking this thread back to the list. The problem here seems to be that the stat() calls fail because the samba share uses large (64 bit) inode values which are too large for the 32 bit st_ino member of the stat struct. I have found two possible solutions on the Web, but didn't test either one: 1

Re: [gdal-dev] ogr problems with MapInfo

2010-10-04 Thread Daniel Morissette
mation about what is happening but haven't heard back from him yet. Here is a copy of what I sent in case you're interested: Original Message -------- Subject: Re: [gdal-dev] ogr problems with MapInfo Date: Thu, 30 Sep 2010 10:09:17 -0400 From: Daniel Morissette To: Sebasti

Re: [gdal-dev] ogr problems with MapInfo

2010-10-02 Thread Chaitanya kumar CH
Hi, I think the problem is with the call to stat() on the samba mounted files. tab2tab reported the same problem. On Thu, Sep 30, 2010 at 7:10 PM, Sebastian E. Ovide < sebastian.ov...@gmail.com> wrote: > done... didn't work... > > Copied on the same SMB folder with undercase names... both ogrinf

Re: [gdal-dev] ogr problems with MapInfo

2010-09-30 Thread Sebastian E. Ovide
done... didn't work... Copied on the same SMB folder with undercase names... both ogrinfo and tab2tab failed. Copied the same files to a local folder and both ogrinfo and tab2tab succeeded... same errors On Thu, Sep 30, 2010 at 1:44 PM, Daniel Morissette wrote: > Sebastian E. Ovide wrote:

Re: [gdal-dev] ogr problems with MapInfo

2010-09-30 Thread Daniel Morissette
Sebastian E. Ovide wrote: > > can verbosity be increased further ? > I don't think so... the only way to know more about what is happening would be to run this in gdb. > and with TAB2TAB the only messages that I get are: > > g...@mapserver:/tmp$ /home/gis/src/mitab-1.7.0/mitab/tab2tab > /home

Re: [gdal-dev] ogr problems with MapInfo

2010-09-30 Thread Sebastian E. Ovide
no luck... gdal is compiled with --enable-debug and CPL_DEBUG=ON the only output that I get is g...@mapserver:~/data/tmp$ ogrinfo . OGR: OGROpen(.) failed. OGR: OGROpen(.) failed. FAILURE: Unable to open datasource `.' with the following drivers. -> ESRI Shapefile -> MapInfo File ... can ve

Re: [gdal-dev] ogr problems with MapInfo

2010-09-29 Thread Daniel Morissette
Sebastian E. Ovide wrote: > ok guys, something weird is happening... > > I have the data in a windows share folder on another machine. So I have > mounted that folder on a VBox Ubuntu. ogrinfo would not work on those files. > > I copied those files to another directory: > > us is the smb folder

Re: [gdal-dev] ogr problems with MapInfo

2010-09-29 Thread Sebastian E. Ovide
ok guys, something weird is happening... I have the data in a windows share folder on another machine. So I have mounted that folder on a VBox Ubuntu. ogrinfo would not work on those files. I copied those files to another directory: us is the smb folder tmp is a local folder cp us/* tmp/ on tm

Re: [gdal-dev] ogr problems with MapInfo

2010-09-29 Thread Sebastian E. Ovide
Is there anyway to get more verbose outputs ? g...@mapserver:~/data/us$ ls -la . -rwxr-xr-x 1 gis root 3512226 2010-09-28 17:10 CA_Wild Fire Bundle.DAT -rwxr-xr-x 1 gis root413184 2010-09-28 17:10 CA_Wild Fire Bundle.ID -rwxr-xr-x 1 gis root 6606336 2010-09-28 17:10 CA_Wild Fire Bundle.IN

Re: [gdal-dev] ogr problems with MapInfo

2010-09-28 Thread Chaitanya kumar CH
Sebastian, Can you provide a long list of the directory? On Tue, Sep 28, 2010 at 10:09 PM, Sebastian E. Ovide < sebastian.ov...@gmail.com> wrote: > Hi All, > > I have built gdal with MapInfo support: > > g...@mapserver:~/data/us$ ogrinfo --formats > Supported Formats: > -> "ESRI Shapefile" (re

[gdal-dev] ogr problems with MapInfo

2010-09-28 Thread Sebastian E. Ovide
Hi All, I have built gdal with MapInfo support: g...@mapserver:~/data/us$ ogrinfo --formats Supported Formats: -> "ESRI Shapefile" (read/write) -> "MapInfo File" (read/write) ... ... And I have MapInfo files. Now running ogrinfo: g...@mapserver:~/data/us$ ogrinfo -ro . OGR: OGROpen(.) fail