I'll be testing my GPX plug-in "live" for OpenJUMP this week. When these tests are complete I'll load the latest version of my source code to the GeoTools SVN. I'll like need some help then including my GPX module in the build process for GeoTools. (I think there may need to be some sort of review process completed befor this can happen?)
It should be very easy to read waypoints and tracks from GPX files into a program like UDig using my library. Now that I am nearing my first release of the module I'm thinking about my improvements for the next release and I had a couple of questions: - I'd like to replace my use of JDom with an XML pull parser. I'm thinking about using the stAX implementation from Sun. Is anyone using another xml pull parser in their module? I don't have any particular preference at this point, and it would reduce dependencies if I used what others were using. - Right now my code uses doubles to represent lat and long values. I'd like to create a convenient wrapper class to represent a lat/long coordinate (possible with an elevation). I noted that GeoTools has a latitude and longitude classes: http://javadoc.geotools.fr/2.5/org/geotools/measure/Latitude.html http://javadoc.geotools.fr/2.5/org/geotools/measure/Longitude.html Is there a class GeoTools uses to represent a Lat/Long pair? If there isn't, what interface or class might I extend/implement to do so? I don't want to roll my own lat/long wrapper if I don't have to. - I want to create some utility methods that work with lat/long coordinates on the ellipsoid. I only need a simple sphere, nothing fancier. I'm dealing with positional accuracies of several feet (if not tens of feet), so I'm not going to get exceited about the differences between a shpere and an ellipsoid at this point. I know that GeoTools offers the DefaultEllipsoid class: http://javadoc.geotools.fr/2.5/org/geotools/referencing/datum/DefaultEllipsoid.html Would there be objections to adding some methods to this class to perform the calculations I need, or should I whip up my own implementation of the Ellipsoid interface? That should get me going for now. Thanks for all of the support. The Sunburned Surveyor ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel