]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/trace.rb
Force coordinates into bounds when using the query tool
[rails.git] / app / models / trace.rb
index 1a935293a9acc7cf0a8bea0ebf6a9402021b221a..157b63f691e05f3105a3db536a50fc8419ecde24 100644 (file)
@@ -219,7 +219,7 @@ class Trace < ActiveRecord::Base
   end
 
   def xml_file
-    # TODO *nix specific, could do to work on windows... would be functionally inferior though - check for '.gz'
+    # TODO: *nix specific, could do to work on windows... would be functionally inferior though - check for '.gz'
     filetype = `/usr/bin/file -bz #{trace_name}`.chomp
     gzipped = filetype =~ /gzip compressed/
     bzipped = filetype =~ /bzip2 compressed/