NavitoGateway |
NavitoGateway is the first application which receive "navito:" protocol,
and will format and relay to GIS application of your
choice.
You can edit option XML file, so you can add/remove/modify your options.
What is "Navito:" ?
http://....... --> Browser
MailTo:....... --> Mailer.
CallTo:..... --> MSMessenger or Skype, etc.New!
NaviTo:... --> GIS application of your choice!
Navito: Format and Samples
Sample | Hyperlink behind | Format |
GIS Application Selection | navito:option | Special parameter for NavitoGateway |
Statue of Liberty, New York | navito:40.689140,-74.044553 | Latitude + comma + Longitude |
Statue of Liberty, New York | navito:40.689140;-74.044553 | Latitude + colon + Longitude |
Statue of Liberty, New York | navito:SW8.HQ9.CR8.PU9 | LocaPoint™ |
Tokyo Tower, Tokyo | navito:35.659128,139.745427 | Latitude + comma + Longitude |
Tokyo Tower, Tokyo | navito:35.659128;139.745427 | Latitude + colon + Longitude |
Tokyo Tower, Tokyo | navito:SD9.XC4.FE1.CV4 | LocaPoint™ |
London Eye, London | navito:51.503300,-0.119667 | Latitude + comma + Longitude |
London Eye, London | navito:51.503300;-0.119667 | Latitude + colon + Longitude |
London Eye, London | navito:UL4.MZ7.GC8.TO9 | LocaPoint™ |
Note: "NaviTo" is NOT case sensitive. Either "NAVITO:" ,"navito:", "NaviTo:", or "Navito:" is OK.
What is "NavitoGateway"?
NavitoGateway is the first application which receive "navito:" protocol,
and will format and forward location data to GIS application of your
choice.
You can edit option XML file, so you can add/remove/modify your options.
How to Open Option Selection Screen
(1) Start Menu --> NavitoGateway --> Option
(2) Hyperlink to "NaviTo:option" like this.
Edit your own option
You can also add, remove, or edit options by editing option XML file.
See Advanced How to Edit Option File.
Trouble Shooting
Trouble | Solution |
No XML file in Working folder | Check working folder |
XML file is not valid | Restore XML file |
Registry Corrupted | Uninstall, and Install again |
Registry Keys
NavitoGateway installer will add some keys into registry.
Following is an example of exported keys.
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\navito] @="URL:NaviTo Protocol" "BrowserFlags"=dword:00000008 "EditFlags"=dword:00000002 "URL Protocol"="" [HKEY_CLASSES_ROOT\navito\DefaultIcon] @="C:\\Program Files\\NavitoGateway\\NavitoGateway.exe" [HKEY_CLASSES_ROOT\navito\shell] @="" [HKEY_CLASSES_ROOT\navito\shell\open] @="" [HKEY_CLASSES_ROOT\navito\shell\open\command] @="C:\\Program Files\\NavitoGateway\\NavitoGateway.exe %1" |
If you want to modify or configure options, please directly edit XML file.
Attension!! this option format is option_format_version="1.0.0".
Format may change in a future version with upper "option_format_version".
Option Entry Format
<option id="Google Maps"
datum="wgs84"
area="world"> <![CDATA[http://maps.google.com/?q=$lat.d(+3.6),$lon.d(+3.6)]]> </option> |
Attributes
Entry
You can write URL, URI, Filename, or command. This will be simply transferred to Windows shell command.
Latitude/Longitude information will be translated and inserted.
Location Data Description Format
?q=$lat.d(+3.6),$lon.d(+3.6)
will be translated like following.
?q=+35.123456,-74.123456
Format
$lat.d(+03.4r) |-----|||||||| | | |||||||| | | |||||||+- Shows end of format by "(" | | ||||||+-- Round Strategy by (r, f, or c) | | |||||+--- Width of Under Decimal Part (integer number) | | ||||+---- "." separates width numbers | | |||+----- Width of Integer Part (integer number) | | ||+------ Filling Strategy ("0", " ") | | |+------- Sign Stretegy(+, -, d, D or a) | | +-------- Shows beginning of format by "(" | +------------ Shows type of Data +-------------- "$" shows beginning of Variable |
lat.d | Latitude, in Degree |
lat.m | Latitude, under Minute unit |
lat.s | Latitude, under Second unit |
lat.r | Latitude, in Radian |
lon.d | Longitude, in Degree |
lon.m | Longitude, under Minute unit |
lon.s | Longitude, under Second unit |
lon.r | Longitude, in Radian |
lp | LocaPoint |
example:
latirude = 35.420096021916666666666666666667°
= 35°25.205761315"
= 35°25" 12.3456789'
= 0.61819729695499144509818901588413(Radian)
$lat.d = 35.420096021916666666666666666667°
$lat.m = 25.205761315
$lat.s = 12.3456789
$lat.r = 0.61819729695499144509818901588413
Sign strategies (optional)
+ | always shows "+" or "-" |
- | show "-" only when negative. No sign for positive. Default value. |
a | Absolute value (no sign) |
D | add Direction letter. N/S for latitude, E/W for longitude |
d | add Direction letter. n/s for latitude, e/w for longitude |
Left Fill Strategies (optional)
0 | fill with "0" |
" "(Space) | fill with " "(Space) |
""(not specified) | no fill. Default value |
Width of Integer Part (optional)
Left part of dot represents length of integer part. Use with 'Left Fill
Strategies'.
Not specify means use data as it is.
Width of Under Decimal Part
Right part of dot represents length of under decimal part
Value must be
specified
"0" for right part, means output as integer. (do NOT show
".")
examples:
for value '123.45'
".6" 123.450000
"3.0" 123
".3" 123.450
"06.6" "000123.450000"
" 6.6" " 123.450000"
Round strategies (optional)
This option is valid only data has a under decimal part.
Calculation of data is done to "Width of Under Decimal + one" places of
decimals, then round/round off/round up.
f | Floor. Round Off. Default value. |
c | Ceil. Round Up |
r | Round. (Up for 5, Off for 4) |
examples:
123.444444 123.444445
3.5f floor(default) 123.44444 123.44444
3.5c ceil
123.44445 123.44445
3.5r round 123.44444 123.44445
Special Factors (optional)
Data can be calculated in following way. This is done before formatting.
data = (data + facter_a) * facter_b + facter_c
Format:
data(format, facter_a , facter_b , facter_c )
lat.d(+3.4,0,1,0)
facter_a default is 0
facter_b default is 1
facter_c default is 0
Examples:
1.Longitude in decimal degree
$lon.d(.10) --> -74.0445528868
2.Longitude in decimal degree. Under decimal width is 3.
$lon.d(.3) -->-74.044
3.Longitude in decimal degree. Use "W" or "E", and use "0" to make a width of
integer part is 3.
$lon.d(D03.5) --> W074.04455
4.Latitude in DDD°MM'SS.SS"
$lat.d(.0)°$lat.m(.0)'$lat.s(.2)"
5. Latitude in 1/256 sec unit, Integer, "-"sign when negative
lat.d(.0,0,921600,0)
lat.d brings "Degree" in decimal.
latitude in second is lat.d * 3600
latitude in 1/256sec = lat.d * 3600 * 256 = lat.d * 921600
********** Copyright and legal statement ************
Copyright of Application of NavitoGateway is reserved by Locazing Inc.
(c) 2006 All rights Reserved.
LocaPoint(TM) is a trademark of Locazing Inc.
********** End-user License Agreement **********
*** No Warranty
FREEWARE NavitoGateway IS DISTRIBUTED "AS IS" AND WITHOUT ANY WARRANTY AS TO
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR ANY OTHER WARRANTIES
EITHER EXPRESSED OR IMPLIED. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS,
DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING OR MISUSING THIS
SOFTWARE.
*** Modification, Reverse Engineering, and Distribution
Only when you remain original copyright message, AND you mention about what
modification you have done, You may copy, modify, or distribution of this
software and documentation as you wish. You may charge or request donations for
any such copies you made, or from distributing the software and/or documentation
with other products without the author's written permission.
You don't have to Reverse Engineering. We will give you a C++ source code
project upon request. Please contact to us.
*****************
Locazing Inc.
http://www.locapoint.com