Re: [Pymag-devel] Bounding box
Status: Alpha
Brought to you by:
lhj
From: henrik j. <hen...@gm...> - 2009-06-03 19:59:32
|
Hi Josh, I found that this assertion was not correct. I added a new option that gives more verbose output. Can you please try again with the --debug option? Regards, 2009/6/3 Josh <jo...@fe...>: > Hi Henrik, > > It looks like your guess was right - here's the output from svn trunk > 28 on the same map build as yesterday: > > Traceback (most recent call last): > File "/usr/bin/osmmag.py", line 244, in <module> > main() > File "/usr/bin/osmmag.py", line 240, in main > fromdb=options.fromdb > File "/usr/bin/osmmag.py", line 84, in osmmag > data.load() > File "osmmagellan/osm.py", line 199, in load > parser.parse(self.filename) > File "/usr/lib/python2.5/xml/sax/expatreader.py", line 107, in parse > xmlreader.IncrementalParser.parse(self, source) > File "/usr/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse > self.feed(buffer) > File "/usr/lib/python2.5/xml/sax/expatreader.py", line 207, in feed > self._parser.Parse(data, isFinal) > File "/usr/lib/python2.5/xml/sax/expatreader.py", line 304, in end_element > self._cont_handler.endElement(name) > File "osmmagellan/osm.py", line 247, in endElement > self.add_element(statement, self.tags, coords) > File "osmmagellan/osm.py", line 105, in add_element > cellelementrefs = layer.addCellElement(cellelement) > File "magellan/Layer.py", line 745, in addCellElement > assert nincell < 2**16 > AssertionError > > > Cheers, > Josh > > > > Quoting henrik johansson <hen...@gm...>: > >> Hi Josh, >> >> Thanks for testing. >> >> I think I know what the problem is. There's a limit of 64k cell >> elements in a cell. So it's clearly a pymagellan fault since it could >> just increase the number of cell levels if it reaches this limit. The >> threshold is set to max 2000 elements per cell but I think this might >> not be respected for some reason. >> >> I added some more asserts that should catch this problem. >> >> /Henrik > > > > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > Pymag-devel mailing list > Pym...@li... > https://lists.sourceforge.net/lists/listinfo/pymag-devel > |