From: Karol S. <kar...@gm...> - 2011-08-25 10:34:32
|
Jakob, With the new nodes file syntax no one needs to practice 'dark art' anymore :-) Thanks a lot for the new feature! Cheers, -- Karol Stosiek Koło Studentów Informatyki Instytut Informatyki UWr www.kstosiek.com On Tue, Aug 23, 2011 at 9:06 AM, Jakob Erdmann <nam...@go...>wrote: > Dear Karol, > what you're asking for is controlling the shape of the junction > itself. Yes, this is possible but it's somewhat of a 'dark art' (-: > The plain edge files allow setting the shape attribute to a list of > coordinates (i.e. "23.0,42.0 3.1,4.1 5.9,2.6"). If you build the > network using the option --plain.keep-edge-shape these will be used > instead of the actual junction coordinate. If you use the > edge-geometries of the original 4-junction network the generated > junction shape should be a nice square instead of an ugly blob (This > is how junctions.join does it). > > regards, > Jakob > > 2011/8/22 Karol Stosiek <kar...@gm...>: > > Jakob, > > The plain file format is quite readable and understandable, but it > seems > > that I see no nice way to great the junction of the size I want. I'd be > glad > > if you could give me a hint on how to turn the initial set of junctions > (see > > intersection1.png) into a big, single junction (see intersection2.png). > > Connecting all of the four roads in one single point results in a > > not-so-nice blob in the middle of the intersection (see > intersection3.png). > > Should I leave it like that or can I somehow achieve situation presented > in > > intersection2.png? > > Thanks a lot in advance, > > -- > > Karol Stosiek > > Koło Studentów Informatyki > > Instytut Informatyki UWr > > > > www.kstosiek.com > > > > > > On Sun, Aug 21, 2011 at 9:50 AM, Karol Stosiek <kar...@gm...> > > wrote: > >> > >> Jakob, > >> Thanks a lot! I'll try to work with the plain edge/node files and see > if > >> I'm able to cope with them. > >> Cheers, > >> -- > >> Karol Stosiek > >> Koło Studentów Informatyki > >> Instytut Informatyki UWr > >> > >> www.kstosiek.com > >> > >> > >> On Sun, Aug 21, 2011 at 9:45 AM, Jakob Erdmann > >> <nam...@go...> wrote: > >>> > >>> Dear Karol, > >>> we have already suspected that --junctions.join needs more > >>> fine-tuning. I'm planning on extending the interface in the > >>> (hopefully) near future. Probably some form of inclusing/exclusion > >>> lists. That way it should be possible to pick a join-dist that fits > >>> the average case and than deal with the inevitable outliers on either > >>> side. > >>> > >>> In regards to fine-tuning the network by hand, I would discourage > >>> editing the net.xml. The recommended way is to output plain-edge and > >>> plain-node files, edit those and then rebuild the network. You can > >>> create plain files when importing OSM but you can also reconstruct > >>> them from a net.xml. > >>> The plain files should be easy to handle. Simply remove undesired > >>> nodes and rewire the edges as you see fit. > >>> > >>> regards, > >>> Jakob > >>> > >>> 2011/8/21 Karol Stosiek <kar...@gm...>: > >>> > Hello again, > >>> > I forgot to mention that I'm using OSM maps as map source. If I need > >>> > to > >>> > merge the junctions by hand, please provide information on, for > >>> > example, > >>> > invariants that need to be kept in the XML file. Thanks a lot! > >>> > > >>> > Cheers, > >>> > -- > >>> > Karol Stosiek > >>> > Koło Studentów Informatyki > >>> > Instytut Informatyki UWr > >>> > > >>> > www.kstosiek.com > >>> > > >>> > > >>> > On Sat, Aug 20, 2011 at 5:55 PM, Karol Stosiek > >>> > <kar...@gm...>wrote: > >>> > > >>> >> Hi all, > >>> >> I'm working on a map on which I want to join junctions that are > >>> >> close to > >>> >> each other (see --junctions.join in netconvert options), but the > >>> >> maximum > >>> >> distance (as in --junctions.join-dist) for different areas of the > city > >>> >> should be different. For example: if I set maximum joining distance > to > >>> >> less > >>> >> than 20, then there exists a pair of junctions that I want to be > >>> >> merged, but > >>> >> they are too far away for each other (the distance between them is > >>> >> more than > >>> >> 20) and they don't get merged. On the other hand, if I set the > maximum > >>> >> joining distance to more than 20, then there exists a pair of > >>> >> junctions that > >>> >> should not be merged, but they are - the distance between them is > >>> >> smaller > >>> >> than 20. Is there any neat way to achieve what I want to achieve or > do > >>> >> I > >>> >> have to edit the xml files by hand? All suggestions are very > welcome. > >>> >> > >>> >> Thanks a lot for your help, > >>> >> -- > >>> >> Karol Stosiek > >>> >> Koło Studentów Informatyki > >>> >> Instytut Informatyki UWr > >>> >> > >>> >> www.kstosiek.com > >>> >> > >>> > > >>> > > ------------------------------------------------------------------------------ > >>> > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > >>> > user administration capabilities and model configuration. Take > >>> > the hassle out of deploying and managing Subversion and the > >>> > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > >>> > _______________________________________________ > >>> > sumo-user mailing list > >>> > sum...@li... > >>> > https://lists.sourceforge.net/lists/listinfo/sumo-user > >>> > > >> > > > > > |