Unfortunately, the result was the same for me, just an empty TAZ file.
another issue I think is with Linux and Mac. Are you using windows? I
attached my generated TAZ file. :(
But your setting was correct and I fixed that.

On Wed, Jun 2, 2021 at 10:54 AM Mehdi Khaleghian <[email protected]>
wrote:

> Dear Yun
>
> I found that I imported the setting for polyconvert. What should I do for
> being much more match between my network and shapefiles?
>
> On Wed, Jun 2, 2021 at 10:37 AM Mehdi Khaleghian <[email protected]>
> wrote:
>
>> Dear Yun
>>
>> Thank you so much for your time on my files.  I really appreciate it.
>> Since I just have two months of experience with sumo I didn't know that I
>> can check my TAZ shapes and my network. I need to import a wider network
>> from OSM. I think I filtered a lot on my network. I will check it.
>> Another question, where I should import these setting to match my polygon
>> with my network?
>>
>>     <input>
>>
>>         <net-file value="chattanooga_net_mehdi_netconvert.net.xml"/>
>>
>>         <shapefile-prefixes value="TAZ_2014"/>
>>
>>         <shapefile.add-param value="true"/>
>>
>>         <shapefile.fill value="false"/>
>>
>>         <shapefile.traditional-axis-mapping value="true"/>
>>
>>     </input>
>>
>>
>>
>>     <output>
>>
>>         <output-file value="polygons.poly.xml"/>
>>
>>     </output>
>>
>>
>>
>>     <projection>
>>
>>         <proj.utm value="true"/>
>>
>>     </projection>
>>
>>
>>
>> Thank you so much again for your great help.
>>
>>
>> Best regards
>>
>> Mehdi
>>
>> On Wed, Jun 2, 2021 at 10:14 AM <[email protected]> wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> since I answered your previous Email regarding the same issue you
>>> raised, I reply your email although you are writing to Jakob. ;-)
>>>
>>>
>>>
>>> I loaded your polygons on your sumo network with netedit. The polygon
>>> locations and the network do not match to each other. They locate at two
>>> different places. That explains why you got an empty file after using
>>> edgesInDistricts.py.
>>>
>>>
>>>
>>> With the following setting the polygons and the network match quite well
>>> (see the attached picture). With the resultant polygon file and
>>> edgesInDistricts.py, you should be able to get edges in the polygons.
>>>
>>>     <input>
>>>
>>>         <net-file value="chattanooga_net_mehdi_netconvert.net.xml"/>
>>>
>>>         <shapefile-prefixes value="TAZ_2014"/>
>>>
>>>         <shapefile.add-param value="true"/>
>>>
>>>         <shapefile.fill value="false"/>
>>>
>>>         <shapefile.traditional-axis-mapping value="true"/>
>>>
>>>     </input>
>>>
>>>
>>>
>>>     <output>
>>>
>>>         <output-file value="polygons.poly.xml"/>
>>>
>>>     </output>
>>>
>>>
>>>
>>>     <projection>
>>>
>>>         <proj.utm value="true"/>
>>>
>>>     </projection>
>>>
>>>
>>>
>>> By the way, there are no edges in some polygons. Furthermore, you might
>>> need to consider to use some options in edgesInDistrcits.py for filtering
>>> out some edges, since the network is really large.
>>>
>>>
>>>
>>> Best regards,
>>>
>>> Yun-Pang
>>>
>>>
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: sumo-user <[email protected]> Im Auftrag von mehdi
>>> Gesendet: Mittwoch, 2. Juni 2021 03:56
>>> An: [email protected]
>>> Betreff: [SPAM] Re: [sumo-user] [SPAM] Polyconvert and
>>> edgesInDistricts.py
>>>
>>>
>>>
>>> Dear Jakob,
>>>
>>>
>>>
>>> I tried it with another network file and tazshape files; the result was
>>> the same. By Linux and Mac, the generated TAZ.xml file is empty; it just
>>> has a header and nothing else.
>>>
>>>
>>>
>>> Could you please help me.
>>>
>>>
>>>
>>> Best Regards
>>>
>>> Mehdi
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
>>>
>>> _______________________________________________
>>>
>>> sumo-user mailing list
>>>
>>> [email protected]
>>>
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>>
>>> _______________________________________________
>>> sumo-user mailing list
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>>
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 2021-06-02 10:58:44.364134 by $Id$ UNKNOWN
  options: -n Chattanooga_SUMO_Network.net.xml -t polygon_NREL_newsetting.xml -o TAZ_NREL.xml
-->
<tazs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/taz_file.xsd";>
</tazs>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to