mt-from-sf-to-gh / features

0 stars 0 forks source link

tour export without dialog #72

Open mt-from-sf-to-gh opened 13 years ago

mt-from-sf-to-gh commented 13 years ago

I extracted some methods from DialogExportTour to be able to export tours without user interaction, i.e. without the Export Dialog. Therefore, ExportTourExtension gets a new method "exportTourHeadless".

I use this to show tours on web maps like Google or Bing in an external Browser (by exporting tours into temporary GPX files which are then read with OpenLayers). I will provide this feature with a separate request. Other use cases could be exporting temporary KMLs to open in Google Earth or interacting with GPSBabel through temporary files.

In case you find this useful, there are two patches attached, to be applied to their corresponding projects net.tourbook and net.tourbook.export (I wasn't able to apply a single workspace patch with EGit, maybe I'm missing something there).

If you would like to have anything changed or improved, please let me know.

Reported by: norbertrenner

Original Ticket: mytourbook/feature-requests/70

mt-from-sf-to-gh commented 13 years ago

Original comment by: norbertrenner

mt-from-sf-to-gh commented 13 years ago

Original comment by: norbertrenner

mt-from-sf-to-gh commented 13 years ago

I will test this feature when you provide the anounced other feature which calls the method exportTourHeadless()

Original comment by: wolfgang-ch

mt-from-sf-to-gh commented 13 years ago

patches committed to branch "openlayers"

Original comment by: norbertrenner

mt-from-sf-to-gh commented 4 years ago

Was this work ever merged to master ?

Original comment by: FJBDev

mt-from-sf-to-gh commented 4 years ago

Was this work ever merged to master ?

No, but I just imported it from an old local backup which contained it by using this magic git commands: https://stackoverflow.com/questions/14383212/git-pulling-a-branch-from-another-repository#14383288

After searching in my mail I also found the reason why it was not merged, it was not ready. This is the last mail which I received from Norbert:

Date: 17.07.2011 16:36 Subject: Re: nächste Version

Hallo Wolfgang,

ich bin leider immer noch nicht soweit. Mein erneuter Anlauf, das endlich mal fertig zu kriegen, ist wieder ins Stocken gekommen.

Was ich vor einer Veröffentlichung noch machen wollte, ist das Mitliefern der OpenLayers und Slider Files, evtl. die Integration des GPX ins Html-File (das Nachladen per JavaScript geht z.B. mit Chrome nicht, mit IE nur Einstellungs-abhängig), die Probleme mit Performance und Transparenz im IE bei hohem Zoom nochmal anschauen und noch ein paar Kleinigkeiten.

Das heißt, ich würde das nicht mit in die Version nehmen wollen. Ich melde mich einfach bei Dir, wenn das Feature soweit ist. Wenn dann gerade keine Version ansteht, ist das auch nicht tragisch.

Du dagegen warst ja in letzter Zeit sehr fleißig, da lohnt sich die Version sicher auch ohne weitere Features ;-)

Gruß, Norbert

Original comment by: wolfgang-ch

mt-from-sf-to-gh commented 4 years ago

What does that mean in english :-) ?

Original comment by: FJBDev

mt-from-sf-to-gh commented 4 years ago

Googles translation

Hello Wolfgang,

I'm still not ready. My renewed attempt, that finally getting ready has stalled again.

What I wanted to do before publishing is that Supplying the OpenLayers and Slider Files, possibly the integration of the GPX into the HTML file (reloading via JavaScript works e.g. with Chrome not, with IE only settings-dependent), the problems with performance and transparency in IE at high zoom again and a few more Little things.

That means I wouldn't want to take that into the version. I just contact me when the feature is ready. If then No version is pending, that's not tragic either.

You, on the other hand, have been very busy lately, so it's worth it Version certainly also without further features ;-)

Greeting, Norbert

Original comment by: wolfgang-ch

mt-from-sf-to-gh commented 4 years ago

To be precise, if I remember correctly, the particular refactoring in the patches attached to this ticket was complete. But not the actual HTML export use case I wanted this for, see separate ticket #71 (Show tours in Browser with OpenLayers): https://sourceforge.net/p/mytourbook/feature-requests/71/

I struggled with some issues and intended to address them later but never did.

@Frederic Why are you asking, what is your use case?

Original comment by: norbertrenner

mt-from-sf-to-gh commented 4 years ago

"Why are you asking, what is your use case?"

I don't have a particular use case. Given that the request is now more than 9 years old, I was wondering if it's worth considering that it will be finished and implemented soon or if we can close it.

Original comment by: FJBDev