On Thu, Dec 17, 2015 at 12:35 AM, Roman Seidl <r...@granul.at> wrote:
> Hi! > > I am using Shapely to determine if a point is within an area. I am doing > so when storing an item to the database in a pipeline. > > Thus in the constructor of the pipeline I read a kml file and then use > Shapely to test if the point is within the shape. > > This works perfectly and when I do so a normal command line .py file I get > no debug messages. But if i start the process from within Scrapy (even with > -L ERROR) I keep getting the following debug messages from Shapely: > > Trying `CDLL(libgeos_c.so.1)` > Library path: 'libgeos_c.so.1' > DLL: <CDLL 'libgeos_c.so.1', handle 20528420 at 2045c2d0> > > Do these messages come from Shapely? If so how can I avoid them? > They do. I'm not familiar with Scapy, but if you raise the logging level in your application to INFO from DEBUG you won't see these messages. -- Sean Gillies
_______________________________________________ Community mailing list Community@lists.gispython.org http://lists.gispython.org/mailman/listinfo/community