45 m_SRID = pgt.GetSRID();
46 m_Dimension = pgt.GetDimension();
47 m_RemoveExistingTable = pgt.GetRemoveExistingTable();
56 std::stringstream dropCommand;
59 dropCommand <<
"DROP TABLE IF EXISTS " <<
m_TableName <<
" CASCADE";
63 m_Result = T.exec(dropCommand.str());
66 std::stringstream createCommand;
69 <<
" (id serial PRIMARY KEY, genre TEXT);";
72 m_Result = T.exec(createCommand.str());
74 std::stringstream addGeometryCommand;
76 addGeometryCommand <<
"SELECT AddGeometryColumn( '" << m_TableName <<
79 m_Result = T.exec(addGeometryCommand.str());