How to select more than one value to an object?

All about DigiTerra Explorer 5 mobile GIS software: questions and answers, tips and tricks. You can share information and knowledge about DigiTerra Explorer 5 with other users, by using this forum.
User avatar
Balazs Hober
Site Admin
Posts: 260
Joined: Fri Aug 08, 2008 12:53 am
Location: Hungary, Budapest
Contact:

How to select more than one value to an object?

Postby Balazs Hober » Thu Jul 16, 2009 2:39 pm

Question:
We have finally managed to add pick lists to our items using the CDT file but a question popped up: in the options of the pick list is it possible to select more than 1 option of the list, like multiple choice? For instance if a light post in terms of colour have more than one colour and we have this list:

# Colour
1 Blue
2 Red
3 Green
4 Brown
5 Black


If we want to characterize this light post that is Red and Brown, is it possible to choose both on the pick List?

Answer:
1. Create a new vector layer (eg. in DigiTerra Map or ESRI Shape file format): point_layer
2. Add a key field: Color_ID in its attribute table with the following parameters:

Image

3. Create a new table (eg. DigiTerra Tab or dBase file format with the Create new layer tool: colors
4. Add a key field: Color_ID in its attribute table with the same parameters as the other attribute in the table above
5. Set the Color_ID as a "Link Field" in the colors table (Open the Source panel on the Layers window and select Color_ID in the drop-down list of the Link Field):

Image

6. Set the new record display to Tree view on the Record Tab of the Settings panel:

Image

7. Set the point_layer as Edited layer:

Image Image

8. Create a new point object:

Image

9. Tap on the Colors (Add) table and press OK in the Linked Table - Add Record MSG box:

Image

10. Select the appropriate values in the colors table, then OK:

Image

...and finally here is the result:
Image

11. Save the project as an .EXP file where you have created the vector layer and linked colors table
12. Upload the project with all of its files to a new directory of the DigiTerra Explorer 5 SD Card and set the new record display to Tree view on the Record Tab of the Settings panel
13. Open the .EXP project file with the Open Map tool and start the data collection with GPS.

That was all! ;)
Attachments
sample_project.rar
Try it with the attached project!
(4.94 KiB) Downloaded 386 times

Return to “DigiTerra Explorer 5”

Who is online

Users browsing this forum: No registered users and 1 guest