[OSM-dev] osmosis + postgis 2.0 - usage of legacy function namens

Igor Podolskiy igor.podolskiy at vwi-stuttgart.de
Sat Jun 23 10:38:28 BST 2012


Hello Walter,

On 22.06.2012 18:00, Walter Nordmann wrote:
> legacy.sql didn't help. had to change the sources.
>
> Changed all calls of Collect(..) and Envelope(..) to ST_Collect and
> ST_Envelope in
> pgsimple/src/main/java/org/openstreetmap/osmosis/pgsimple/v0_6/impl/NodeDao.java
> pgsimple/src/main/java/org/openstreetmap/osmosis/pgsimple/v0_6/impl/IndexManager.java
> pgsimple/src/main/java/org/openstreetmap/osmosis/pgsimple/v0_6/impl/WayDao.java
>
> and same in
>
> pgsnapshot/src/main/java/org/openstreetmap/osmosis/pgsnapshot/v0_6/impl/NodeDao.java
> pgsnapshot/src/main/java/org/openstreetmap/osmosis/pgsnapshot/v0_6/impl/IndexManager.java
> pgsnapshot/src/main/java/org/openstreetmap/osmosis/pgsnapshot/v0_6/impl/WayDao.java
>
> ant build
>
> that works for me.
thanks for your bug report and proposed solution. I'll take a look into 
it, seems simple. However, for the next time you may want to post a 
proper patch (i.e. the output of diff -u or git diff). Or, even better, 
register with Github and make a pull request. It's not that hard (it's 
_way_ easier than hacking Osmosis sources, for that matter :)).

I don't have any experience with PostGIS 2.0 yet and I don't have a 
working installation of it either. When I'm done with applying the 
change, would you at least be willing to test the changed code?

> Sorry, can't upload with git (no account, no expierence)
>
> Regards
> walter
>
> @brett: please integrate in svn, i can't do that
There is no SVN any more to integrate into, all development is happening 
to Github.

Greetings from Stuttgart
Igor



More information about the dev mailing list