28.05.2013 Views

QGIS User Guide - OSGeo Download Server

QGIS User Guide - OSGeo Download Server

QGIS User Guide - OSGeo Download Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

12 USO DEI PLUGIN CORE <strong>QGIS</strong><br />

Tabella 8: The XML tags read by eVis<br />

Tag Description<br />

query Defines the beginning and end of a query statement.<br />

shortdescription A short description of the query that appears in the eVis dropdown<br />

menu.<br />

description A more detailed description of the query displayed in the Predefined<br />

Query text window.<br />

databasetype The database type as defined in the Database Type dropdown menu in<br />

the Database Connection tab.<br />

databaseport The port as defined in the Port textbox in the Database Connection tab.<br />

databasename The database name as defined in the Database Name textbox in the<br />

Database Connection tab.<br />

databaseusername The database username as defined in the <strong>User</strong>name textbox in the<br />

Database Connection tab.<br />

databasepassword The database password as defined in the Password textbox in the<br />

Database Connection tab.<br />

sqlstatement The SQL command.<br />

autoconnect A flag (“true” or “false”) to specify if the above tags should be used<br />

to automatically connect to database without running the database<br />

connection routine in the Database Connection tab.<br />

SQLITE<br />

<br />

<br />

C:\Workshop\eVis_Data\PhotoPoints.db<br />

<br />

<br />

SELECT Attributes.*, Points.x, Points.y FROM Attributes LEFT JOIN<br />

Points ON Points.rec_id=Attributes.point_ID where COMMENTS=’Looking across<br />

valley’<br />

false<br />

<br />

<br />

Import photograph points that mention "limestone"<br />

This command will import only points that have photographs that mention<br />

"limestone" to <strong>QGIS</strong><br />

SQLITE<br />

<br />

<br />

C:\Workshop\eVis_Data\PhotoPoints.db<br />

<strong>QGIS</strong> 1.4.0 <strong>User</strong> <strong>Guide</strong> 158

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!