[gdal-dev] Re: ogr csv layer gdal

Murat Beyhan beyhan at deprem.gov.tr
Tue Mar 6 03:19:06 EST 2012


Thanks Rahkonen,
The problem solved by giving full path of csv file in map file as
follows than it works thanks

   <SrcDataSource>/var/www/html/dynamic/kyh_sta_ogr.csv</SrcDataSource>

thanks again
Murat

On Tue, 2012-03-06 at 08:08 +0000, Jukka Rahkonen wrote:
> Murat Beyhan <beyhan <at> deprem.gov.tr> writes:
> 
> > 
> > Dear all,
> ....
> 
> > Please let me inform what is wrong in my code and why always trouble to
> > draw ogr layer in mapserver.
> > mapserver gives following error message
> > 
> > msDrawMap(): Image handling error. Failed to draw layer named
> > 'kyh_vrt_ogr'. msOGRFileOpen(): OGR error. Open failed for OGR
> > connection in layer `kyh_vrt_ogr'. Failed to open datasource
> > `kyh_sta_ogr.csv'.
> > 
> > but command 
> > ogrinfo -ro -al kyh.vrt 
> > as follows:
> 
> I would try to refer to the kyh.vrt with Mapserver in a similar way than you do
> with ogrinfo.
> 
> -Jukka Rahkonen-
> 
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> 



Murat BEYHAN 

Jeofizik Y.Müh.
T.C. Başbakanlık
Afet ve Acil Durum Yönetimi Başkanlığı
Deprem Dairesi Başkanlığı
Eskişehir Yolu 12. Km.
Lodumlu/ANKARA
Tel: 312 2872680-1556
email:beyhan at deprem.gov.tr




-- 
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