Re: [Pymag-devel] Bounding box
Status: Alpha
Brought to you by:
lhj
From: Josh <jo...@fe...> - 2009-06-02 02:22:33
|
Quoting henrik johansson <hen...@gm...>: > Hi, > > I have now added bounding box support for the database reader. > > Think it's high time to make another release. It would be nice if you > could test the latest trunk to see if it still works for you. > > /Henrik Hi Henrik, I've done a few tests with the current svn version today, and it looks good. I haven't tried the maps on a GPSr yet but at least they don't crash mapsend ;) Most polygons are rendering now. I haven't tested the bounding box or pgsql yet. On another note, I've been getting an error for a while on one particular map I've been building: magellan/DBUtil.py:190: DeprecationWarning: 'H' format requires 0 <= number <= 65535 return apply(struct.pack, (structendian+types,) + data) magellan/Layer.py:646: DeprecationWarning: 'H' format requires 0 <= number <= 65535 return struct.pack(prefix+types, *data) I *think* this is because there are more than 64k residential/unclassified roads in the osm extract going in to a single layer. Is this a limitation of the magellan map format, or in pymag? In an attempt to overcome this in the past I've split the roads into multiple layers, and that builds successfuly. The map can be opened in Mapsend and Vantagepoint, but locks up GPSRs (tested on half a dozen explorists) as soon as you select the detail map. I don't know if this is related or a different problem. Any hints on diagnosing the problem other than trial-and-error exclusion of objects? Cheers, Josh |