Re: [Pymag-devel] Unable to render Polygons
Status: Alpha
Brought to you by:
lhj
From: henrik j. <hen...@gm...> - 2009-05-19 05:43:52
|
Hi Ingo, I tried the files and I have the same problem and I have found the bug in CellElement.py when a polygon is created and it checks if it's a closed polygon or not. Sadly, Mapsend Lite crashes when I zoom around when I have the Parks rule active. With parks commented out in the rule file it works fine though. I haven't yet been able to track down the offending park. Regards, Henrik On 13/05/2009, Ingo Hornberger <lab...@go...> wrote: > Hi Henrik, > > I tried it again with the current trunk and assured that I had no > locally changed files. But sadly with the same result. > > For a test I tried to render bremen.osm, because it is the smallest of > our states in germany ;) > > I attached you both files. I created it with the following command: > > ./osmmag.py -v -n "bremen" -r data/osmmagrules.xml -o bremen.imi bremen.osm > > And just to make it clear: I "sourced" the "setup.sh" into my > environment before: > . setup.sh > > Best regards, > Ingo > > 2009/5/11 henrik johansson <hen...@gm...>: >> Hi Ingo, >> >> Strange problem. There are plenty of polygon rules in the default rule >> file like parks and buildings. And they work fine on my explorist. >> >> Do you get any polygons with the default rule file? >> >> If you like you can send the osm-file and rule file that doesn't work >> for you and I'll have a look. >> >> Best regards, >> >> Henrik >> >> 2009/5/6 Ingo Hornberger <in...@ni...>: >>> Hi! >>> >>> It's me again... And again with some problems :) >>> >>> At the moment I am trying to generate a more complete osmmagrules.xml >>> which should render nice maps for my eXplorist 500. The problem is >>> that I get only roads and tracks, but I'm unable to render polygons. >>> So I get no nice landscape ;) >>> >>> Is there a problem with that? If not I would be very pleased if >>> someone can give me an example: >>> A small osm extract with an XML file and probably also the result >>> *.imi would do it. >>> >>> Probably it's only a lack of documentation ;) >>> >>> Thanks and best regards, >>> Ingo >>> >>> ------------------------------------------------------------------------------ >>> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your >>> production scanning environment may not be a perfect world - but thanks >>> to >>> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK >>> i700 >>> Series Scanner you'll get full speed at 300 dpi even with all image >>> processing features enabled. http://p.sf.net/sfu/kodak-com >>> _______________________________________________ >>> Pymag-devel mailing list >>> Pym...@li... >>> https://lists.sourceforge.net/lists/listinfo/pymag-devel >>> >> > |