Register | Login
Attackpoint - performance and training tools for orienteering athletes

Discussion: posting map?

in: ndobbs; ndobbs > 2013-05-19

May 21, 2013 6:41 AM # 
Cristina:
Advertisement  
May 23, 2013 7:22 AM # 
Jagge:
Neil, you have some sort of Mac, right?

Could you (or someone with a mac) try if you can get this working?
http://routegadget.net/gps/QDRoute.zip

Install some stuff first as readme tells. Then tun the script, app first select gpx file, then a map image, drag blue points, add new ones by pressing with mouse button over 1 sec, and remove edit points by pressing over 3 seconds. Save as jpg/png.
May 23, 2013 2:18 PM # 
ndobbs:
So, I would need to install homebrew and then Python and then PySide ?

Is the PySide binary (http://qt-project.org/wiki/Get-PySide ) a bad idea, and would it need python too?
May 23, 2013 2:47 PM # 
Jagge:
thats where I downloaded pyside to windows and ubuntu. So it may be a ood idea. You need the actual python too. Just thought homebrew might already be there, no?
May 23, 2013 2:52 PM # 
Jagge:
It should output something like this (this was made on ubuntu with the same script)
http://iso-henna.com/doma/show_map.php?user=Jagge&...
May 23, 2013 4:47 PM # 
ndobbs:
The output functionality is a little ghetto :)
https://picasaweb.google.com/lh/photo/5IdOBVppuLkx...

This was Sunday's gpx on the closest thing I could find to a map of the area - courtesy of Prochazka's DOMA http://www.kalevanrasti.fi/kartta/map_images/37.jp...
May 23, 2013 5:06 PM # 
Jagge:
Yes, and input is too. and all the stuff between :) Wrote than pretty much one evening. I think there should be at least adjustable thickness for the line to make it any usable (there was no need when you always took snapsots with the same 9mpix camera).

Did you go the homebrew way or some other way. I would like to fix the readme.
May 23, 2013 5:53 PM # 
ndobbs:
downloaded binaries/packages all the way, no homebrew. Python 3.3 seems to have worked, though either qt or pyside only mentioned 2.7
May 24, 2013 5:04 AM # 
Jagge:
20 years ago I was skiiing at that Lykynlapi track. At fastest downhill lights went off, I could see nothing for couple of seconds. I didn't break any bones or gear, but it wasnt far. I shouls have known they shut lights 9pm sharp.

I added functionality to adjust line width, same menu as the opacity adjustment, and posted it to wider audience. Should do for now.
May 24, 2013 5:13 AM # 
ndobbs:
Did you notice it crops funny too? The image cuts any gps left of the map, but includes it to the right?
May 24, 2013 5:58 AM # 
Jagge:
No. It should not iclude anything outside the map, because DOMA blank map feature fails if image extent isn't the same.
May 24, 2013 6:04 AM # 
Jagge:
That crop oddity thing doesn't happen on windows or linux. Or it is 3.3 python issue. I think it enlarges image left and down if one draws there, but it doesn't do it up or left because there would be negative coordinates (it would ahve to move image's origo). I guess it should not draw outside the image.

(From now on available at http://www.routegadget.net/download.cgi )

This discussion thread is closed.