<div dir="ltr">Hi Even,<div><br></div><div>thanks for the reply. I was meaning to be able to use it on other file types, such as shape and TAB, as one would specify <br>-dialect SQLITE when doing ogrinfo.</div><div><br></div><div>Cheers</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><p><font face="Arial, Verdana, Helvetica"><span style="font-size:10pt"><b>
        Marco Giana</b></span></font><br></p></div></div><div class="gmail_quote">On Thu, Jun 16, 2016 at 9:59 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Le jeudi 16 juin 2016 09:04:00, Marco Giana a écrit :<br>
> Hi,<br>
><br>
> I have a layer config<br>
><br>
> CONNECTION "E:\\All\\Data\\Kingston\\VicMap\\Tab\\KINGSTON_LGA_POLYGON.tab"<br>
> CONNECTIONTYPE OGR<br>
> DATA "SELECT * FROM KINGSTON_LGA_POLYGON"<br>
><br>
> wondering, is it possible set DIALECT SQLITE in the MapFile to be able to<br>
> use spatialite SQL rather than OGR_SQL in the DATA tag?<br>
<br>
</span>That should work. OGR_DS_ExecuteSQL() is run without any explicit dialect, so<br>
it is the default dialect of each OGR driver that is used, and in the case of<br>
SQLite/Spatialite, it will evaluated by SQLite itself.<br>
<br>
><br>
> Cheers<br>
><br>
> * Marco Giana*<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
</font></span></blockquote></div><br></div></div>