![]() |
|
|
#1 (permalink) |
|
Peripatetic Stumbler
Join Date: Jun 2002
Location: Motueka
Posts: 219
|
TrackNS v0.1
Requirements
========== I want: (1) a historical record of where I've stumbled that can be displayed in MapPoint 2002 (2) a real-time MapPoint display of my current location and track Description ======== This script: (1) maintains a database that's linked (outside of the script) to a MP map. Tracks are displayed as a series of pushpins ("breadcrumbs") (2) draws a line on a MP map tracking the current stumble. The map is centred on the current location. The user controls the level of zoom by entering and saving a new value (representing the height, in 'GeoUnits', above the Earth's surface from which the map is viewed) in zoomControl.txt Resources ======= zoomControl.txt pushpin.bmp - the icon I use for the breadcrumbs CutTracks.vbs - a script to remove unwanted tracks from the database [not yet released] Suggestions ========= (1) Set the balloon properties of the pushpin dataset so that only the DateStamp value is shown. This will make copying & pasting values into CutTracks less fiddly (until I make CutTracks a COM Add-In, or something) (2) MapPoint (at least, my "not for benchmarking" version) leaks memory at ~20MB/hour (though this could be characterised as a memory management feature that will enhance MP for the majority of users). Whatever. This feature will prevent, eventually, the real-time tracking from being updated, depending on your computer's resources. User-Controlled Variables ================== See the text of the script, but includes: (1) the distance between breadcrumbs (i.e. determines when a record is added to the database) in the 'historic' map (2) the width of the track line in the 'real-time' map Observations ========== Hopefully, the script will handle errors fairly gracefully; NS should keep scanning and updating the track database if MP disappears. It is possible that, with relatively under-resourced machines, MP will get bogged down with drawing the 'real-time' track, stop resonding and NS will protest. If this does happen with your machine let me know - it should be an easy fix, at the cost of a little track responsiveness. Screenshots ========= How the map linked to the database looks when zoomed out . . . http://216.26.161.121/ns/db.gif . . . and zoomed in: http://216.26.161.121/ns/dbdetail.gif The 'real-time' track map (note the zoomControl bottom-right): http://216.26.161.121/ns/track.gif OK, I hope it works for you. I'm off for a few days so if you've got questions and/or problems I won't be around. |
|
|
|
|
|
#4 (permalink) |
|
Olymp's Stumbler
Join Date: May 2002
Location: /dev/null
Posts: 64
|
this looks really nice...i can't wait to try it out, maybe this afternoon already!
(edit) after downloading it, i actually couldn't wait to try it out here's my little report:at first, I had to set the variables right, that i don't get a "TrackNS or MapPoint initialisation failure". I created the requested map TrackNS.ptm and no more errors...but where's the trail? i played with 'const dist' but didn't get the script working, it's nothing recording. maybe some of you folks succeed...tell me then ![]()
__________________
|<€€þ !ŧ ®€4|_, apoLLon ..:: All your 802.11b are belong to us ::.. Last edited by apoLLon : 09-08-2002 at 09:54 PM. |
|
|
|
|
|
#5 (permalink) |
|
Ward River
Join Date: Aug 2002
Location: Santa Monix
Posts: 679
|
DOH! I just got back from 'driving, and I totally forgot to put the script from a wired box to my laptop... might go out again later tonight....
__________________
No, officer, YOU are under arrest! http://eyecannon.com/wardrive.html |
|
|
|
|
|
#6 (permalink) | |
|
Peripatetic Stumbler
Join Date: Jun 2002
Location: Motueka
Posts: 219
|
Quote:
. I'll get on to that.Is the 'real-time' map recentring itself as you move around? |
|
|
|
|
|
|
#7 (permalink) |
|
Olymp's Stumbler
Join Date: May 2002
Location: /dev/null
Posts: 64
|
i just experienced a phenomenon!!!
yesterday, after experementing with settings, i didn't work....right now, i fired up netstumbler et voilà...the red trail comes in soooooo nicely ![]() i don't know why, i am just happy *g* (maybe a restart )
__________________
|<€€þ !ŧ ®€4|_, apoLLon ..:: All your 802.11b are belong to us ::.. |
|
|
|
|
|
#9 (permalink) |
|
Registered Member
Join Date: Aug 2002
Location: Columbus, Ohio
Posts: 2
|
I have figured out how to make TrackNS work... if you need any help, contact me via AIM at iotaion9 -- YMMV! Good luck. Hopefully this will get us through until the author creates a new version.
Step 1) Open MapPoint and create a map of your area called TrackNS.ptm and put it in the TrackNS directory. I just found my house with the find tool and put a pushpin there, then hit save. Step 2) Open the TrackNS.vbs file in Notepad. Make the following changes: On the line that starts "Const dirName", change the value of this variable to the directory that the TrackNS.vbs files reside in. Example: Const dirName = "C:\Documents and Settings\iota\Desktop\trackns" On the line that starts "Const mapName", change this to the exact filename of the TrackNS.ptm file you created (or any other map you want to use as your base). Example: Const mapName = "C:\Documents and Settings\iota\Desktop\trackns\trackns.ptm" Find the line that starts " oMP.OpenMap" (use the Edit->Find feature and search for oMP.OpenMap). Change this line to say: oMP.OpenMap mapName (I'm not sure if that is 100% needed but it helped me.) Step 3) Quit out of all your MapPoint and NetStumbler windows, restart NetStumbler, and load the script. If you still get initialization errors, you did something wrong -- I may be able to help you ![]() Good luck! jason Last edited by iota : 09-10-2002 at 06:50 AM. |
|
|
|
|
|
#10 (permalink) |
|
Ward River
Join Date: Aug 2002
Location: Santa Monix
Posts: 679
|
WOW! I really enjoyed this script tonight! If this could be fused with the other so it plots the circles, it would be perfection! This script made exactly the kind of trail it should, solid red line. One problem though, the zoom control thingy didn't seem to work... did as you said and it wouldn't ever change. Also, I got an Initialization error when I first ran it, but it did track me perfectly the whole time... lemme upload a pic...
__________________
No, officer, YOU are under arrest! http://eyecannon.com/wardrive.html |
|
|
|
|
|
#11 (permalink) |
|
Ward River
Join Date: Aug 2002
Location: Santa Monix
Posts: 679
|
OK, here's a big version: http://eyecannon.com/trackns01.jpg
As you can see, flawless line... great work!
__________________
No, officer, YOU are under arrest! http://eyecannon.com/wardrive.html |
|
|
|
|
|
#12 (permalink) | |
|
Olymp's Stumbler
Join Date: May 2002
Location: /dev/null
Posts: 64
|
Quote:
i didn't experience any tracking errors, i figuered out later, that i set the "Const dist" to 30 (still don't know how it effects on the mapping properities). i don't know why, it was the time i played with the script, when i didn't work ![]()
__________________
|<€€þ !ŧ ®€4|_, apoLLon ..:: All your 802.11b are belong to us ::.. |
|
|
|
|
|
|
#13 (permalink) |
|
Peripatetic Stumbler
Join Date: Jun 2002
Location: Motueka
Posts: 219
|
I've now rewritten the installation and initialisation processes that, all being well, will need much less attention from the user to get it up and running. I've also written some proper instructions
.The caveat is that the script now makes calls on applications that, AKAIK, will be available on all Windows systems, whatever your user privileges. But I can't (be bothered to ) test that - that's your job!!TrackNS v0.1.5 will be posted in 30 minutes. |
|
|
|
|
|
#14 (permalink) | |
|
Ward River
Join Date: Aug 2002
Location: Santa Monix
Posts: 679
|
Quote:
__________________
No, officer, YOU are under arrest! http://eyecannon.com/wardrive.html |
|
|
|
|
|
|
#15 (permalink) | |
|
Peripatetic Stumbler
Join Date: Jun 2002
Location: Motueka
Posts: 219
|
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|