339d725628
A utility program that converts OpenStreetMap (.OSM) data into a format that can be loaded into PostgreSQL.
17 lines
330 B
Ruby
17 lines
330 B
Ruby
require 'brewkit'
|
|
require 'date'
|
|
|
|
class Osm2pgsql <Formula
|
|
head 'http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/'
|
|
homepage 'http://wiki.openstreetmap.org/wiki/Osm2pgsql'
|
|
|
|
def install
|
|
system "make"
|
|
bin.install "osm2pgsql"
|
|
end
|
|
|
|
def download_strategy
|
|
SubversionDownloadStrategy
|
|
end
|
|
|
|
end
|