Fun with InfoPath - tracking hike info as XML - ClubTread Community

User Tag List

 
LinkBack Thread Tools
post #1 of (permalink) Old 01-23-2005, 11:15 PM Thread Starter
Summit Master
 
Join Date: Aug 2002
Location: , BC, Canada.
Posts: 2,595
Default Fun with InfoPath - tracking hike info as XML

I've always been an exploration geek, even as a child. Always obsessed with maps, roads, and statistics. Hiking is a great extension of that, and in the off-season I love to organize hike data into more usable formats.

I find much of the hike data out there right now inadequate or lacking in fundamental details. After playing around with some ill-fated database projects, I settled on developing a very workable system using Microsoft's InfoPath tool, which comes with the 'pro' version of Microsoft Office.

The basic idea is that you develop data-entry forms using it. The data entry forms are used as templates for the data - double clicking on the template loads a blank form you can enter data into. The data is (by default) saved into XML files.

I've been entering my hike data into it, and I thought I would share what I've been up to.

The design portion of the form looks something like this:


The XML files that are generated after entering data look like this:
Code:
	<my:statistics>
		<my:averageGrade xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></my:averageGrade>
		<my:distance xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"></my:distance>
		<my:elevationStart xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></my:elevationStart>
		<my:elevationMax xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></my:elevationMax>
		<my:elevationGain xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></my:elevationGain>
		<my:completionTime xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"></my:completionTime>
	</my:statistics>
The data entry form I developed looks something like this:



I can enter a short description, hiking trail title, nearby cities or parks, time/grade/elevations/distance, ratings, road quality, trail quality, details (full description), GPS data / points of interest, and any sources I used (bibliography).

If anyone is interested in the template file I'd be more than welcome to share it :-)
ShadowChaser is offline  
Quote
Sponsored Links
Advertisement
 
post #2 of (permalink) Old 01-24-2005, 12:29 AM
Summit Master
 
ChuckLW's Avatar
 
Join Date: Jun 2003
Location: Vancouver, BC, Canada.
Interest: Backpacking, scrambling, skiing, mountain biking, skim boarding, running
Posts: 3,165
Default

Wow. Great project. You should think about publication once you've built up enough data: print &/or CD

----------------------------------------
"Aging ... it beats the alternative"
ChuckLW is offline  
post #3 of (permalink) Old 01-24-2005, 12:50 AM
Off the Beaten Path
 
Join Date: May 2004
Location: North Vancouver, BC, Canada.
Posts: 679
Send a message via MSN to ge-an_bas
Default

Nice!
I also saw the other post about a GPS coordinates database. If I find some time I might start working on a website that allows me (and other people) to enter and share info like this. After a while to would hopefully develop in a really nice overview of hikes. By using XML you could just import/export files to it

Bas

ge-an_bas is offline  
Reply

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page



Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

 
For the best viewing experience please update your browser to Google Chrome
 

Search Engine Optimization by vBSEO 3.6.1