1. draw polygon in netedit (POI-Poly mode) 2. inspect polygon and copy it's shape attribute 3. on the command line, run
netconvert -s old.net.xml -o cropped.net.xml --keep-edges.in-boundary "<shape value>" It's important that you put quotes around the shape value. The latest development version of netedit also supports "select elements within polygon" as a context menu function of polygon. You can then invert the selection and delete selected elements to crop your network. regards, Jakob Am Mo., 8. Nov. 2021 um 15:52 Uhr schrieb Nandini Anandan < [email protected]>: > Greetings for the day > > Respected concerned, > > Could you please help me to know how to use polygon coordinates for > cropping the network through netedit? > > [image: image.png] > > > Thanks in advance, > kind regards, > Nandini Anand > > _______________________________________________ > 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
