On 9 Dec 2018, at 9:44pm, Winfried <codecompl...@free.fr> wrote: > I need to importe a GPX file that contains a few thousand waypoints, eg. > <wpt lat="41.37824" lon="9.21024"><name>Some name</name></wpt>
Take a copy of the file, then edit the copy in a text editing program. Use global search/replace to turn it into csv format. For example, the above line would become 41.37824,9.21024,"Some name" Then use the SQLite CLI tool to import the CSV file. I think this will be faster than writing your own code to convert it or import it. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users