![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered Member
Join Date: Aug 2004
Posts: 20
|
NetStumbler to Streets & Trips
I took v1all.pl, originally written by guruchill and furher modified by Thorn and made a few changes. Mainly, it now deletes any files that contain no records, instead of leaving files with just the header information. I also added the ability to change some defaults using command line switches and the ability to prefix the outputfilenames with a string supplied at the command line. I did this mainly as an exercise in learning perl so I'm sure the way I did things can be improved on and I'd be interested in seeing how.
Here are some comments from the file itself: # Name: ns2st.pl (NetStumbler to Streets and Trips) # Version 1.0 Sept 9, 2004 # # Description: # This script accepts as input a 'summary' text file exported # from Netstumber 0.4 and creates up to four files (wep_ap.txt, # nowep_ap.txt, wep_ah.txt and nowep_ah.txt) formatted for input # into Microsoft Streets and Trips # # Original credit for the core of this script belongs to guruchill # with additional modifications by Thorn. # # As an exercise in learning Perl the file was further modificated # by MoTec. Empty files are deleted and the following command line # switches were added: # # --verbose (or -v) : display information while processing # --debug (or -d) : output debug information to debug.txt # --inputfilename (or -i) : specify inputfile, defaults to fullsum.txt # --outputfileprefix (or -o) ; specify a prefix added to the filenames listed above # # Example of usage: # # $> ns2st -i summary.txt -o 20040909 # # This will use summary.txt (instead of fullsum.txt) as input and create # files named as follows: 20040909_wep_ap.txt, 20040909_nowep_ap.txt # 20040909_wep_ah.txt and 20040909_nowep_ah.txt. Files with no entries # will be deleted, as always. # # **NOTICE** # This script now requires Getopt::Long from CPAN. This can be added # By typing this at a command prompt (ommit the leading #): # perl -MCPAN -e 'install Getopt::Long' # ################################################## ######################## Hopefully this is usefull for someone. -MoTec |
|
|
|
|
|
#4 (permalink) | |
|
I amuse you?
Join Date: Dec 2003
Posts: 9,138
|
Quote:
Currently only possible with MS MapPoint. All plotting for S&T, Street Atlas... is done post process. |
|
|
|
|
|
|
#9 (permalink) |
|
root\.workspace\.garbage.
Join Date: Aug 2003
Posts: 4,785
|
You can buy a trial version of Mappoint for $7.95 from Microsoft to try it out. Otherwise the full version will set you back almost $300.00 US
Microsoft has been known to give away copies of the program through Beta trials and the like. I got my copy (MP2002) for going to an Office XP launch event.
__________________
It's not Intelligent Design, it's peer pressure. ┌──────────────────────────────┐ ╞ NS Icons Explained|et hoc genus omne ╡ └──────────────────────────────┘ |
|
|
|
|
|
#10 (permalink) | ||
|
I amuse you?
Join Date: Dec 2003
Posts: 9,138
|
Quote:
Quote:
|
||
|
|
|
|
|
#13 (permalink) | |
|
I amuse you?
Join Date: Dec 2003
Posts: 9,138
|
Quote:
Yes use the mappoint script with the map function turned off. Last I remember it is in here. Last edited by wrzwaldo : 01-04-2005 at 01:06 AM. |
|
|
|
|
|
|
#15 (permalink) | |
|
Psychic Amish Stumbler
Join Date: Jul 2004
Location: Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA
Posts: 11,651
|
Quote:
__________________
"One of these days, I'm going to cut you to pieces." If you're offended by this post, please feel free to report it to one of the many helpful moderators of this forum. Thank you. |
|
|
|
|