Markus Neteler wrote:

> > I've tried importing the spearfish_contours files via File-->Import Vector
> > Map-->Multiple Formats Using OGR and get this message
> >
> > Invalid argument: can't _spawnl
> > Unable to start driver <sqlite>

> Could the problem be that \ and / slashes are used?

Quite possibly. Try this:

--- lib/db/dbmi_base/dbmscap.c  (revision 39364)
+++ lib/db/dbmi_base/dbmscap.c  (working copy)
@@ -175,6 +175,7 @@
        dirpath = G_malloc(strlen("\"\\driver\\db\\\"")
                           + strlen(G_gisbase()) + strlen(ent->d_name) + 1);
        sprintf(dirpath, "\"%s\\driver\\db\\%s\"", G_gisbase(), ent->d_name);
+       G_convert_dirseps_to_host(dirpath);
 #else
        G_asprintf(&dirpath, "\"%s/driver/db/%s\"", G_gisbase(), ent->d_name);
 #endif

-- 
Glynn Clements <gl...@gclements.plus.com>
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to