diff --git a/Formula/osmfilter.rb b/Formula/osmfilter.rb index eecd8d6a11..9677e1a8ca 100644 --- a/Formula/osmfilter.rb +++ b/Formula/osmfilter.rb @@ -2,8 +2,8 @@ class Osmfilter < Formula desc "Command-line tool to filter OpenStreetMap files for specific tags" homepage "https://wiki.openstreetmap.org/wiki/Osmfilter" url "https://gitlab.com/osm-c-tools/osmctools.git", - :tag => "0.8", :revision => "fbf0a0a01624951efd7a7407ee3821fd817acf63" - + :tag => "0.9", + :revision => "f341f5f237737594c1b024338f0a2fc04fabdff3" head "https://gitlab.com/osm-c-tools/osmctools.git" bottle do @@ -17,8 +17,8 @@ class Osmfilter < Formula depends_on "autoconf" => :build resource "pbf" do - url "http://archive.osm-hr.org/albania/20120930-albania.osm.pbf" - sha256 "f907f747e3363020f01e31235212e4376509bfa91b5177aeadccccfe4c97b524" + url "https://download.gisgraphy.com/openstreetmap/pbf/AD.tar.bz2" + sha256 "403d74dd62f7cc59c044965c52e0e0cb8dcf2c01faa205a668e94d7258d89ad1" end def install @@ -29,7 +29,7 @@ class Osmfilter < Formula test do resource("pbf").stage do - system bin/"osmconvert", "20120930-albania.osm.pbf", "-o=test.o5m" + system bin/"osmconvert", "AD", "-o=test.o5m" system bin/"osmfilter", "test.o5m", "--drop-relations", "--drop-ways", "--drop-nodes" end