summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-07-08 12:55:19 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-07-08 12:55:19 +0000
commite26d5c49bbd4d82543c2ef3919c3b6d0555a54fc (patch)
tree8ccc6f6d6282ee9eef1c0a3140332f433112155b /sci-geosciences
parentSparc stable, bug #276590. (diff)
downloadhistorical-e26d5c49bbd4d82543c2ef3919c3b6d0555a54fc.tar.gz
historical-e26d5c49bbd4d82543c2ef3919c3b6d0555a54fc.tar.bz2
historical-e26d5c49bbd4d82543c2ef3919c3b6d0555a54fc.zip
New package. Bug #261822
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/osm2pgsql/ChangeLog10
-rw-r--r--sci-geosciences/osm2pgsql/Manifest4
-rw-r--r--sci-geosciences/osm2pgsql/metadata.xml16
-rw-r--r--sci-geosciences/osm2pgsql/osm2pgsql-20090707.ebuild33
4 files changed, 63 insertions, 0 deletions
diff --git a/sci-geosciences/osm2pgsql/ChangeLog b/sci-geosciences/osm2pgsql/ChangeLog
new file mode 100644
index 000000000000..bcd3f745740c
--- /dev/null
+++ b/sci-geosciences/osm2pgsql/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-geosciences/osm2pgsql
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osm2pgsql/ChangeLog,v 1.1 2009/07/08 12:55:19 tupone Exp $
+
+*osm2pgsql-20090707 (08 Jul 2009)
+
+ 08 Jul 2009; Tupone Alfredo <tupone@gentoo.org> +metadata.xml,
+ +osm2pgsql-20090707.ebuild:
+ New package. Bug #261822 by : renato gallo
+
diff --git a/sci-geosciences/osm2pgsql/Manifest b/sci-geosciences/osm2pgsql/Manifest
new file mode 100644
index 000000000000..f60fcf586e14
--- /dev/null
+++ b/sci-geosciences/osm2pgsql/Manifest
@@ -0,0 +1,4 @@
+DIST osm2pgsql-20090707.tar.bz2 162960 RMD160 9e0245437ad086f6664e3d5b3caeae0020917e03 SHA1 cf135e329c818c63ef0cc3892e00eb7042937e76 SHA256 1997ffe10b05ef5571041d7a3cc69789c41278a71c595b643a7be2d3a7a0850a
+EBUILD osm2pgsql-20090707.ebuild 776 RMD160 bba0d2a783400b778b8d78676e4a0ee72a9e7e1f SHA1 8372942fbb87e04db4d6c73e658e8588e1ccc922 SHA256 f4dcea06517efd943478556f10c869ef3c87e3b343051bf8a6c338b68367b6b0
+MISC ChangeLog 399 RMD160 346e77becafba4a24a2cf3d757ecde50374d91e2 SHA1 22e441143010784e658bbd8dbd25da713454aff0 SHA256 f56cffac525822a676a8990d32e9731c3b5773133de2dcc4d1ee3bde1c280a95
+MISC metadata.xml 1354 RMD160 1856096e4faf1887389d58648ec5310edc2dbb6c SHA1 4358fe9bf0ed05454ce4fc248ba6d292a5260f80 SHA256 d6194d50628a7a576b7abe1f2c30bc24b7963b422a7463d7e09d2eba85c69d17
diff --git a/sci-geosciences/osm2pgsql/metadata.xml b/sci-geosciences/osm2pgsql/metadata.xml
new file mode 100644
index 000000000000..70817b2ab73a
--- /dev/null
+++ b/sci-geosciences/osm2pgsql/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-geosciences</herd>
+<maintainer>
+<email>tupone@gentoo.org</email>
+<name>Tupone Alfredo</name>
+</maintainer>
+<longdescription lang="en">
+osm2pgsql is a utility program that converts OpenStreetMap (.OSM) data into a format that can be loaded into PostgreSQL. It is often used to render OSM data visually using Mapnik, as Mapnik can query PostgreSQL for map data, but does not work directly with OSM files. For more information on using osm2pgsql to render OpenStreetMap data with Mapnik, see the Mapnik page.
+
+osm2pgsql is a lossy conversion utility. It only adds features that have certain tags, as defined in the config file, and it converts nodes and ways to linestrings and polygons. This means that you can't tell which linestring is connected to which, but for rendering a map that's not important (c.f. routing).
+
+osm2pgsql has two main modes of running - normal (is this what it's called?) and slim mode. The first uses RAM for intermediate storage, the second uses a temporary database on-disk. As of early 2009, you must use slim-mode for planet imports on 32-bit systems, since there are too many nodes to store in RAM otherwise. This limitation doesn't apply to 64-bit systems
+</longdescription>
+</pkgmetadata>
diff --git a/sci-geosciences/osm2pgsql/osm2pgsql-20090707.ebuild b/sci-geosciences/osm2pgsql/osm2pgsql-20090707.ebuild
new file mode 100644
index 000000000000..b0596aa4fa74
--- /dev/null
+++ b/sci-geosciences/osm2pgsql/osm2pgsql-20090707.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osm2pgsql/osm2pgsql-20090707.ebuild,v 1.1 2009/07/08 12:55:19 tupone Exp $
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="converts OpenStreetMap data into a format for PostgreSQL"
+HOMEPAGE="http://wiki.openstreetmap.org/wiki/Osm2pgsql"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="dev-libs/libxml2
+ sci-libs/proj
+ sci-libs/geos
+ dev-db/postgis"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch debian/patches/01_style_location
+}
+
+src_install() {
+ dodoc README.txt
+ dobin mapnik-osm-updater.sh osm2pgsql
+ doman debian/osm2pgsql.1
+ insinto /usr/share/${PN}
+ doins default.style
+}