20.10.2014 Views

TRD 05: Data Presentation techniques (Mapping) Quantum GIS ...

TRD 05: Data Presentation techniques (Mapping) Quantum GIS ...

TRD 05: Data Presentation techniques (Mapping) Quantum GIS ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

10.3 Using the Delimited Text Plugin<br />

10.3. Using the Delimited Text Plugin<br />

The Delimited Text plugin allows you to load a delimited text file as a layer in Q<strong>GIS</strong>.<br />

10.3.1. Requirements<br />

To view a delimited text file as layer, the text file must contain:<br />

1. A delimited header row of field names. This must be the first line in the text file<br />

2. The header row must contain an X and Y field. These fields can have any name.<br />

3. The x and y coordinates must be specified as a number. The coordinate system is not important<br />

An example of a valid text file might look like this:<br />

name|latdec|longdec|cell|<br />

196 mile creek|61.89806|-150.0775|tyonek d-1 ne|<br />

197 1/2 mile creek|61.89472|-150.09972|tyonek d-1 ne|<br />

a b mountain|59.52889|-135.28333|skagway c-1 sw|<br />

apw dam number 2|60.53|-145.75167|cordova c-5 sw|<br />

apw reservoir|60.53167|-145.75333|cordova c-5 sw|<br />

apw reservoir|60.53|-145.75167|cordova c-5 sw|<br />

aaron creek|56.37861|-131.96556|bradfield canal b-6|<br />

aaron island|58.43778|-134.81944|juneau b-3 ne|<br />

aats bay|55.9<strong>05</strong>|-134.24639|craig d-7|<br />

Some items of note about the text file are:<br />

1. The example text file uses | as delimiter. Any character can be used to delimit the fields.<br />

2. The first row is the header row. It contains the fields name, latdec, longdec, and cell<br />

3. No quotes (") are used to delimit text fields<br />

4. The x coordinates are contained in the longdec field<br />

5. The y coordinates are contained in the latdec field<br />

Q<strong>GIS</strong> 0.8 User Guide 75

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

Saved successfully!

Ooh no, something went wrong!