eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.58k stars 1.44k forks source link

boundary as list of two positions (trac #682) #682

Open behrisch opened 12 years ago

behrisch commented 12 years ago

we should write the boundaries of the net as "x1,y1 x2,y2" instead of "x1,y1,x2,y2". This would allow for easy addition of an optional z-coordinate. Since this changes the network format it is just a proposal here.

Migrated from http://sumo.dlr.de/ticket/682

{
    "status": "new", 
    "changetime": "2014-03-07T11:35:17Z", 
    "description": "we should write the boundaries of the net as \"x1,y1 x2,y2\" instead of \"x1,y1,x2,y2\". This would allow for easy addition of an optional z-coordinate. Since this changes the network format it is just a proposal here.", 
    "reporter": "behrisch", 
    "cc": "", 
    "resolution": "", 
    "_ts": "1394192117211684", 
    "component": "net building (NETGEN, NETCONVERT)", 
    "summary": "boundary as list of two positions", 
    "priority": "minor", 
    "keywords": "", 
    "time": "2012-03-20T21:30:38Z", 
    "milestone": "2.0.0", 
    "owner": "", 
    "type": "enhancement"
}
behrisch commented 12 years ago

I'm not really sure about this. a) having four or six values as a boundary would do the job, too b) having a space in the middle would raise problems on parsing it from the command line c) not necessary

behrisch commented 12 years ago

@behrisch changed milestone from "" to "2.0.0"