Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Setting gui viewports

it must be  <window-size value="500,500"/>

Am So., 24. Mai 2020 um 23:32 Uhr schrieb Aleksandr Korshunov <korshunov.sasha@xxxxxxxxx>:
I tried this, but it doesn't work...

   <gui_only>
      <window-size x="500" y="500"/>
   </gui_only>


On Mon, May 25, 2020 at 12:04 AM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
When starting sumo you can set the option --window-size and --window-pos
However, you cannot currently control the position and size of the viewports within the window via traci or options.

Am So., 24. Mai 2020 um 22:52 Uhr schrieb Aleksandr Korshunov <korshunov.sasha@xxxxxxxxx>:
Can I also set how windows are located?

I want to make screenshots, but if I have several viewports, the screenshots have different sizes depending on the number of viewports. I cannot set static width and height in traci.gui.screenshot method, because in different scenarios, I have a different number of viewports.

The best option for me is having only one visible viewport, so as I understood, they all will have the same size - the whole screen. But I do not know how to set it with traci...


On Sun, May 24, 2020 at 10:57 PM Aleksandr Korshunov <korshunov.sasha@xxxxxxxxx> wrote:
Works! Thank you.

On Sun, May 24, 2020 at 9:58 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
use  <gui-settings-file value="file1,file2,file3"/>

regards,
Jakob

Am Sa., 23. Mai 2020 um 05:38 Uhr schrieb Aleksandr Korshunov <korshunov.sasha@xxxxxxxxx>:
Hello,

I want to set several viewports for a sumo-gui simulation.
I prepared XML files for each viewport, but when I defined them in sumo configuration file, sumo-gui failed.

I tried this way:
__________
<configuration>
   <input>
      <net-file value="path/to//network.net.xml"/>
      <route-files value="path/to/routes.rou.xml"/>
      <gui-settings-file value="path/to/__gui-settings_1.cfg"/>
      <gui-settings-file value="path/to/__gui-settings_2.cfg"/>
      <gui-settings-file value="path/to//__gui-settings_3.cfg"/>
   </input>
etc...
__________

and this way:
__________
<configuration>
   <input>
      <net-file value="path/to//network.net.xml"/>
      <route-files value="path/to/routes.rou.xml"/>
      <gui-settings-file value="path/to/__gui-settings_1.cfg" "path/to/__gui-settings_2.cfg" "path/to//__gui-settings_3.cfg"/>
   </input>
etc...
__________

How do I need to define them properly?

--
Regards,
Korshunov Aleksandr

Phone number: +972-50-48-50-222, +7-903-906-82-30
korshunov.sasha@xxxxxxxxx
_______________________________________________
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


--
Regards,
Korshunov Aleksandr

Phone number: +972-50-48-50-222, +7-903-906-82-30
korshunov.sasha@xxxxxxxxx


--
Regards,
Korshunov Aleksandr

Phone number: +972-50-48-50-222, +7-903-906-82-30
korshunov.sasha@xxxxxxxxx
_______________________________________________
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


--
Regards,
Korshunov Aleksandr

Phone number: +972-50-48-50-222, +7-903-906-82-30
korshunov.sasha@xxxxxxxxx
_______________________________________________
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