gpsmap-general Mailing List for GPSylon
Status: Inactive
Brought to you by:
cdaller
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
(7) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jean-Marie R. <jea...@un...> - 2007-01-20 08:50:11
|
First, i want to thank you the authors for this great gps tool. My question: after extensive search on google ans sourceforge, i do not find pertinent information about the use of google maps for map downloading. Has somebody an answer ? Thank you jm Renard |
From: Napoleon M. <nap...@gm...> - 2006-07-16 23:35:37
|
Hello, I am writting a GPS navigation program and I would like to use the gpsylon java library. I have a problem with the GPSNmeaDataProcessor. For same reason the readMessages() method does not work as expected. It some times reads EOF characters (data == -1) even though the data stream from the GPS has not terminated. The same happens in the readGarbage() method. I also think that sometimes it does not process correctly the NMEA sentences from which it extracts the ERROR (both vertical and horizontal ) information and the ALTITUTE information. In these cases it does not generate any ALTITUTE or ERROR events. But I have not debugged that problem yet so I do not know what part of the code does not work properly. I think that the problems are related to the following sentence $GPRTE,1,1,c,*37 because this was the last sentence sent by the GPS before the error conditions were created. This sentence was generated by the eTrex in DEMO mode. I am using 2 GPS: a) GARMIN eTrex ( the yellow one ) Software version 2.14. I use it in demo mode connected to the PC through the Serial port. b) EMTAC BTGPS-S3 Blutooth GPS. The emtac site says that it supports NMEA-0183 V2.2 I used the EMTAC while driving around with a laptop and no ALTITUDE or ERROR events were generated. Any comments regarding this problems are wellcomed. Best regards, Napoleon Maou |
From: Christof D. <chr...@da...> - 2006-04-30 23:02:25
|
This message is posted CC to the mailinglist as I think that despite of the german language, it might be interesting for others as well. Hallo Michele, Manuel, Hanspeter, Cristina-Mihaela, Samuel (2x)! Wow! Das ist ja super! > Nun haben wir gedacht, bevor wir etwas beginnen möchten wir zuerst > mit Ihnen Kontakt aufnehmen um Ihre Meinung zu hören. Bitte per "du", wenn es euch nicht stoert. > Unsere Vorstellung wäre es, einige Route-Features zu implementieren > sowie Bugfixing zu machen. > Zu den Route-Features haben wir uns folgende (provisorische) Ziele gesetzt: > > * Routes > > * Define, name and manage routes > * Download maps for a given route in a given scale Super, das wollte ich (und andere) eh schon lange! Ihr koennt euch evtl. das modifytracks plugin ansehen, da gibts schon so was aehnliches. Ist allerdings nicht perfekt, bzw. bin ich garnicht sicher, ob es wirklich funktioniert. > * Automatic map download (when zooming) gute idee, auf das bin ich noch garnicht gekommen. Wahrscheinlich deswegen, weil ich immer gleich Karten in allen moeglichen Auflösungen runtersauge. Zum automatischen Kartenrunterladen: Da muss man sich überlegen, ob man nicht fuer jede Zoomstufe ein fixes Raster für Karten einplant. Dadmit laesst sich leichter feststellen, ob man eine Karten schon hat, bevor man sie nochmals runterlaedt. Druück ich mich da verständlich aus? > * Use fixed overlay grid Was ist das? > * Zoom in/out: > > * use mouse wheel > * right mouse button > * scale slider gefaellt mir. Beachtet aber, dass man gpsylon auch auf einem Mac bedienen können muss, und Macs normalerweise keine rechte Maustaste haben. D.h. die rechte Maus darf nicht die einzige Möglichkeit werden. > > Zu den Bugs, wir haben keine Bugreports auf der Sourceforge.net Seite gefunden. Haben Sie Bugs sonst wo notiert oder gibt es noch keine? Wir haben die Applikation bis zu diesem Zeitpunkt nur flüchtig getestet und uns sind spontan folgende Bugs aufgefallen: > > * Minor display errors when using download manager in download window Was ist euch da genau aufgefallen? > * Places on Overview Map do not match Ihr meint, etwaige Location Marker? Bei einer grossen Vergrösserung (wenn man ganz Europa sieht), stimmt die Projektion nicht mehr ganz. Bzw. haben die runtergeladenen Karten eine andere Projektion. Die Projektion ist ja nur eine Schätzung, da kein Mensch weiss, welche Projektion die Karten von mapblast/... genau verwenden. > Ausserdem hat uns gestört, dass die Zoomfaktoren bei ZoomIN/OUT > halbiert bzw. verdoppelt werden. Wir würden es sinnvoller finden, > wenn nur die definierten Masstäben angezeigt werden um die > Qualität der Karten zu verbessern. Ihr meint, dass man nur die Massstaebe verwendet, fuer die auch Karten vorhanden sind? Muss man mal probieren, ist aber dann abhaengig von den verwendeten kartenservern und evtl. nicht generalisierbar. > Eine konkrete Frage die wir uns gestellt haben ist, wie man den GPS > Simulation Mode starten kann. Können Sie uns da weiterhelfen? Hmmm.. musste jetzt selbst code lesen :-) In der Theorie sollte es per Menu (GPS/Simulation Mode) gehen, kann aber sein, dass das ein bug ist. hab ich schon lang nicht mehr gebraucht. wenn ihr da einen Fehler findet, bin ich euch dankbar! Das gleiche gilt fuer den File NMEA mode (per command line param). > Vielleicht haben Sie ja noch dringende kleinere Anpassungen / > Veränderungen die wir anstelle der Route-Features implementieren > sollen oder schlimme Bugs die unbedingt behoben werden müssen. > Wir sind offen für fast Alles und freuen uns baldmöglichst > Ihre Meinung zu unserem Vorhaben zu hören. Zuerst möcht ich mich mal bedanken, dass ihr mir helfen wollt! Find ich super! Ich hab jetzt ein bisschen ueberlegt, was man alles machen könnte, bzw. was auch längerfristig Sinn macht. * Routen definieren und sie mit Garmin up/downzuloaden. Speichern/laden von Routen * Plugin Architektur: Plugins können im Moment zuwar Menueinträge eintragen, aber nicht beliebige: Es wäre gut, wenn Plugins sich in bestehende (Unter)Menus eintragen könnten oder neue Menus machen könnten. * Alles Mögliche sollte "pluginisiert" werden. Auch die Layers, die im Moment fix "verkabelt" sind (z.B. LocationMarker Layer). Z.T. ist das nicht viel Aufwand, nur die Konfiguration und die Menueinträge müssen beachtet werden. * Simulation Mode, NMEA File Mode geht nicht mehr? * Google Maps als Kartenquelle: Da es ja seit kurzem für Europa bei Google Maps super Karten gibt, wär das eine gute Quelle. Das gpsdrive Projekt hat ein perl script, das angeblich google maps runterladen kann. Ist natürlich die Frage, welche Projektion google verwendet! * GUI: Ich hätte gerne, dass die Benutzeroberfläche auch von Plugins erweitert werden kann. Als Beispiel wäre der Statusbar (im Fenster ganz unten), wo sich ein Tachometer-Plugin reinhängen kann. Cool wäre es auch, wenn man diese Teile dann per drag and drop im Fenster verankern kann, rumschieben (dock oben/unten/links/rechts) oder als extra Fenster aufmachen kann. Ich hab schon ueberlegt, das Framework von jedit zu verwenden, das kann das alles schon. Jedit ist halt nur ein editor :-) * Die GPS Daten sollte auch als plugin implementiert sein. D.h. dass man nicht nur ein gps als Location-Quelle sondern auch andere Daten verwenden kann (z.B. WLAN Hotspots mit Signalstärke triangulieren, etc.). Das ist grundstätzlich nicht soo schwierig, das einzige Problem ist, das die Parameterübergabe, mit der in Gpsylon ja das GPS configuriert wird. Das müsste man irgendwie loslösen, bzw. eine Plugin-Schnittstelle für Commandline Parameter machen. * LocationMarker: im Moment liest der Layer ja nur eine Datenbank. Praktisch wäre evtl. wenn man mehrere dieser Layer (sollte vorher ein plugin werden) verwenden könnte und damit mehrere verschiedene Datenbanken verwenden könnte. * Dokumentation: das readme.html sollte in mehrere Files aufgeteilt werden. Das würde die Übersichtlichtkeit erhöhen und man könnte leichter zusätzliche Pluginbeschreibungen reinnehmen. * MapManager: der kann im Moment keine Karten löschen. Diese Funktionalitaet ist noch nicht implementiert. D.h. er muss die maps.txt Datei auch schreiben können, nicht nur lesen. * MapManager: kann nur mit einem Kartentyp umgehen. Wenn man jetzt mehrere, verschiedene Kartentypen verwendet, hat man da ein Problem. Sam Benz hat einen neuen Kartentyp inkl. Projektion für das Swissgrid implementiert, der hatte gerade vor kurzem das gleiche Problem. Er wollte (oder konnte :-) aber nicht verschiedene Typen gleichzeitig verwenden. Muss man auch überlegen, wie man das mit mehreren Karten macht, die eine verschiedene Projektion haben. * Im Moment muss man ja rxtx für die serielle Kommunikation vorher installieren. Das liesse sich ändern, wenn man direkt die Bibliotheken per Parameter für die JVM übergeben kann. Das geht per "-D java.lib.path". Für Linux/Unix ist das kein Problem. Ein gpsylon.sh shell script gibts schon (da fehlt nur noch der -D parameter), der dann auf die lib/Linux rxtx libraries verweist. Damit braucht man rxtx nicht mehr zu installieren, sondern kann einfach starten. Für Windows scheitere ich im Moment noch dran, dass die !"§$%& Batch files nicht herausbekommen, in welchem Directory sie selbst liegen und damit keinen relativen Pfad auf das lib/Windows (gibts noch nicht) Verzeichnis setzen können. Habt ihr da eine Idee? Ein gpsylon.bat, das auch per doppelklick funktioniert und auch aus einen anderen Verzeichnis aufgerufen werden kann. So, das waren mal meine Ideen! Ihr könnt natürlich machen, was euch lustig ist. Praktisch für mich, und einfach für euch wäre es aber, wenn ihr möglichst viel von eurem Code als eigenes Plugin implementiert. Ist natürlich nicht immer möglich. Aber z.B. die Routenerweiterung laesst sich glaub ich komplett als eigenes Plugin implementieren. Damit verhindern wir ein code-chaos. Ich CCe dieses Mail auch an die gpsylon mailingliste. Damit haben wir die Chance, dass sich auch andere Leute beteiligen können und die Liste wieder etwas belebt wird. Bitte nutzt auch die vorhandene Infrastruktur von source forge (bug reports, Diskussionen). Sprache optimalerweise Englisch, wir können diesen Thread aber auch gerne auf Deutsch weiterführen. Evtl. sollten wir den Thread hauptsächlich über die Mailingliste fortsetzen (wenn ihr alle subscribed seid), dann bekommen auch immer alle alle infos. Ich habe auch Sam Benz (noch ein Schweizer) auf die CC Liste gesetzt, er hat in letzter Zeit auch Code beigesteuert und ein paar Ideen gehabt. Ich freue mich schon auf eine fruchtbare Zusammenarbeit mit euch! schöne Grüsse in die Schweiz Christof -- --------------------------------------------------------------------------- Christof Dallermassl chr...@da... --------------------------------------------------------------------------- |
From: Christof D. <chr...@da...> - 2006-04-21 13:19:02
|
Hi! Marc Rechte sent some patches for the garmin code, so I did some cleaning up in this part of the code (the gpsylon application did not changed at all). I fixed the watchdog again (it has been broken for a while as it seems). As my garmin legend is broken, I could only test with an old garmin summit. If you could do any further tests (download, upload, position, etc.) with your garmin devices and report the results, I can ensure that the code works (and if not we can fix it). Please check out the latest version from cvs (version number must be 0.5.2cvs20050421) for the new code! happy gps'ing Christof -- --------------------------------------------------------------------------- Christof Dallermassl chr...@da... --------------------------------------------------------------------------- |
From: Allan F. <al...@te...> - 2003-11-04 22:34:43
|
> So I guess, you did not use any mouse modes? If you write a new mouse > mode, the mouse-keys wont interfere with other mouse modes, as only > one mousemode is enabled at one time. But as you wrote, you'll think > about putting all into a plugin, you'll have to do that anyway. > No, DestinationLayer had a mouseClicked function, so I just used that. But that means that if it is done as a separate plugin one would have to switch between the navigation and the destination plugin when only one mouse mode can be available at a time. Isn't that suboptimal? > Allan> * Changed the getValueString in UnitHelper to show values under 100 > Allan> correctly > > what was wrong before? > It didn't display values below 100 with one decimal. I changed the function to: public String getValueString(double value) { if(value > 100.0) { return(String.valueOf((int)Math.round(value))); } else { int v = (int)Math.floor(value); int v2 = (int)Math.round(value*10); String s = v+"."+(v2-v*10); return(s); } } The implementation can properly be done better; but this works. Feel free to put it in. Its in UnitHelper.java:313 here. /Allan Outlook, Internet Explorer and IIS stinks. The key to knowledge is not to rely on people to teach you it. Any computer science problem can be solved with another layer of indirection. |
From: Christof D. <cd...@ii...> - 2003-10-30 09:25:59
|
Hi Allan, Allan> It's some time ago now; but I'll see if I can sum up the changes. Allan> * Added the destination layer to the GPSMap (declaration + Allan> propertychangelisterners + etc) Allan> * Changed the "click" event to use control instead of shift (zoom uses Allan> shift) So I guess, you did not use any mouse modes? If you write a new mouse mode, the mouse-keys wont interfere with other mouse modes, as only one mousemode is enabled at one time. But as you wrote, you'll think about putting all into a plugin, you'll have to do that anyway. I think, as more and more mousemodes are available, we should create a button bar (right under the menu) where all the icons go that should be available to the user (download, distance, zoom, ...). Allan> * Added a JButton to the StatusBar, so that it displayed the distance left Allan> in a box right of the distance driven when the statusbar is plugin-enabled, this should be easier to do then. any chance, you planning to implement the plugin-enabled status bar :-) (or anyone else?) Allan> * Changed the getValueString in UnitHelper to show values under 100 Allan> correctly what was wrong before? Allan> So if I hold ctrl and click with my mouse, it displayes the Allan> distance to the target. So I can click a road crossing where we Allan> should turn and say: "Turn left in 2,5 km". a general solution for your problem could be to define a route (with all crossings as routepoints) and the status bar shows the distance to the next routepoint. I already have a basic layer here, that allows the user to draw tracks and routes, but I have not had time to add it to gpsylon in a usable matter. And I'm not sure, if I want to add new features, as long as some old ones are not finished (no possibility to choose tracks to upload to gps, no way to remove maps, ...). But at the moment, my time is very limited and so I cannot work on gpsylon as much as I wanted. Allan> Ok. I'll think about how to code the destination layer as a Allan> plugin and read your last design document. Interresting idea Allan> about using the plugin technique on the status bar as well... perfect, I hope my idea of how plugins work is understandable by others as well :-) [...] Allan> When you buy Route 66 they might not accept that you use the Allan> vector data outside the program, but I dont know what their Allan> feelings on this is. there was a discussion about that and it seemed that the route66 people wanted to allow that. but I have not heard anything about that for a while. Allan> Have you any logic that enables drawing/usage/calculations of Allan> vector data? Or would this also have to be implemented? no there is no logic available. and this task is not that easy. Drawing highways thicker than small roads, placing the labels in a good way, ... lots of things to think about! mit freundlichen Gruessen Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Allan F. <al...@te...> - 2003-10-29 22:01:44
|
> Allan> There were a couple of features that I wanted to implement so I > Allan> loaded the gpsylon source into my IDE (also just to see how the > Allan> implementation was done - very well by the looks of it). I saw > Allan> that the DestinationLayer was allready there, so not alot of > Allan> coding had to be done to implement my wished "distance to > Allan> target" feature. > > The distance layer is an old layer that is not used at the > moment. Should be redone. What is on my todo list (of new features) is > a kind of a route functionality (not auto-route, for this we'll need > vector maps): the user should enter (mouse click or load from file) a > route and gpsylon displays the time of arrival, distance to next > routepoint (to final destination), etc. > > How did you implement the distance-to-target functionality? > It's some time ago now; but I'll see if I can sum up the changes. * Added the destination layer to the GPSMap (declaration + propertychangelisterners + etc) * Changed the "click" event to use control instead of shift (zoom uses shift) * Added a JButton to the StatusBar, so that it displayed the distance left in a box right of the distance driven * Changed the getValueString in UnitHelper to show values under 100 correctly So if I hold ctrl and click with my mouse, it displayes the distance to the target. So I can click a road crossing where we should turn and say: "Turn left in 2,5 km". I wanted to implement the feature you describe as well (waypoints), but I haven't touched that yet. > So in my opinion the best way to add your functionality is to create a > new destination plugin (if not right away the "route plugin", which > should not be much more complicated). The destination layer you > changed may be used by this plugin, so only little effort is needed to > decouple the code from the main application (see the simpledemo plugin > for a small example). > > The plugin may provide a mouse mode that is responsible to convert the > mouse clicks of the user to a route, a layer that is able to display > the routepoints and a menu entry that allows to save/load routes. > > I do not think it is very hard to do, but at the moment I do not have > lots of time (and lots of other things to implement in gpsylong as > well!). > > For displaying different information I thought about creating a new > status bar that uses the plugin technique to display various kind of > informations (satellite reception, lat, long, speed, heading, > ....). So if some plugin wants to provide any kind of information, it > offers a component to the status bar and the user may choose to > display it. The status bar may be docked to the main window, or shown > in a separate window (this is easy and works out of the box by using > the toolbar class). Using this technique, your route-plugin (:-) is > able to display time-to-target, distance-to-target, > time-to-next-routepoint, etc. > Ok. I'll think about how to code the destination layer as a plugin and read your last design document. Interresting idea about using the plugin technique on the status bar as well... > Allan> There are two ideas that I'd like to run by you. One is if > Allan> it would be an idea to implement a program that would "piece > Allan> together" the downloaded maps to a larger complete map? > > not sure, if this is helpful. if you create a very large bitmap, > you'll have to load the large image into memory, even if you only use > a small piece of it. it may be helpful for other applications, but I > think it is more efficient (for gpsylon) to use tiles of maps and to > place them during runtime to form a virtual large map. > Ok. Point taken. > Allan> Another (somewhat connected) would be to try to parse the > Allan> bitmap maps for roads and that way generate vector data? > Allan> Vector data is (in my opinion) data that could be very > Allan> valuable. > > :-)) yes, I really would like to have access to vector data! One > target of the whole project is to create vector data from our own gps > tracks (work in progress). If you extract vector maps from the bitmaps > (which is quite hard I think), you still have the copyright problem, > so the data may not be distributed freely. I think a better solution > is to find a way to read existing vector maps (there was a discussion > about getting information to read mapsource cd-roms or route66 > cd-roms). Especially route 66 is quite cheap and has good data. > Well, you are going to have a problem of distributing the data regardless of where it comes from because all sources have copyright om them. Gpsylon only works because each user downloads his/her own maps from the website. It is true that they might not accept post processing of the images, but if each user does it, there isn't any copyright problem per say. But you are right it is NOT easy to implement anyway. I am currently toying with this just for fun. When you buy Route 66 they might not accept that you use the vector data outside the program, but I dont know what their feelings on this is. Have you any logic that enables drawing/usage/calculations of vector data? Or would this also have to be implemented? > Allan> These last days I have been testing out some Danish adresse > Allan> data provided by kms.dk (Danish government map organisation). I > Allan> have loaded these into a mysql database and converted their > Allan> coordinate format into lat/lon. It's reasonably presice (within > Allan> 100m) but not perfect. Somehow I need to connect all this data > Allan> with gpsylon, but I'm not sure how. The usability of this is > Allan> also limited because this only applies to Danish adresses. > > Probably the easies way is to add the addresses as location markers > (in the existing location markers database), but not enabling the > display of this type. then you could search for the location marker > address you need and it is displayed, but all the others are not > displayed. > > maybe it would be better to add a separate address (plugin) that is > specialized on handling addresses (separate from the location > markers). > True, this would also make a nice integration into the program. I'm thinking of coding this plugin, sometime in the future. /Allan Outlook, Internet Explorer and IIS stinks. The key to knowledge is not to rely on people to teach you it. Any computer science problem can be solved with another layer of indirection. |
From: Christof D. <cd...@ii...> - 2003-06-24 14:45:31
|
Hi Roger, Roger> Hi! I love this program, I'll have to post some pics of the Roger> 2001 Volvo S60 I've got fitted with a Garmin 16 and a Compaq Roger> Pentium-II 233MHz laptop running Redhat 9.0 and Sun Java 1.4.1. Thanks, yes, post your pics. This mailinglist is too sleepy anyway! Roger> I'm a java developer and I'm getting familiar with the GPSylon Roger> code. From the latest sourceforge CVS checkout (which is Roger> terrible to connect to), I can compile the code, but afterwards Roger> if I do an 'ant run' I get: Buildfile: build.xml My fault! I forgot to checkin a file that is needed. Is corrected in the current cvs now (did the checkin yesterday). Sorry for this!!!!! I know, that the sourceforge cvs has been working well for the last couple of days. Can't do anything against that. I hope they'll get their servers working again soon! You're telling, you're a java programmer. Help is always more than welcome! kind regards, Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Roger V. <vis...@sp...> - 2003-06-23 19:12:08
|
Hi! I love this program, I'll have to post some pics of the 2001 Volvo S60 I've got fitted with a Garmin 16 and a Compaq Pentium-II 233MHz laptop running Redhat 9.0 and Sun Java 1.4.1. I'm a java developer and I'm getting familiar with the GPSylon code. From the latest sourceforge CVS checkout (which is terrible to connect to), I can compile the code, but afterwards if I do an 'ant run' I get: Buildfile: build.xml init: compile: compile_downloadmousemode_plugin: compile: compile_navigationmousemode_plugin: compile: compile_writerasterimage_plugin: compile: compile_readgpsdrivetrack_plugin: compile: compile_mapmanager_plugin: compile: compile_kismetimport_plugin: compile: compile_importexport_plugin: compile: [javac] Compiling 1 source file to /usr/local/src/cvs/gpstool/plugins/importexport/classes [javac] /usr/local/src/cvs/gpstool/plugins/importexport/src/org/dinopolis/gpstool/plugin/importexport/ImportExportPlugin.java:45: cannot resolve symbol [javac] symbol : class ReadGPSMapTrackPlugin [javac] location: package track [javac] import org.dinopolis.gpstool.track.ReadGPSMapTrackPlugin; [javac] ^ [javac] /usr/local/src/cvs/gpstool/plugins/importexport/src/org/dinopolis/gpstool/plugin/importexport/ImportExportPlugin.java:371: cannot resolve symbol [javac] symbol : class ReadGPSMapTrackPlugin [javac] location: class org.dinopolis.gpstool.plugin.importexport.ImportExportPlugin.ImportTrackAction [javac] plugins_[0] = new ReadGPSMapTrackPlugin(); [javac] ^ [javac] 2 errors BUILD FAILED file:/usr/local/src/cvs/gpstool/plugins/importexport/build.xml:141: Compile failed; see the compiler error output for details. ----------------------- I'm wondering if something is forgotten... I haven't had time to look at this in depth yet, I'm guessing it's something easy. Roger Venable Ann Arbor, Michigan, USA |
From: Christof D. <cd...@ii...> - 2003-02-06 13:46:21
|
Hi! the new prerelease should make the plugin interfaces stable (more or less) and it should fix the problems windows users had with windows paths in the properties. As I'm locked out of sourceforge at the moment, CVS is not uptodate - please use the source distribution for the latest source. Sorry about that! Everyone is highly welcome to add plugins to the distribution! Look into the software design document for details. regards, Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Christof D. <cd...@ii...> - 2003-01-10 15:42:58
|
hi! finally I managed to add the source to the cvs repository. The build.xml files are not yet perfect do not perform everything they should (e.g. cannot create source/binary distributions), but they should be ok for compiling, running and creating javadoc. I was working on a plugin architecture these days, and it started to work. the plugins (create the jars with "ant bin_dist") and copy the jars and the lib/java (if any) directory either to ~/.gpsmap/plugins or to a plugins directory on the same level as the classes directory (or on the same level as the gpstool.jar file). It is not yet perfect, but I think it is a good start. any comments are welcome!!!! regards, Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Christof D. <cd...@ii...> - 2002-12-20 12:31:15
|
Hi! I just wanted to tell you, that I'm on holiday over christmas and wont be back until jan, 5th or so. During this time I won't (or rarely) read my emails, so do not be disapointed when I do not answer right away. I'll post a new release which holds some minor bugfixes: 2002/12/19: bug fix (reported from Jun Li): if the map layer was deactivated, no maps were displyed on startup. Added service (plugin) functionality for "save as". At the moment, jpg and png is supported. A svg service is done, but needs some other jars, and I dont know how to include them easily. 2002/12/14: double click in search list (markers) jumps to chosen entry. postgresql works now (confirmed by Thomas Mueller) 2002/12/13: fixed bug that ignored the gpsd port settings (default port was always used) (reported by Adam Coyne) 2002/12/12: fixed bug that prevented correct writing of location marker file (instead of the comma, its deciaml value (44) was written. 2002/12/11: fixed bug reported by Jun Li in org.dinopolis.gpstool.util.FileUtil: the filenames were not correctly created. 2002/12/08: added javadoc to src distribution added design document to documentation merry christmas and a happy new year! Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Christof D. <cd...@ii...> - 2002-12-13 16:07:59
|
Hi! Even better: http://jakarta.apache.org/commons/discovery.html the apache project seems to have solved our problems! or read a bugparade article about the sun.misc.Service class at http://developer.java.sun.com/developer/bugParade/bugs/4640520.html mit freundlichen Gruessen Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Christof D. <cd...@ii...> - 2002-12-13 15:56:25
|
Hi! Thomas Mueller and me thought about adding plugins to GPSMap. The first problem to solve is the "how add a plugin". After some searching I found out, how the javax.imageio and the javax.sound handle this. Any jar file in the classpath may contain a META-INF/services directory. This directory contains files that are named like the interface they extend and the implementing class(es) are written line-by-line in this file. For a longer (german) explanation, see http://javangelist.snipsnap.org/space/Plugin or http://java.sun.com/j2se/1.4/docs/guide/jar/jar.html#Service Provider or http://java.sun.com/j2se/1.4.1/docs/guide/sound/programmer_guide/appendix1.html The problem is, that sun uses the undocumented class sun.misc.Service for this. An example may be seen in the source of javax.imageio.IIORegistry . If we decide not to use the sun.misc.Service class, we could also find the service-files by calling ClassLoader.getResources("META-INF/services/x.y.z"); what do you think? Advantage of this approach is that no registration of plugins has to be done, just add the jar file in your classpath. If we find a way that this works even without jar files, its perfect! So defining a couple of plugin interfaces (Thomas made some suggestions, like import (maps, markers, ...), export, gpsdata-in (nmea), ...) Any suggestions??? Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Christof D. <cd...@ii...> - 2002-12-05 11:33:24
|
Hi! This release fixes some minor bugs and provides a search facility for location markers. In combination with imported geonet data, it is possible to search for even smalles villages and center the map to the search results. This was a feature I was missing a lot and finally I had time to add it! I hope, you enjoy it as well! mit freundlichen Gruessen Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Christof D. <cd...@ii...> - 2002-11-21 15:17:52
|
Hi! I just released a new version of gpsmap: 0.4.11 The following changes were done: ---------------------- snip ------- snap ------------------------- added login dialog for other dbs than hsqldb (e.g. mysql). if the mysql database exists (mysqladmin create <dbname>), the tables should be created automatically. Added lots of keyboard accelerators and menu mnemonics. Removed the scale combobox from the status bar (better? solution in menu, accessible directly via accelerator keys). sorted the categories in the category dialog, added level of detail to be edited. Import of compressed geonet files is possible (zip) Dialogbox if maps.txt file is not found. Some tests under win98se. added concept of "level of detail" to categories, made a dialog to choose the categories to show changed the creation of the MapBean a bit, so the projection does not change that often anymore (everytime it changes, the location marker layer searches in the db for markers. ---------------------- snip ------- snap ------------------------- have fun... Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Thomas M. <tm...@tm...> - 2002-11-17 12:31:20
|
Hi Christof! > Thomas> A shortcut to switch on/off display of waypoints would be useful too. > > there is one ine the layers menu (switch on/off the "location layer" > entry). should probably move to the markers menu. Yes I saw that. but 'short' is the important word :-) A on/off switch in the markers menu would be a good solution too, yes (but shortcuts are important - in my car I don't want to use a mouse :-) ). -- Bitte senden Sie mir keine Word-Anhänge. Siehe http://www.fsf.org/philosophy/no-word-attachments.de.html MfG Thomas Mueller - http://www.tmueller.com for pgp key (95702B3B) |
From: Christof D. <cd...@ii...> - 2002-11-17 10:21:47
|
Hi! Thomas> A shortcut to switch on/off display of waypoints would be useful too. there is one ine the layers menu (switch on/off the "location layer" entry). should probably move to the markers menu. mit freundlichen Gruessen Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Christof D. <cd...@ii...> - 2002-11-17 10:15:23
|
Hi! >> this bug is fixed, a new version is uploaded. Thomas> Yes it works fine, now thanks! >> the new version has one big additional feature: one may import geonet >> files. geonet files are provided by US government and contain lots of >> information about towns, places, ..... >> >> they can be downloaded at http://164.214.2.59/gns/html/index.html >> >> at the moment, you have to unpack the gzipped files on your >> own. gpsmap only reads the uncompressed files (will be changed soon!). >> >> I added lots of categories to match the geonet categories. >> >> well, this is just an intermediate release to fix the bug, so the >> geonet stuff is not very well tested! Thomas> Works very well ... if you have a very yery fast cpu :-) I know. especially the startup is VERY slow. this is also, because the openmap library switches the projection 4 times until it decides the final view. therefore my location marker layer tries to retrieve the location markers for the database 4 times before one can even see the window! I'm working on this (highest priority), but still don't know a good solution! Thomas> I imported austria, germany and switzerland (a indication that Thomas> gpsmap is still alive would be useful - it took quite a long Thomas> time). At city level it's very good, but when zooming out to Thomas> 1:500000 for example and cities are switched on all you see Thomas> are waypoints (and I have more than 200.000 to show now ;) ). :-) I can imagine. I'm still fighting with the austrian alone, and it takes forever to bring them to screen. And the import already has a (basic) feedback. Additionally the mapping from the gns categories (there are around 150 different categories, I would say) is not perfekt. there are too many "others". Thomas> A dropdown next to each category when to show this category Thomas> (only show below 1:50000) would probably be helpful. A Thomas> shortcut to switch on/off display of waypoints would be useful Thomas> too. I thought about that. And yes, a drop down box besides is a good idea! Thanks for testing! mit freundlichen Gruessen Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Thomas M. <tm...@tm...> - 2002-11-14 21:17:12
|
Hi Christof! Christof Dallermassl schrieb am Mittwoch, den 13. November 2002: > I just released the latest version of gpsmap (0.4.9). > > The biggest change is the location marker handling. They are stored in > a database now. This allows to select specific categories to be > displayed and others not to be displayed. The categories have icons, > so the visual feedback should be nicer than before. > > Apart from this, I fixed some bugs and improved the preferences editor. > > Feedback/bug reports/... highly welcome!!! I only a very quick test - but I can't get it to work. When I start gpsmap I am asked if I want to create the missing database, when selecting 'Yes' I get lot of exceptions, the last one is: ---------------------------------------------------------------------- ERROR: LocationMarkerSource threw an exception: java.sql.SQLException: Table not found: MARKERS in statement [SELECT name,latitude,longitude,category_id FROM markers WHERE latitude < 49.053154E0 AND latitude > 48.831905E0 AND longitude > 8.902381E0 AND longitude < 9.4097185E0] java.sql.SQLException: Table not found: MARKERS in statement [SELECT name,latitude,longitude,category_id FROM markers WHERE latitude < 49.053154E0 AND latitude > 48.831905E0 AND longitude > 8.902381E0 AND longitude < 9.4097185E0] at org.hsqldb.Trace.getError(Unknown Source) at org.hsqldb.jdbcResultSet.<init>(Unknown Source) at org.hsqldb.jdbcConnection.executeStandalone(Unknown Source) at org.hsqldb.jdbcConnection.execute(Unknown Source) at org.hsqldb.jdbcStatement.fetchResult(Unknown Source) at org.hsqldb.jdbcStatement.executeQuery(Unknown Source) at org.hsqldb.jdbcPreparedStatement.executeQuery(Unknown Source) at org.dinopolis.gpstool.gui.layer.location.JDBCLocationMarkerSource.getLocationMarkers(Unknown Source) at org.dinopolis.gpstool.gui.layer.LocationLayer.getAllLocationMarkers(Unknown Source) at org.dinopolis.gpstool.gui.layer.LocationLayer$1.construct(Unknown Source) at org.dinopolis.util.gui.SwingWorker$2.run(Unknown Source) at java.lang.Thread.run(Thread.java:536) ---------------------------------------------------------------------- When I add a new marker I get this exception: ---------------------------------------------------------------------- ERROR: the LocationMarkerSource set for writing has thrown an exception: java.sql.SQLException: Table not found: MARKERS in statement [INSERT INTO markers (marker_id, name, latitude, longitude, category_id) VALUES (NULL,'Test',48.94265E0,9.15581E0,'city')] java.sql.SQLException: Table not found: MARKERS in statement [INSERT INTO markers (marker_id, name, latitude, longitude, category_id) VALUES (NULL,'Test',48.94265E0,9.15581E0,'city')] at org.hsqldb.Trace.getError(Unknown Source) at org.hsqldb.jdbcResultSet.<init>(Unknown Source) at org.hsqldb.jdbcConnection.executeStandalone(Unknown Source) at org.hsqldb.jdbcConnection.execute(Unknown Source) at org.hsqldb.jdbcStatement.fetchResult(Unknown Source) at org.hsqldb.jdbcStatement.executeUpdate(Unknown Source) at org.hsqldb.jdbcPreparedStatement.executeUpdate(Unknown Source) at org.dinopolis.gpstool.gui.layer.location.JDBCLocationMarkerSource.putLocationMarker(Unknown Source) at org.dinopolis.gpstool.gui.layer.LocationLayer.addNewLocationMarker(Unknown Source) at org.dinopolis.gpstool.gui.layer.LocationLayer$2.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764) [..] ---------------------------------------------------------------------- After restart of gpsmap I get the message about the missing database again. -- Bitte senden Sie mir keine Word-Anhänge. Siehe http://www.fsf.org/philosophy/no-word-attachments.de.html MfG Thomas Mueller - http://www.tmueller.com for pgp key (95702B3B) |
From: Christof D. <cd...@ii...> - 2002-11-13 10:49:55
|
Hi! I just released the latest version of gpsmap (0.4.9). The biggest change is the location marker handling. They are stored in a database now. This allows to select specific categories to be displayed and others not to be displayed. The categories have icons, so the visual feedback should be nicer than before. Apart from this, I fixed some bugs and improved the preferences editor. Feedback/bug reports/... highly welcome!!! yours, Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Christof D. <cd...@ii...> - 2002-11-05 17:56:18
|
Hi! I just released a new version of GPSMap (0.4.8). Finally, GPSMap is able to handle location markers (aka waypoints). At the moment, they are stored in a simple file (comma separated), but database access is prepared. Another feature that may be handy: the content of the window may be stored as jpeg/png file. Any bug reports or feature requests are welcome! cheers, Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Thomas M. <tm...@tm...> - 2002-10-23 13:08:34
|
Hi Christof! > Thomas> There was a thread on the gpsdrive list about that only a few > Thomas> days ago. > > I know, read it as well. I thought you have more requirements for you > 5000+ waypoints. Yes, look below ;-) > Thomas> o show only waypoints within x kilometers > > I'm not sure about this. > > First, it is difficult to implement (have to > calculate distance to every point). Okay you're right, that's impossible (especially if you want to run GpsMap on a PDA). > Second: is it not enough to be limited to the current screen? Well, > I'll think about it. The problem is: if you zoom out, all you see are waypoints. If the window shows europe, 5000 waypoints will be shown. That's why I thought about the distance. So I think there are two possibilities (they can be combined): 1. define a threshold for every category when to show these waypoints; speedtraps only below 1:25000, restaurants below 1:10000 and so on 2. define a raster; when adding waypoints to the database you can save the raster where the waypoints are in; when displaying waypoints show either all waypoints or only waypoints in the current raster und the surrounding ones (configurable if all or not) That way no calculation is necessary, you only have to select the squares. > Thomas> o icons for every category > clear > > Thomas> Sometimes in the future? > Thomas> o warn if you are coming near a speedtrap (and tell the speed > you're > Thomas> allowed to drive -> the speed has to be saved) > I thought about that, too :-) I even tested speech output (there is a > free java package for this - works, but did not test much). That would be very cool! "Slow down now or it will cost xx Euro" ;-) I'll do some tests concerning the other mail. -- Bitte senden Sie mir keine Word-Anhänge. Siehe http://www.fsf.org/philosophy/no-word-attachments.de.html MfG Thomas Mueller - http://www.tmueller.com for pgp key (95702B3B) |
From: Christof D. <cd...@ii...> - 2002-10-22 16:15:43
|
Hi! Thomas> There was a thread on the gpsdrive list about that only a few Thomas> days ago. I know, read it as well. I thought you have more requirements for you 5000+ waypoints. Thomas> o show only waypoints within x kilometers I'm not sure about this. First, it is difficult to implement (have to calculate distance to every point). Second: is it not enough to be limited to the current screen? Well, I'll think about it. Thomas> o icons for every category clear Thomas> Sometimes in the future? Thomas> o warn if you are coming near a speedtrap (and tell the speed you're Thomas> allowed to drive -> the speed has to be saved) I thought about that, too :-) I even tested speech output (there is a free java package for this - works, but did not test much). mit freundlichen Gruessen Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |
From: Christof D. <cd...@ii...> - 2002-10-22 16:02:51
|
Hi Thomas! You wrote the bug report: "I left gpsmap having 1:10000 scale; on restart it show the 1:10000 map, the dropdown box shows 1:50000 as scale; wenn I select 'Follow me' gpsmap selects the 50000 map, when I start moving it selects the 1:10000 map again but the dropdown box still shows 50000" I tried to do the same as you did, but it works for me (only difference, I simulated the movement with the simulation mode (shift + left-mouse sets the destination, select simulation mode in menu). But I cannot see any changes in the scale. The dropdown box does not reflect the scale currently used. it is mainly for quickly changing the scale (without the page-up/down keys). BTW: I rewrote the graticule layer, so it should work now. cheers, Christof -- --------------------------------------------------------------------------- Christof Dallermassl / Institute for Information Processing and Computer cd...@ii... / Supported new Media, Graz University of Technology --------------------------------------------------------------------------- Dino Developer Community - be a part of it - http://www.dinopolis.org |