Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] pois2inductionLoops error
  • From: Joan Carmona Mercadé <JoanCarmona@xxxxxxxxxxx>
  • Date: Thu, 25 Apr 2024 08:41:16 +0000
  • Accept-language: ca-ES, es-ES, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intrasl.net; dmarc=pass action=none header.from=intrasl.net; dkim=pass header.d=intrasl.net; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xtqnIX+gukcwaAkeeOH1Q3Uwddf7UPDfEXrfazqkEdw=; b=SrgDHp+k7XfB5da+BDwqm2AcevL79rzE6EtrdDSKZodMjO/eTgDgrlztf97OCTvzUQU9MD5XituAYqknJfYi7sctoefC54rSMDQxbytRhJnwNTcToznAPfdmgxP5qApMtcMc25DKGPqqkYRAUVGRqOJ8WjB1eb2Uk/LDt0PwjYi1nZ1DDEobX/pxWaiSGwAoChaYELPonFi/+IPE3X1hHAMD1MWYd2nQp+JZoGkmAh//ZXzM8HDJAzJTUnct4wyl+9MIaC0c18UZCZ33RuZW6t9qvS0pTz2sz4R6q2z34ugo0TrtFshTy+eM2lXg3XhT9/tnMjbLZv8GqO9wWDbIEg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b/dx74/P3TroyuHlEYuJGRTt2UzyKE98NrObtuzildrchEqA0T9ttdMyipZ+LqHNrpIEXT010k3/314zSMBmbBgGc0+vfdlsHYHutXCcgHAIUfR8PNMYLH35/rGhe7JzwKXTWgxNBiV51WqULyxEGH6/K1lSA+TVWnJaGZ0RaX1hG5amxH1Vm/jcgaOozjd19y07ISVaMuL8t3TjygpHCNtB0SDj8kNKML3B5OTKl8Ib/V+T8n3fD3dad4QmkIqklPq3/5OGc9LdJBUR4eO5I+8I0pRWAHGfImRr3aDB6UBqEgLoBCELINYnYMeqrTLMdw8ejkkaM6SzEcfKboFJMw==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user/>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdqW7CH8ycEKnAj3Rr+RUL05QY3tsw==
  • Thread-topic: pois2inductionLoops error

Hi,

 

I’m trying to convert a shapefile of points into detectors. First, I use polyconvert to convert the shapefile into an additional XML file of <poi> structures.

Then, I try to use the pois2inductionLoops.py utility to convert pois file into detectors, but I’m getting the following error:

 

Reading net...

Reading PoIs...

Traceback (most recent call last):

  File "C:\Program Files (x86)\Eclipse\Sumo\tools\purgatory\pois2inductionLoops.py", line 45, in <module>

    pois = sumolib.poi.readPois(sys.argv[2])

           ^^^^^^^^^^^

AttributeError: module 'sumolib' has no attribute 'poi'

 

Any idea?

 

Thanks!

 

Joan


Back to the top