public static OpenShapefile ( string filename, string tableName ) : bool | ||
filename | string | |
tableName | string | |
리턴 | bool |
public static bool OpenShapefile(string filename, string tableName)
{
string databaseFileName = Path.Combine(Path.GetDirectoryName(filename), "shape.dat");
var client = new SqliteDataClient(databaseFileName);
using (DbConnection conn = client.GetConnection())
{
return ShapefileHelper.ImportShapefile(conn, client, filename, tableName, -1);
}
}