Hello Jakob, I have tried to run the edgesindistrics.py tool by sumocommand. To run this tool I set the working directory to where the tool is located in my case(C:\Program Files (x86)\Eclipse\Sumo\tools). But I am not getting any output. It is directly opening the tool's code script into the python interpreter. So, my question is, is it necessary that .net.xml and .poly.xml file should be in the same directory?
Can you please clarify my doubt? Thank you. Best regards, Jatin On Wed, Jun 15, 2022 at 11:49 AM Jakob Erdmann <[email protected]> wrote: > see https://sumo.dlr.de/docs/Tools/District.html#edgesindistrictspy > > Am Mi., 15. Juni 2022 um 11:39 Uhr schrieb Jatin Senjaliya < > [email protected]>: > >> Hello Jakob, >> >> Thank you for the suggestion. >> >> I have successfully converted the shape file which contains the taz in >> polygon shape. Now I want to create taz by using this converted.poly.xml >> file for sumo. Can you please tell me what should be the TAZ_ID and EDGE_ID >> from this converted.poly.xml? >> >> Thank you. >> >> Best regards, >> Jatin >> >> On Wed, Jun 15, 2022 at 9:48 AM Jakob Erdmann <[email protected]> >> wrote: >> >>> You also need to provide an argument for option ' >>> *--shapefile.id-column'* >>> (whatever the column in your data is called). >>> If you leave out the option and run with --verbose, the available >>> columns will be printed. >>> >>> Am Mi., 15. Juni 2022 um 09:43 Uhr schrieb Jatin Senjaliya < >>> [email protected]>: >>> >>>> Hello Jakob, >>>> >>>> Thank you for your quick response. >>>> >>>> I tried both of these commands (--output-file taz.poly.xml, -o >>>> taz.poly.xml) one by one, but still getting the same error. >>>> >>>> Is there any other way? >>>> >>>> Best regards, >>>> Jatin >>>> >>>> >>>> >>>> On Wed, Jun 15, 2022 at 9:34 AM Jakob Erdmann <[email protected]> >>>> wrote: >>>> >>>>> Use either >>>>> --output-file taz.poly.xml >>>>> -o taz.poly.xml >>>>> >>>>> but not >>>>> -output-file taz.poly.xml >>>>> >>>>> Am Mi., 15. Juni 2022 um 09:20 Uhr schrieb Jatin Senjaliya < >>>>> [email protected]>: >>>>> >>>>>> Dear sumo users, >>>>>> >>>>>> I am new to sumo and I am trying to import polygon shapefile to sumo >>>>>> and for that I used this command 👉 *polyconvert >>>>>> --shapefile-prefixes taz --shapefile.guess-projection "t" >>>>>> --shapefile.id-column -output-file taz.poly.xml *But, I am getting >>>>>> bellowed mentioned error. >>>>>> [image: Capture.PNG] >>>>>> I have also tried to save the output file by using a different name >>>>>> instead of taz, still getting the same error. Could you please tell me >>>>>> the >>>>>> possible solution for this? >>>>>> >>>>>> One more question, After converting the shapefile, what should be the >>>>>> next step(how can i do further processing of the converted shape file in >>>>>> sumo?) >>>>>> >>>>>> Any help would be greatly appreciated. Thank you for taking time. >>>>>> >>>>>> Best regards, >>>>>> Jatin >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>>> >>>> _______________________________________________ >>>> 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 >>> >> _______________________________________________ >> 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 >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
