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 > [email protected] > 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:[email protected] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
