logo separator

[mkgmap-dev] "too many restrictions" mkgmap message

From Alexandre Loss alexandre.loss at gmail.com on Fri Jul 3 00:21:02 BST 2015

Hi Steve,

You gave me a good tip to check my style. Yea! In fact I might have some
extra and unnecessary restrictions being generated in the style. I need to
review this, because I made this style sometime ago and never revisited it
for a review.

So this will be my first approach.




2015-07-02 17:47 GMT-03:00 Steve Ratcliffe <steve at parabola.me.uk>:

> Hi Alexandre
>  I'm getting the error "too many restrictions" when compiling one of my
>> maps with the as you can see in the out put bellow:
> It means that there are more than 32767 restrictions for a group of
> roads.  A group of roads is usually around 100 or 200 or so.
> It seems unlikely that there would be genuinely that many restrictions,
> but if there is then it is possible that the format supports it and I could
> try to modify the code to accept it.
> More likely it seems to me that a bug in the code results in it thinking
> that there are lots more than there realy are under some condition, or
> perhaps your style creates multiple extra restrictions some how.
> Best wishes
> ..Steve
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150702/d8812e82/attachment.html>

More information about the mkgmap-dev mailing list