[Tile-serving] osm2pgsql with PostGis 2.x?

Alex O'Ree spyhunter99 at gmail.com
Sun Sep 27 20:23:05 UTC 2015


Thanks for the reply. On ubuntu 14, i was able to install most the
packages, however osm2pgsql fails when importing about a missing
function, addgeometrycolumn (or something like that). This was with
postgres 9.3 and postgis 2.1. After some googling, it looked like with
was postgis not being applied correctly (but it was with create
extension postgis).

I also tried using ubuntu 12 with postgres 9.1, but couldn't get
postgis 1.5 binaries, seams it's missing from the repos along with
most of the dependencies to build it.

can't we just use java? lol

On Sun, Sep 27, 2015 at 1:44 PM, Shaun McDonald
<shaun at shaunmcdonald.me.uk> wrote:
> osm2pgsql does support newer versions of PostGIS 2.x. Many of the tutorials
> are older, and haven’t needed to be updated for the newer version, as
> there’s been no significant difference to change the instructions.
>
> If you come across any issues it’s worth filing a bug at
> https://github.com/openstreetmap/osm2pgsql
>
> Shaun
>
> On 27 Sep 2015, at 15:58, Alex O'Ree <spyhunter99 at gmail.com> wrote:
>
> After painfully following a number of howto's and wiki entries, it
> appears that osm2pgsql only works with postgis 1.5ish or so. Is this
> an accurate statement? Are there plans to support postgis 2.x?
>
> _______________________________________________
> Tile-serving mailing list
> Tile-serving at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tile-serving
>
>
>
> _______________________________________________
> Tile-serving mailing list
> Tile-serving at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tile-serving
>



More information about the Tile-serving mailing list