+ create table if not exists
+ use OGC_FID instead of PK_UID
This commit is contained in:
parent
2cb4265091
commit
9b4b249555
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ namespace mapnik {
|
|||
unsigned num_fields = cursor->getNumFields();
|
||||
|
||||
std::ostringstream create_sql;
|
||||
create_sql << "create table " << output_table_name << "(PK_UID INTEGER PRIMARY KEY AUTOINCREMENT,";
|
||||
create_sql << "create table if not exists" << output_table_name << "(OGC_FID INTEGER PRIMARY KEY AUTOINCREMENT,";
|
||||
|
||||
int geometry_oid = -1;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue