mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
Beginning of GIST index implementation for spit
git-svn-id: http://svn.osgeo.org/qgis/trunk@2382 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
8061b19d09
commit
bbbdc11dee
@ -121,7 +121,7 @@ void QgsDelimitedTextPluginGui::updateFieldLists()
|
||||
// clear the sample text box
|
||||
txtSample->clear();
|
||||
// put the header row in the sample box
|
||||
txtSample->insert(line + "\n");
|
||||
txtSample->insert(line + "\n");
|
||||
// put a few more lines into the sample box
|
||||
int counter = 0;
|
||||
while((line=stream.readLine()) && (counter < 20))
|
||||
|
@ -246,6 +246,12 @@ bool QgsShapeFile::insertLayer(QString dbname, QString schema, QString geom_col,
|
||||
delete feat;
|
||||
}
|
||||
}
|
||||
// create the GIST index if the the load was successful
|
||||
if(result)
|
||||
{
|
||||
// prompt user to see if they want to build the index and warn
|
||||
// them about the potential time-cost
|
||||
}
|
||||
ogrLayer->ResetReading();
|
||||
return result;
|
||||
}
|
||||
|
@ -123,6 +123,7 @@ void QgsGraduatedSymRenderer::readXML(const QDomNode& rnode, QgsVectorLayer& vl)
|
||||
{
|
||||
QDomNode classnode = rnode.namedItem("classificationfield");
|
||||
int classificationfield = classnode.toElement().text().toInt();
|
||||
|
||||
this->setClassificationField(classificationfield);
|
||||
|
||||
QDomNode rangerendernode = rnode.namedItem("rangerenderitem");
|
||||
|
Loading…
x
Reference in New Issue
Block a user