Hi, I had the same problem and Rashed appropriately pointed out that both SQLITE and GDAL have to be recompiled.
So, go to the superbuild compilation directory, do "rm -rf SQLITE GDAL", then "make" and that should work. Jordi "dominique.hebrard" <[email protected]> wrote: > > Hi everyone, > > A problem with the cmpilation with the superbuilder of the ogr2ogr have been > opened on Mantis : 0001055: SuperBuild builds ogr2ogr without sqlite driver > The problem have been confirmed and a solution is proposed, so the mantis is > closed on this topic. > > We had the same problem and we have folowed the instructions and recompiled > the OTB with tis modifcations : > > /usr/local/bin/ogr2ogr have bee compiled > and also > /usr/local/lib/libgdal.so.1.18.2 > > But unfortunatly we have tried again ogr2ogr and we still have the same > problem : > ERROR 6: The SQLite driver needs to be compiled to support the SQLite SQL > dialect > > The command line we are using is the folwing one : > ogr2ogr -f "ESRI Shapefile" > /mnt/hgfs/Data_Image_Saturn/calcul/CUB_Classification_final2_vectorised_labeled_dissolved_1_m2_tmp.shp > /mnt/hgfs/Data_Image_Saturn/calcul/CUB_Classification_final2_vectorised_labeled_1_m2.shp > -dialect sqlite -sql "SELECT ST_Union(geometry), classif FROM > CUB_Classification_final2_vectorised_labeled_1_m2 GROUP BY classif" > > an idea ? > > Cordialy > Dominique > > -- -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
