... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
use route converter for map calibration
#1
Hello,

Route converter is fantastic. Here is my "new feature" idea

softwares like "pathaway" (www.pathaway.com) allow to use routes but also to display maps.

the second point is interresing me. Pathaway gprovides a little tool to calibrate maps.

for exemple if i take a snapshop of route converter map, and provide for each corner the screen pixel position and the longitude/latitude of the point the map is "calibrated" and the software can display my position on the map.
this works not only, on the corner points but with any 3 points. give with routeconverter the x/y screen pixel position of the route waypoints in the list near the longitude/latitude and it'll work too.

What do you think of the idea ? can you do that in next release ? perhaps as an option or wher hovering the mouse on the waypoint ... ?

Thank you

I buyed pathaway for my father but calibrating maps is too complex for him, routeconverter would be perfect for the job.
thanks again
best regards
Chris

(this tool can also input/output calibration files. i can provide you calibration files, they are text files).
Reply
#2
wchris Wrote:What do you think of the idea ? can you do that in next release ? perhaps as an option or wher hovering the mouse on the waypoint ... ?
[..]
I buyed pathaway for my father but calibrating maps is too complex for him, routeconverter would be perfect for the job.

Hi Chris,

thank you for that interesting idea. I guess I simply don't understand enough about map calibration to implement such a functionality. RouteConverter focuses on the display and conversion of routes.

Can you program?
--
Christian
Reply
#3
hi again,

routeconverter Wrote:Can you program?

Yes but only in delphi, i never tryed java.
I don't know what's easyer. Me showing you what i know from calibration, or you explaining me java ;-)
I guess i could do java, but a free java programming tool would be required, i have nothing yet and i don't know where to start.


routeconverter Wrote:thank you for that interesting idea. I guess I simply don't understand enough about map calibration to implement such a functionality. RouteConverter focuses on the display and conversion of routes.

I know but you already can display beautifull maps too ! that's 95% of the job.

why 95 % ? because you don't have to calibrate ... the destination software does it. As i said pathaway has a tool called "pathaway map manager" to calibrate, and other software have similar tools.

what you need to do is to provide a .jpg or .bmp image file of the map ... and a text file with latitude/longitude of points and the corresponding X/Y pixel position in the JPG image. You load everything in the "pathaway map manager" and it outputs a calibrated .prc file containing the map image + points position.

pathaway needs a .jpg + .pwm file, but other formats exist like .bpw .geo,.gmw .jpr, .map .mcx .tab for other softwares.

some samples here :

PWM FILE :
proj_mode=7=GCP
pw_north=7=48.82745376
pw_west=7=7.93090785
pw_south=7=48.76278212
pw_east=7=8.04124817
c1_lon=7=7.93077800
c1_lat=7=48.82747897
c1_x=7=-6
c1_y=7=-3
vpa(1)=7=0.00000000
vpb(1)=7=0.00000000
vpm(1)=7=0.00000000
vpn(1)=7=0.00000000
c2_lon=7=8.04055600
c2_lat=7=48.82747900
c2_x=7=6934
c2_y=7=-3
vpa(2)=7=0.00000000
vpb(2)=7=0.00000000
vpm(2)=7=0.00000000
vpn(2)=7=0.00000000
c3_lon=7=7.93083900
c3_lat=7=48.76326800
c3_x=7=-6
c3_y=7=6162
vpa(3)=7=0.00000000
vpb(3)=7=0.00000000
vpm(3)=7=0.00000000
vpn(3)=7=0.00000000
c4_lon=7=8.04049600
c4_lat=7=48.76326900
c4_x=7=6934
c4_y=7=6162
vpa(4)=7=0.00000000
vpb(4)=7=0.00000000
vpm(4)=7=0.00000000
vpn(4)=7=0.00000000
c5_lon=7=7.98566700
c5_lat=7=48.82748500
c5_x=7=3464
c5_y=7=-3
vpa(5)=7=0.00000000
vpb(5)=7=0.00000000
vpm(5)=7=0.00000000
vpn(5)=7=0.00000000
c6_lon=7=7.98566700
c6_lat=7=48.76328200
c6_x=7=3464
c6_y=7=6162
vpa(6)=7=0.00000000
vpb(6)=7=0.00000000
vpm(6)=7=0.00000000
vpn(6)=7=0.00000000
c7_lon=7=7.93081300
c7_lat=7=48.79537400
c7_x=7=-6
c7_y=7=3079
vpa(7)=7=0.00000000
vpb(7)=7=0.00000000
vpm(7)=7=0.00000000
vpn(7)=7=0.00000000
c8_lon=7=8.04052100
c8_lat=7=48.79537400
c8_x=7=6934
c8_y=7=3079
vpa(8)=7=0.00000000
vpb(8)=7=0.00000000
vpm(8)=7=0.00000000
vpn(8)=7=0.00000000
c9_lon=7=7.98566700
c9_lat=7=48.79538300
c9_x=7=3464
c9_y=7=3079
vpa(9)=7=0.00000000
vpb(9)=7=0.00000000
vpm(9)=7=0.00000000
vpn(9)=7=0.00000000

GEO FILE
rp0="48.827479,7.930778,-3,-6"
rp1="48.827479,8.040556,-3,6934"
rp2="48.763268,7.930839,6162,-6"
rp3="48.763269,8.040496,6162,6934"

MCX FILE
<MapCalibrationData>
<Name>Sessenheim et environs.bmp</Name>
<File>C:\Sessenheim et environs.bmp</File>
<Size width="6980" height="6210" />
<RefPoints>
<RefPoint name="Pt1">
<RasterPosition x="-6" y="-3" />
<GeoPosition longitude="7.930778" latitude="48.827479" />
</RefPoint>
<RefPoint name="Pt2">
<RasterPosition x="6934" y="-3" />
<GeoPosition longitude="8.040556" latitude="48.827479" />
</RefPoint>
<RefPoint name="Pt3">
<RasterPosition x="-6" y="6162" />
<GeoPosition longitude="7.930839" latitude="48.763268" />
</RefPoint>
<RefPoint name="Pt4">
<RasterPosition x="6934" y="6162" />
<GeoPosition longitude="8.040496" latitude="48.763269" />
</RefPoint>
<RefPoint name="Pt5">
<RasterPosition x="3464" y="-3" />
<GeoPosition longitude="7.985667" latitude="48.827485" />
</RefPoint>
<RefPoint name="Pt6">
<RasterPosition x="3464" y="6162" />
<GeoPosition longitude="7.985667" latitude="48.763282" />
</RefPoint>
<RefPoint name="Pt9">
<RasterPosition x="3464" y="3079" />
<GeoPosition longitude="7.985667" latitude="48.795383" />
</RefPoint>
</RefPoints>
</MapCalibrationData>


Each georeferencing file does the same .. it links longitude/latitude and X/Y image points.

I don't know much more about this topic. i just calibrated manually a file with "pathaway map manager" and i'm now able to export calibration files corresponding to my map.

I don't know for other softwares, but pathaway does not require the points to be at specific places, he can calibrate with at least 3 points placed anywhere.

bonus : the pathaway "map manager tool" so can be downloaded here http://www.pathaway.com/convert.htm


Tell me what you think ... i'm sure there is something to do with the idea.
Best regards
Chris
Reply
#4
routeconverter Wrote:Can you program?

hello,

i found someone who will help me with java ...

and i'm very motivated by the idea ! Smile
Reply
#5
Great! Have a look at the source code - the FAQ explains how to get it.
--
Christian
Reply
#6
hi Christian,

installed netbeans 6.5 today with integrated subversion 1.5

got the following error :

org.tigris.subversion.javahl.ClientException: Authorization failed
OPTIONS of 'http://www.routeconverter.de/subversion/RouteConverter': authorization failed (http://www.routeconverter.de)

any clue about this error ?

i tryed to set the user anonymous or leave the user blank ... same result

but i can access with the web browser
Reply
#7
the Username is anonymous, the password blank
--
Christian
Reply
#8
routeconverter Wrote:the Username is anonymous, the password blank

I know, thats what i did, password blank and user anonymous.

Nevermind, tomorrow at work i'll meet my "personal java coach" and he'll find out what's wrong Wink
Reply
#9
routeconverter Wrote:the Username is anonymous, the password blank

My best guess is that my 1.5 subversion client does not allow anonymous with blank password ?

what about creating a user routeconverter with password routeconverter ? Rolleyes

it so frustrating when it doesn't work, but should Big Grin
Reply
#10
routeconverter Wrote:the Username is anonymous, the password blank

GOT IT !!!! i'm a java guru now Tongue

replaced
http://www.routeconverter.de/subversion/RouteConverter
by
https://www.routeconverter.de/subversion/RouteConverter

and it worked ! but i'll stop for tonight ... time to go to bed

good night Cool
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)