Re: [Pymag-devel] Points that cause MapSend to crash
Status: Alpha
Brought to you by:
lhj
From: Mikael A. <mik...@gm...> - 2010-08-14 17:35:24
|
Great news indeed! I'll give it a try as soon as I can! / Mikael On Sat, Aug 14, 2010 at 19:24, Henrik Johansson <he...@jo...> wrote: > On Wednesday 04 November 2009 11:04:41 Henrik Johansson wrote: >> On Sunday 26 July 2009 20:08:11 Mikael Arvids wrote: >> > Great project! Definitely in my top ten list of open source projects >> > here on sourceforge! >> > >> > I've stumbled on some points that causes MapSend to crash. >> > >> > The first node in the badPOI map is a shopping mall in Borlänge called >> > "Kupolen". I've generated the map with the skimap.xml rules in the >> > svn-tree. This makes the node a POI in the imi-file, and if this is >> > present it will crash MapSend. >> > >> > The second node in the badPoint map is just a kindergarten in >> > Linköping. The map is generated with the osmmagrules.xml rules. This >> > will only add the node as a named point in the imi-file, but it seems >> > to be enough to put MapSend out of its misery. It seems though that >> > the problem only exist if I request that the names should be added >> > (with --name-tag-list=int_name,name). If I omit this MapSend will >> > display the map without any problem. >> >> Hi Mikael, >> >> Thanks for finding this bug and sorry about the very late reply. >> >> I have reproduced the error but I haven't dug any deeper yet. I looks like >> it could be some problem with the name index. I have to dig deeper.. >> > Hi Mikael, > > Finally I got some time to work a little with pymagellan... > > I found the problem. MapSend doesn't like layers with a bounding box with zero > area. A single POI did cause exactly that to happen and by making the bbox a > little bigger than zero the problem was solved it seems. > > /Henrik > > |