On Mon, 7 Jul 2008, Frederik Ramm wrote: >> I need to add osm/gpx file extension seperation (first three files). > > Why? > > Currently, you *can* save any OSM layer as a GPX file. It seems to me > that your code would disable this feature, woudln't it?
No. It wouldn't. Currently when you save a GPX layer and enter "test", then josm makes test.osm from this and later complains about invalid extension. The patch now adds "osm" for OSM and "gpx" for GPX files. As this is only the default extension, adding gpx for saving an OSM file is still possible. The result will be a GPX file? What's the purpose of this? This is actually what the bug report really is about - saving GPX, not OSM. Additionally I introduced a title line, so the dialog now tells you, whether you save GPX or OSM (Because until I researched for this bug I did not know, that selecting a different layer affects saving). And the bug clearly tells me I'm not the only one. Ciao -- http://www.dstoecker.eu/ (PGP key available) _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/josm-dev
