[osmosis-dev] Closed ways -> polygons?

David Carmean dlc at halibut.com
Tue Dec 22 00:02:17 GMT 2009


On Tue, Dec 22, 2009 at 12:42:49AM +0100, Frederik Ramm wrote:
> Hi,
> 
> Lennard wrote:
> > David Carmean wrote:
> > 
> >> I found that osm2pgsql omitted several attributes that I require.  Also, the 
> >> schema created by osmosis is more suitable to my needs.  
> > 
> > If these attributes are the user, uid, version and timestamp, check out 
> > http://trac.openstreetmap.org/changeset/19144
> 
> And if they are other attributes, then it is very likely that you will 
> be able to modify the osm2pgsql style file to suit your needs.
> 
> This is probably going to be easier than trying to build proper 
> multipolygons from data imported by osmosis, unless you are a real SQL 
> wizard.


Aye.  Part of my problem is that I haven't been able to build osm2pgsql
under Cygwin/Vista64, and thus can't add the above patch.  Vista64 is the
only environment I currently possess to run this under; hopefully within
a few weeks I can build a Linux server with adequate storage and CPU.

I have also considered using a combination of the two toolsets.







More information about the osmosis-dev mailing list