> > Watch out for the escaping for Windows paths. You should have one of these: > > 'D:\\testShapefile.shp' > r'D:\testShapefile.shp' (I prefer this method) > 'D:/testShapefile.shp' (I think this works) > > As you have it, it will be "D:[tab]estShapefile.shp" with the tab > character. I don't think you are allowed to have a tab character in > Windows path names, but I'm not sure. > > apologies, that was a typo as I transcribed from python to email. I meant to write 'D:/testShapefile.shp' .....
(For completeness' sake, it does not work as 'D:\test' - the windows error message is: 'Could not create dbf file D: estShapfile.shp') -David
_______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users