Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Regarding network cropping using polygon

Thank you so much for the message.

kind regards,
Nandini Anand

On Mon, Nov 8, 2021 at 11:36 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
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 <nandinianandan29@xxxxxxxxx>:
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.png


Thanks in advance,
kind regards,
Nandini Anand

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top