Le mardi 19 mai 2015 11:24:19, Ari Jolma a écrit : > 19.05.2015, 12:05, Even Rouault kirjoitti: > > Paolo, > > > >> Hi all. > >> I'm consistently getting a segfault from: > >> > >> ogr2ogr OUTPUTLAYER.shp strade.shp strade -dialect sqlite -sql "SELECT > >> ST_Line_Interpolate_Point( geometry , 0.5 ),* FROM 'strade' " > >> > >> Anything I can do for debugging? > > > > Running under gdb and displaying the stack trace. > > ogr2ogr OUTPUTLAYER.shp strade.shp -dialect sqlite -sql "SELECT > ST_Line_Interpolate_Point( geometry , 0.5 ),* FROM 'strade'" > ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT > ST_Line_Interpolate_Point( geometry , 0.5 ),* FROM 'strade'): > no such function: ST_Line_Interpolate_Point > > I have both SQLite and SpatiaLite support on. What's going on?
Not using a recent enough SpatiaLite I guess > > Ari > > >> Debian Sid, might be a platform specific issue? > >> https://bugs.debian.org/785091 > > > > I've seen recently a similar discussion on spatialite mailing list I > > think. If upgrading from spatialite 4.something to 4.1.2 or later, GDAL > > should also be recompiled so as to benefit from the spatialite_init_ex() > > functions > > > > I don't recall the details but I somehow remember that one of the > > intermediate spatialite versions had an issue in its termination routine > > freeing the global GEOS context. I don't have any more problems with > > latest versions. But the debian ticket you mention seemed to be about a > > problem that arose with proj4 update. Hum... > > > > Even > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
