Skip to content. Skip to navigation

ICTP Portal

Sections
You are here: Home Members msundt GeoTagger.xml
Personal tools
Document Actions

GeoTagger.xml

This is a simple geo-tagging XForm. Copy it to /sdcard/odk/forms/GeoTagger.xml

Click here to get the file

Size 1.0 kB - File type text/xml

File contents

<?xml version="1.0"?>
<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:jr="http://openrosa.org/javarosa">
	<h:head>
		<h:title>GeoTagger</h:title>
		<model>
			<instance>
				<geotagger id="GeoTaggerV1" >
					<DeviceId/>
					<Image/>
					<Location/>
					<Description/>
				</geotagger>
			</instance>
			<bind nodeset="/geotagger/DeviceId" type="string" jr:preload="property" jr:preloadParams="deviceid"/>
			<bind nodeset="/geotagger/Image" type="binary"/>
			<bind nodeset="/geotagger/Location" type="geopoint"/>
			<bind nodeset="/geotagger/Description" type="string"/>
		</model>
	</h:head>
	<h:body>
		<upload ref="Image" mediatype="image/*">
			<label>Please capture an image.</label>
		</upload>
		<input ref="Location">
			<label>Now, capture your location.</label>
		</input>
		<input ref="Description">
			<label>Describe the image and where you are.</label>
		</input>
	</h:body>
</h:html>

Powered by Plone This site conforms to the following standards: