<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Felipe,</p>
<p>If you look at <a class="moz-txt-link-freetext" href="https://gdal.org/drivers/vector/mysql.html">https://gdal.org/drivers/vector/mysql.html</a>, you
can see a SPATIAL_INDEX layer creation being mentioned.</p>
<p>So try adding -lco SPATIAL_INDEX=NO to your ogr2ogr command line</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 16/05/2022 à 22:13, Felipe Matas via
gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:762023823.2228995.1652732026059@mail.yahoo.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="yahoo-style-wrap" style="font-family:Helvetica Neue,
Helvetica, Arial, sans-serif;font-size:16px;">
<div dir="ltr" data-setdir="false">Hi, I'm trying to use Dolt (a
new db) with spatial data, it works with a MySQL syntax/core,
so I'm able to use ogr2ogr to export data to the database,
well half of it, the db actually don't support spatial index,
and ogr2ogr use a spatial index, is there a way to upload a
spatial file without set a spatial index with ogr2ogr? I check
the doc, sadly I wasn't able get an answer.<br>
</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">Thx.<br>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>