![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered Member
Join Date: Jan 2003
Posts: 28
|
Ns1/summary to text file MP2k2 can read
Ive made a java file that will convert the summary of a NS1 file to a text file that MapPoint 2002 can inport and map out your AP's.
It does: Latitude, Longitude, SSID, MAC, WEP just type: java nsmp (not nsmp.class) -h on how to use it. It will also tell you what to do after the out.txt file is made. Also .. delete the out.txt file before making a new one or it will just add it to the out.txt file thats already there. Just post your questions here about it. http://www.thenidus.net/Local_Map.gif The files Last edited by MrEcho : 01-27-2003 at 11:43 AM. |
|
|
|
|
|
#6 (permalink) |
|
Registered Member
Join Date: Sep 2002
Posts: 5
|
from your Java thing i did a PHP thing to convert you line in to one that works in oziexplorer and waypoint +
(where in is the out from the java thingie) Code:
<?
$filename = $SCRIPT_PATH . "/in.txt";
$text = file("$filename");
while(list($linenum,$data) = each($text)) {
if($datas = explode(",",$data)) {
$linenumb = $linenum+1;
echo "<small><small>In data_________";
echo "$datas[0] $datas[1] $datas[2] $datas[3] $datas[4] ";
$filenameout = $SCRIPT_PATH . "/out.txt";
$fp = fopen ("$filenameout","a+");
$out1 = "WP";
$commer = ",";
$out3 = "D";
$date = "";
$time = "";
$content = "$out1$commer$out3$commer $datas[2] $commer $datas[0]$commer $datas[1]$commer $date $commer $time $commer $datas[2]\r\n" ;
fwrite ($fp, $content);
fclose ($fp);
echo "<br><i>Out Data________";
echo $content ;
echo "<br></i>";
} else {
echo "ERROR doing SOMETHING :( ";
}
}
?>
|
|
|
|
|
|
#7 (permalink) |
|
Registered Member
Join Date: Jan 2003
Posts: 28
|
Nice work.
I thought about doing it in PHP also .. but I was over at a friends house when I made that java code ![]() Java and WarDriving on the same laptop ... damm I love laptops.
__________________
My local area: http://www.thenidus.net/Local_Map.gif |
|
|
|
|
|
#8 (permalink) |
|
Registered Member
Join Date: Jun 2003
Posts: 2
|
I made a little program myself as well. Its writen in VB and the only thing you have to do is drag a TXT-summary file on the executable and drop it there. It will generate a WarDrive.txt file in the directory where the executable is located.
You can link MapPoint Data-set to this file. The only thing you have to do after updating the WarDrive.txt (by dropping a new summary file on the executable) is update the recordset in MapPoint. It works great. Click here to download. |
|
|
|
|
|
#9 (permalink) |
|
Did you do the math?
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,002
|
O'Neill, why did you duplicate a known program? The idea is a good one, but you're almost two years behind Mother's Stumbverter.
Before you spend more time on what be a wasted wasted effort, and duplicate any other existing programs, I'd suggest you read the FAQ thread. All the converters are listed there. I'll add your's to the list.
__________________
Thorn Sex and Violence. You can't enjoy one, if you don't survive the other. (And that works both ways...) |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|