All Forums | Search | Inbox | Members
OziExplorer Map Plugin - create your own maps
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    SportTracks Forum Index -> Plugins - General Info
View previous topic :: View next topic  
Author Message
old_man_biking
Donated!
Donated!


Joined: 28 May 2007
Posts: 1915
Location: Munich, Germany

PostPosted: Sat Dec 20, 2008 9:09 am    Post subject: OziExplorer Map Plugin - create your own maps Reply with quote
Remember SportTracks version 1.x? You could create your own raster graphic maps from image files.
This feature was gone with ST version 2.

This new plugin brings back the custom maps feature.
I've based it on the OziExplorer map file format.
So if you've used OziExplorer before, you can use your OziExplorer maps in SportTracks (there are limitations concerning projection).

Calibration of images is simple:
1. Go to the plugin's settings page and press the "Add Custom Map" button.
2. Select an image file: *.BMP, *.GIF, *.JPG or *.PNG.
3. Calibrate it, i.e. set 4 calibration points on the image and their corresponding positions on the ST map.
That's it. It's all point and click.

Here's a few screen shots:
The settings page with the "Add Custom Map" button:


The calibration screen:


The calibrated map


Maps are displayed as an overlay over ST's standard maps. Hence, regions not covered by your maps will be filled in with the standard maps.
Maps can be made transparent, i.e. the standard map will shine through.

The plugin is still in beta state. It should be quite stable, but some things might not work as smooth as they should do.

You find the download link at www.sporttracks-plugins.de .

Enjoy,
OMB
_________________

www.sporttracks-plugins.com


Last edited by old_man_biking on Mon Dec 29, 2008 2:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
Des
Donated!
Donated!


Joined: 02 Sep 2006
Posts: 54
Location: Worcestershire, UK

PostPosted: Sat Dec 20, 2008 12:24 pm    Post subject: Reply with quote
Sounds fantastic, can't wait to try this.

Des
Back to top
View user's profile Send private message
AllanHvass
Donated!
Donated!


Joined: 28 May 2006
Posts: 62
Location: Høsterkøb, Denmark

PostPosted: Sat Dec 27, 2008 1:52 pm    Post subject: Reply with quote
Installed and tested - but can't get it quite to work Crying or Very sad
I can do the calibration of four corners on a custom map and get 4 green checkmarks next to the calibration buttons in the custom map screen. But even when I enter a map name in the field under "Step 3", the final "OK" button still stay grayed out? I can't save my final calibrated map and make it show in ST.

I've seen it's donationware, but not sure if that is the blocker? Also, I'm not a paying user of MapOverlay plugin as I've never needed (or even installed) it before. I'm not clear on whether OziExplorer requires MapOverlay or just have added functionality with that installed? So is this behavior expected due to not having paid for the plugin yet or is it a bug or a user error?
_________________
Kind Regards
Allan Hvass
Using Garming Edge 305HR+CAD (and lots of other GPS gadgets)
Back to top
View user's profile Send private message
gerhard
Contributor!
Contributor!


Joined: 27 Nov 2006
Posts: 1990
Location: Sweden

PostPosted: Sat Dec 27, 2008 4:40 pm    Post subject: Reply with quote
AllanHvass wrote:
But even when I enter a map name in the field under "Step 3", the final "OK" button still stay grayed out? I can't save my final calibrated map and make it show in ST.


Easy workaround: Add the name before calibration points.
The problem is that the cursor must leave the "name" field before OK is clickable.
Other workaround: Edit one of the points again
Back to top
View user's profile Send private message
gerhard
Contributor!
Contributor!


Joined: 27 Nov 2006
Posts: 1990
Location: Sweden

PostPosted: Sat Dec 27, 2008 5:09 pm    Post subject: Reply with quote
Comments on the plugin:

.TIF should be supported (.GIF is included two times...)
Workaround: rename to .gif, the maps will work

TIFF format is good for several reasons:
* Maps are quite fast to move around - for JPG all the file must be loaded (This depends on the display technology, but use of for instance GDAL does not have to load the complete file to display a part).
* TIF can include metadata, including map information (normally called GeoTIF)

Calibration requires four points - three should be enough (it is easier to place a stool with three legs on an uneven surface than a four legged chair)

Unless Monshi releases his Custom map plugin, the editing will benefit from some changes:
* It would be good to be able to edit a map after adding it - calibration is difficult. Just entering the coordinates would be sufficient.
* Zooming when adding calibration points would be helpful. Similarly, when adding points on the map and you need to pan/zoom, the point gets added even if you do not want it
Back to top
View user's profile Send private message
texmurphy
Donated!
Donated!


Joined: 05 Jul 2006
Posts: 1130
Location: Maryland, USA

PostPosted: Sat Dec 27, 2008 8:10 pm    Post subject: Reply with quote
This is great!
I have been using the GPS-Track-Analyse.NET to generate 3-D map images which I then annotate for club ride cuesheets. However background maps for GPS-Track-Analyse.NET are available only for Germany. I have to rotate the 3-D image in odd ways depending on the route shape to get its best display. Google Earth will do a 3-D image but you cannot get rid of the background and replace it with a map. Example of an annotated 3-D map with elevation from a recent ride.


Using the OziExplorerMaps Plugin I can now fit my 3-D maps to the SportTracks Street map.


To produce the combined map below:
Back to top
View user's profile Send private message
old_man_biking
Donated!
Donated!


Joined: 28 May 2007
Posts: 1915
Location: Munich, Germany

PostPosted: Sun Dec 28, 2008 11:08 am    Post subject: Reply with quote
gerhard wrote:
AllanHvass wrote:
But even when I enter a map name in the field under "Step 3", the final "OK" button still stay grayed out? I can't save my final calibrated map and make it show in ST.


Easy workaround: Add the name before calibration points.
The problem is that the cursor must leave the "name" field before OK is clickable.
Other workaround: Edit one of the points again


Yes, Gerhard is right.
Sorry for this inconvenience. I use one of STs standard TextBox controls which behaves like this Sad
Maybe I'll find a workaround.

Cheers,
OMB
_________________

www.sporttracks-plugins.com
Back to top
View user's profile Send private message
old_man_biking
Donated!
Donated!


Joined: 28 May 2007
Posts: 1915
Location: Munich, Germany

PostPosted: Sun Dec 28, 2008 11:21 am    Post subject: Reply with quote
gerhard wrote:
Comments on the plugin:

.TIF should be supported (.GIF is included two times...)
Workaround: rename to .gif, the maps will work

TIFF format is good for several reasons:
* Maps are quite fast to move around - for JPG all the file must be loaded (This depends on the display technology, but use of for instance GDAL does not have to load the complete file to display a part).
* TIF can include metadata, including map information (normally called GeoTIF)

Calibration requires four points - three should be enough (it is easier to place a stool with three legs on an uneven surface than a four legged chair)

Unless Monshi releases his Custom map plugin, the editing will benefit from some changes:
* It would be good to be able to edit a map after adding it - calibration is difficult. Just entering the coordinates would be sufficient.
* Zooming when adding calibration points would be helpful. Similarly, when adding points on the map and you need to pan/zoom, the point gets added even if you do not want it


Hi Gerhard,

thanks for your comments.
"Of course" .TIF is to be supported. This is just a bug, I mistyped the extension.
However, I don't support GeoTIF, i.e. TIF with calibration information built into the file.
Do you know a GeoTIF library that I can use (besides GDAL)?

There's one reason why I require 4 calibration points:
When you put your newly built 4 leg stool on your perfectly level floor, you will get an idea how good your craftmanship is.
If the chair rocks, the legs are not perfect.
Same for the custom maps. Did you notice a "max error ..." at the very bottom of your displayed custom map? When you set the calibration points thoroughly and the projection of the map image fits the projection of the base map, the "max error" will be close to 0. When not, you have an indication that something's wrong.

Editing maps is on my to do list.
Zooming the map image is on my to do list as well.
Panning and zoomimg the SportTracks map when setting calibration points does work. The plugin can discern drags from single clicks. Please try it.

Cheers,
OMB
_________________

www.sporttracks-plugins.com
Back to top
View user's profile Send private message
gerhard
Contributor!
Contributor!


Joined: 27 Nov 2006
Posts: 1990
Location: Sweden

PostPosted: Sun Dec 28, 2008 1:02 pm    Post subject: Reply with quote
The calibration is a little quirky. Maps are very difficult, period.
I got around the calibration by editing the generated .map file. Works better for me when I know the coordinates.

old_man_biking wrote:

However, I don't support GeoTIF, i.e. TIF with calibration information built into the file.
Do you know a GeoTIF library that I can use (besides GDAL)?

GeoTIFF displays fine now - I use a GeoTIFF when testing, with .gif suffix.

However, to read the Geo information, GDAL should be the best option, that is what a quick search points to. GDAL is already available as a plugin so it is quite easy to get the information from a file. You do however not have to use a library for this - just using the standalone gdalinfo program can extract information (for other readers: Similar to what OMB does in GPSbabel plugin).

Monshi also uses the library to display maps in projection other than non standard. (The display is much better than transforming a picture.) I wish that Monshi would make a public release, the best way to find what is missing and make the currently three map plugins to take their specialties.
Back to top
View user's profile Send private message
AllanHvass
Donated!
Donated!


Joined: 28 May 2006
Posts: 62
Location: Høsterkøb, Denmark

PostPosted: Sun Dec 28, 2008 6:43 pm    Post subject: Reply with quote
Hmm, got the custom map accepted and saved. Took me through a couple of dialogues to select MAP file name and map location, but nothing showed up in the displayed map images, and the new custom map didn't appear in the list of maps under OziExplorer settings.

So I restarted ST, and now OziExplorer shows the following error message under settings every time:

The type initializer for 'OldManBiking.OziExplorerMapPlugin.MapProviders.OziExplorerMapRegistry' threw an exception.

at OldManBiking.OziExplorerMapPlugin.MapProviders.OziExplorerMapRegistry.get_Instance()
at OldManBiking.OziExplorerMapPlugin.UI.Settings.OziExplorerMapPluginSettingsPageControl.FillOziExplorerMapsTreeList()
at OldManBiking.OziExplorerMapPlugin.UI.Settings.OziExplorerMapPluginSettingsPageControl.LoadSettings()
at OldManBiking.OziExplorerMapPlugin.UI.Settings.OziExplorerMapPluginSettingsPageControl..ctor()
at OldManBiking.OziExplorerMapPlugin.UI.Settings.OziExplorerMapPluginSettingsPage.CreatePageControl()
at ZoneFiveSoftware.SportTracks.UI.Controls.ViewSettingsPageAdapter.CreatePageControl()
at ZoneFiveSoftware.SportTracks.UI.ViewNavigationManager.ShowCurrentView()

What's wrong here? How do I get back on track?
_________________
Kind Regards
Allan Hvass
Using Garming Edge 305HR+CAD (and lots of other GPS gadgets)
Back to top
View user's profile Send private message
Des
Donated!
Donated!


Joined: 02 Sep 2006
Posts: 54
Location: Worcestershire, UK

PostPosted: Sun Dec 28, 2008 6:48 pm    Post subject: Reply with quote
I had several problems using the built-in calibration, in the end I used the demo version of oziexplorer (2 calibration points only) to calibrate the image, that worked fine.

Des
Back to top
View user's profile Send private message
AllanHvass
Donated!
Donated!


Joined: 28 May 2006
Posts: 62
Location: Høsterkøb, Denmark

PostPosted: Mon Dec 29, 2008 12:54 pm    Post subject: Reply with quote
Even an uninstall and reinstall of all OMB plugins, incl. the OziExplorer doesn't fix the issue for me - it still throws an exception when going to the settings page, and the Ozi map is not possible to select.

Underneath the AppData file folder, there's an OMBPlugins.log file with the following content, which seems to indicate that the error is occuring late in the startup process, as its able to scan all activities.


SportTracks.exe Information: 0 : OziExplorer Map Plugin: OziExplorerMapPlugin: Plugin started
ThreadId=1
DateTime=2008-12-29T17:45:45.2533350Z
Location=at OldManBiking.SporttracksPlugins.Helpers.OMBTrace.TraceInformation(String message)
Start calculating info for 151 activities.
Calculating info for 151 activities in 2,232412 seconds.


Any idea what's wrong and how to correct this? (See previous post for the error message itself).
_________________
Kind Regards
Allan Hvass
Using Garming Edge 305HR+CAD (and lots of other GPS gadgets)
Back to top
View user's profile Send private message
old_man_biking
Donated!
Donated!


Joined: 28 May 2007
Posts: 1915
Location: Munich, Germany

PostPosted: Mon Dec 29, 2008 1:56 pm    Post subject: Reply with quote
AllanHvass wrote:
Hmm, got the custom map accepted and saved. Took me through a couple of dialogues to select MAP file name and map location, but nothing showed up in the displayed map images, and the new custom map didn't appear in the list of maps under OziExplorer settings.

So I restarted ST, and now OziExplorer shows the following error message under settings every time:

The type initializer for 'OldManBiking.OziExplorerMapPlugin.MapProviders.OziExplorerMapRegistry' threw an exception.

at OldManBiking.OziExplorerMapPlugin.MapProviders.OziExplorerMapRegistry.get_Instance()
at OldManBiking.OziExplorerMapPlugin.UI.Settings.OziExplorerMapPluginSettingsPageControl.FillOziExplorerMapsTreeList()
at OldManBiking.OziExplorerMapPlugin.UI.Settings.OziExplorerMapPluginSettingsPageControl.LoadSettings()
at OldManBiking.OziExplorerMapPlugin.UI.Settings.OziExplorerMapPluginSettingsPageControl..ctor()
at OldManBiking.OziExplorerMapPlugin.UI.Settings.OziExplorerMapPluginSettingsPage.CreatePageControl()
at ZoneFiveSoftware.SportTracks.UI.Controls.ViewSettingsPageAdapter.CreatePageControl()
at ZoneFiveSoftware.SportTracks.UI.ViewNavigationManager.ShowCurrentView()

What's wrong here? How do I get back on track?


This looks very strange.
Can you please send me a copy of your SportTracks config file "Local Settings\Application Data\ZoneFiveSoftware\SportTracks\2.0\Preferences.System.xml".
I've sent you my email address via PM.

Cheers,
OMB
_________________

www.sporttracks-plugins.com
Back to top
View user's profile Send private message
old_man_biking
Donated!
Donated!


Joined: 28 May 2007
Posts: 1915
Location: Munich, Germany

PostPosted: Mon Dec 29, 2008 1:58 pm    Post subject: Reply with quote
Des wrote:
I had several problems using the built-in calibration, in the end I used the demo version of oziexplorer (2 calibration points only) to calibrate the image, that worked fine.

Des


Hi Des,

I think it's worth while trying to fix the "several problems" you had.
Can you explain the difficulties?

Cheers,
OMB
_________________

www.sporttracks-plugins.com
Back to top
View user's profile Send private message
Des
Donated!
Donated!


Joined: 02 Sep 2006
Posts: 54
Location: Worcestershire, UK

PostPosted: Mon Dec 29, 2008 2:31 pm    Post subject: Reply with quote
old_man_biking wrote:

I think it's worth while trying to fix the "several problems" you had.
Can you explain the difficulties?

Cheers,
OMB


I'll try, but I'll admit in advance that I didn't have much time, so I did it all in a bit of a rush.

The first problem has already been mentioned, the lack of zooming made it very hard to pinpoint a specific point (I'm using 1:25k UK Ordnance Survey maps (lots of detail) and covering approx 150 square miles).

The matching of the co-ords seemed a bit flaky, the cursor would keep reverting back to a normal non-targetted cursor, so each match had to be done several times.

When all points had been matched, the plug-in jumped to the settings page, at that stage I was unsure what to do next. The map page was still open, so I went back to that and attempted to save the results, however no .map was stored.

At that point, I didn't really fancy trying to match all the co-ords again so I switched to the Ozi method.

Sorry I can't be any more specific, but I hope the above helps.

Regards

Des
Back to top
View user's profile Send private message
texmurphy
Donated!
Donated!


Joined: 05 Jul 2006
Posts: 1130
Location: Maryland, USA

PostPosted: Mon Dec 29, 2008 2:48 pm    Post subject: Reply with quote
Des wrote:
The matching of the co-ords seemed a bit flaky, the cursor would keep reverting back to a normal non-targetted cursor, so each match had to be done several times.

I have also had a cursor reversion without any mouse click, especially on the 3rd and 4th coordinates. But I was able to just reselect and then apply the callibration.

I did find that if the calibration window has been moved somewhat off the visible screen so that the quadrant being calibarted is not visible then I had to set the calibration point at an arbitrary location. The cursor is locked inside the window so the window cannot be dragged. I then was able to recenter the window and replace the point. The calibration window was offset so I could see what was happening underneath. I suggest that the window be repositioned so at least the desired quadrant is visible or allow Escape to cancel the calibration so the user can move the window.
Back to top
View user's profile Send private message
fpouels
Donated!
Donated!


Joined: 29 Jun 2008
Posts: 24
Location: Netherlands

PostPosted: Fri Jan 02, 2009 8:14 am    Post subject: Reply with quote
Thank you for this perfect plugin, a reason for me to donate (again). This plugin makes it easy to work with oziexplorer maps. Because I run a lot in the woods without street views available, I really prefer this



over this

Back to top
View user's profile Send private message
7270martin
Donated!
Donated!


Joined: 21 Sep 2007
Posts: 250

PostPosted: Fri Jan 02, 2009 9:39 am    Post subject: Reply with quote
Same to me, I adore this plugin, its just great. I was missing detailled topo maps since I left ST1. Now, I calibrate my maps with OziExplorer and the integration into ST2 is very easy and accurate.

A detailed topo maps shows a lot of informtion and is a great addition to the satellite view. Even though I live in an area where high resolution satellite images are publically available, I mostly use the OziExplorer view insteat of the satellite view. I can fully recommend this plugin to everybody. Thanks to OMB!!

Also thanks to fpouels for the pictures with shows how accurate the plugin works.
Back to top
View user's profile Send private message
jhead



Joined: 28 Jan 2008
Posts: 1

PostPosted: Tue Mar 24, 2009 7:56 pm    Post subject: plugin expired Reply with quote
Would like to donate to use with scanned orienteering maps, but beta version expired on 22 March and there's no replacement version available. Is there going to be one?
Back to top
View user's profile Send private message
old_man_biking
Donated!
Donated!


Joined: 28 May 2007
Posts: 1915
Location: Munich, Germany

PostPosted: Wed Mar 25, 2009 1:00 am    Post subject: Reply with quote
Oops, I forgot.

Yes, I'll relaese a new build soon.

Cheers,
OMB
_________________

www.sporttracks-plugins.com
Back to top
View user's profile Send private message
old_man_biking
Donated!
Donated!


Joined: 28 May 2007
Posts: 1915
Location: Munich, Germany

PostPosted: Thu Mar 26, 2009 2:31 am    Post subject: New beta release Reply with quote
Ok, there it is.
I've just uploaded a new beta release.

See http://www.sporttracks-plugins.com/SportTracksPlugins/MyPlugins/OziExplorer%20Map%20Plugin/index.html .

Cheers,
OMB
_________________

www.sporttracks-plugins.com
Back to top
View user's profile Send private message
peho
Donated!
Donated!


Joined: 22 Sep 2008
Posts: 37
Location: Nacka, Sweden

PostPosted: Fri Apr 17, 2009 7:33 am    Post subject: Reply with quote
Really great plugin.
One problem with background map though:
I can't choose Apply Routes maps as background maps.
Should it be possible?
Back to top
View user's profile Send private message
old_man_biking
Donated!
Donated!


Joined: 28 May 2007
Posts: 1915
Location: Munich, Germany

PostPosted: Fri Apr 17, 2009 2:31 pm    Post subject: Reply with quote
peho wrote:
Really great plugin.
One problem with background map though:
I can't choose Apply Routes maps as background maps.
Should it be possible?


Yes, it should be possible. But there's a bug in the current version so that the OziExplorer plugin may not find the AR plugin.

As a workaround you could try and move the AR plugin into the "...\Programs\ZoneFiveSoftware\SportTracks\2.1\Plugins" folder or a subfolder of it.


Cheers,
OMB
_________________

www.sporttracks-plugins.com
Back to top
View user's profile Send private message
peho
Donated!
Donated!


Joined: 22 Sep 2008
Posts: 37
Location: Nacka, Sweden

PostPosted: Sat Apr 18, 2009 6:35 am    Post subject: Reply with quote
Great, the workaround works.
/Peter
Back to top
View user's profile Send private message
PATATAJEC



Joined: 24 Sep 2009
Posts: 5

PostPosted: Thu Sep 24, 2009 8:47 am    Post subject: Reply with quote
Is there any chance to get the update of this great plugin after 27.09.2009 because the beta version is going to expire?

I've made a donation today cause i've need this plugin. After donation I realised that i have only just 4 days fun with it Sad
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SportTracks Forum Index -> Plugins - General Info All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group