Fw: [Gdal-dev] OGR functionality.
Murat BEYHAN
beyhan at deprem.gov.tr
Mon Sep 11 09:56:30 EDT 2006
Dear Warmerdam;
Thank you for the previous e mail.
You all right that I was make mistake for gdal by using old version.
I have clean all files related with old gdal version and I have installed
latest version of gdal-1.3.2-1 by using rpm file.
Than I have tried the following command to connect and read data from mysql.
[murat at sakura map]$ ogrinfo /var/www/html/map/agidata.ovf
But I have faced the following results output.
ERROR 4: Update access not supported for VRT datasources.
ERROR 1: Failed to open datasource
`MYSQL:eqinfo,user=root,password=mysql_123,host=localhost,port=3306,tables=deneme'.
FAILURE:
Unable to open datasource `/var/www/html/map/agidata.ovf' with the following
drivers.
-> ESRI Shapefile
-> MapInfo File
-> UK .NTF
-> SDTS
-> TIGER
-> S57
-> DGN
-> VRT
-> AVCBin
-> REC
-> Memory
-> CSV
-> GML
-> SQLite
-> PostgreSQL
Please help me why I'm wrong. And thank you for your interest.
Murat
warmerdam at pobox.com
---------- Forwarded Message -----------
From: "Murat BEYHAN" <beyhan at deprem.gov.tr>
To: "Murat BEYHAN" <beyhan at deprem.gov.tr>
Sent: Mon, 11 Sep 2006 16:35:54 +0300
Subject: Fw: [Gdal-dev] OGR functionality.
----- Original Message -----
From: "Frank Warmerdam" <warmerdam at pobox.com>
To: "Murat BEYHAN" <beyhan at deprem.gov.tr>
Cc: <gdal-dev at lists.maptools.org>
Sent: Tuesday, August 22, 2006 4:39 PM
Subject: Re: [Gdal-dev] OGR functionality.
> Murat BEYHAN wrote:
>> Dear Friends;
>>
>> I'm using mandrake linux limited edition 2005.
>> And I'm MapServer user.
>> For the connect MySQL by using ogr I have tried following connection
>>
>> <OGRVRTDataSource>
>> <OGRVRTLayer name="aqidata">
>>
>>
<SrcDataSource>MYSQL:eqinfo,user=root,password=mysql_123,host=localhost,port=3306,tables=deneme</SrcDataSource>
>> <SrcSQL>SELECT ID,Lat,Lon,Mag FROM deneme</SrcSQL>
>> <GeometryType>wkbPoint</GeometryType>
>> <GeometryField encoding="PointFromColumns" x="lat" y="lon"/>
>> </OGRVRTLayer>
>> </OGRVRTDataSource>
>>
>>
>> And I have faced the following
>> [root at sakura murat]# ogrinfo /var/www/html/map/agidata.ovf
>> ogrinfo: symbol lookup error: ogrinfo: undefined symbol:
>> _Z26OGRGeneralCmdLineProcessoriPPPci
>> [root at sakura murat]#
>
> Murat,
>
> This problem isn't related to the .ovf file particulars. It almost
> certainly means your ogrinfo executable is using the wrong version of
> libgdal.so (likely an older version of libgdal.so with a newer ogrinfo).
>
> Please review your shared library path settings. You may want to remove
> an older libgdal.so, or perhaps set LD_LIBRARY_PATH to ensure the newer
> library version gets picked up.
>
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush | President OSGF, http://osgeo.org
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
------- End of Forwarded Message -------
--
Open WebMail Project (http://openwebmail.org)
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Gdal-dev
mailing list