Seite 5 von 6

Re: Generating Bahn Layouts

Verfasst: Dienstag 6. November 2012, 20:24
von Voimala
Hello,
With 4.00b1 release it would be very nice to get generated layouts to include these 22.5 degree inclined tracks. When importing bna files the scale is correct but the program only gives 45 degree ways.

and with my two semester school Deutsch:
Jetzt als 4.00 beta 1 ist fertig, wäre es sehr schön Routen mit diese neue 22.5 Grad Spuren zu generieren. Beim .bna Import ist die Scala richtig, aber das Bahn Programm nur 45 Grad Wege generiert.

Re: Generating Bahn Layouts

Verfasst: Samstag 10. November 2012, 22:19
von Jan Bochmann
Hello,
Voimala hat geschrieben:Hello,
With 4.00b1 release it would be very nice to get generated layouts to include these 22.5 degree inclined tracks. When importing bna files the scale is correct but the program only gives 45 degree ways.

and with my two semester school Deutsch:
Jetzt als 4.00 beta 1 ist fertig, wäre es sehr schön Routen mit diese neue 22.5 Grad Spuren zu generieren. Beim .bna Import ist die Scala richtig, aber das Bahn Programm nur 45 Grad Wege generiert.
BNA import did not have updated or enhanced until now. I am not sure whether the current Beta version can generate correct 45 degree elements.

Grtx,
Jan B.

Re: Generating Bahn Layouts

Verfasst: Sonntag 11. November 2012, 16:28
von BertTijhuis
Hello,

When this feature is available, and when this is nescessarely, I will add this also to this generating tool

Kind regards,
Bert Tijhuis

Re: Generating Bahn Layouts

Verfasst: Montag 6. Januar 2014, 12:48
von Dierk Nüchtern
Hello together,

with my new pc I started a new test for generating a network with this program. Now I have the problem, that I get the message, that the bna has no end? Whats going wrong with the export?

Re: Generating Bahn Layouts

Verfasst: Samstag 1. Februar 2014, 09:08
von BertTijhuis
Hello,

If possible provide me the file ops2jbss.ini
and I will try to simule this

regards,
Bert tijhuis

Re: Generating Bahn Layouts

Verfasst: Dienstag 18. Februar 2014, 10:14
von MLG
Könnt Ihr diese BNA-Import-Funktion nicht mal idiotensicher Schritt für Schritt erklären? Vielen Dank!

Please explain this BNA-function step by step for idiots like me. Thank you very much! :wink:

Re: Generating Bahn Layouts

Verfasst: Freitag 21. März 2014, 11:32
von kugesz
I'm from Hungary. There is a problem with the ops2jbss v.0.22 (http://wanl0049.home.xs4all.nl/ops2jbss/).
I downloaded a .osm from www.geofabrik.de, with the "O xxx.osm" command I create a GISDATA.sqlite file, but „G” command was created just a short BNA:


BNAFILEVERSION 3840
; railstop, S
; railstop, H
; rail, T0
; rail, T3
; rail, T3
; roadstop, B
; roadstop, B
; road, M0
; road, M0
; road, M0
; road, M0
; road, B0
; road, B0
; road, N0
; landuse, R
; water, W1
; water, W1
; water, W1
; water, W1
; water, W1
; water, W1


The „Start Extractor” can download data from the internet, which I do not need, because I need a certain country or city.
Can you help me what could be the problem?

Thanks.

Re: Generating Bahn Layouts

Verfasst: Freitag 21. März 2014, 18:19
von gUFO
MLG hat geschrieben:Könnt Ihr diese BNA-Import-Funktion nicht mal idiotensicher Schritt für Schritt erklären? Vielen Dank!

Please explain this BNA-function step by step for idiots like me. Thank you very much! :wink:

Oh ja - für mich bitte auch!

Mojn Mojn Leutchen,

ich will auch irgendwie mit der Beta 4.02 mein Netz neubauen und dazu natürlich möglichst originalgetreue Koordinaten oder Karten verwenden. Ich bin auch schon seit Tagen dabei, dieses Prinzip mit den Karten und dem Importieren zu begreifen, aber entweder bin ich zu blöd dazu oder es ist wirklich sooo kompliziert. Wäre wirklich schön, wenn jemand den Ablauf von Anfang an bis zum Ergebnis in Bahn mal gründlich (und vielleicht sogar auf deutsch) erklären könnte.

B I T T E !!!

1000 und einen Dank schon im Voraus und herzliche Grüße aus Neuenhagen bei Berlin,
Gunther

Re: Generating Bahn Layouts

Verfasst: Dienstag 6. Oktober 2015, 13:03
von 1993matias
Hello,

I have tried to use the script to make a layout, but I have some problems. I am making a .bna file of all of Denmark, but when I import it to BAHN it freezes. BAHN has been thinking fo a day now, but nothing has happened (other than slowly increasing RAM usage, now at 250 MB). Is it because my .bna file is too big at 70 MB?
I am using BAHN 3.87, but I tried with BAHN 3.84 with the same result, although I killed that within a few minutes. Do you have any suggestions?

Also, it complains about every single instance of LINEABS, it says
Message #701: BNA line #[number] Command LINEABS
Not completely built
both in 3.84 and 3.87.

Thanks!


EDIT: Now it seems like it finished, and is running the tram on the loop you get when opening BAHN. The imported file is nowhere to be found.
EDIT2: Nevermind, the import has been found hiding in a corner :) Still, the error #701 is a bit annoying, especially since it doesn't seem to affect the outcome.

Re: Generating Bahn Layouts

Verfasst: Mittwoch 7. Oktober 2015, 01:46
von Chris
You need to run the import against a blank layout, otherwise (as you've found) it'll add to whatever's already there.

Imports for large areas will take a long time. One of the things you can do to cut this down is to change the settings in the extractor to use just the railway and coastline elements. This reduces the size of the .bna file dramatically, and with it the time it takes to load it. Back in the day you could use osmxapi to give you a thematic source by limiting the tags returned within the bounding box, but I'm not sure whether anything like that exists anymore.

My understanding is that "Not completely built" simply means that the feature could not be completely translated onto the layout because something was in the way - typically the bit of track, road or coastline it's meeting - remember that in the OpenStreetMap data intersecting ways will share nodes, and so a way that meets multiple other ways will find itself running into existing elements at its ends.

Re: Generating Bahn Layouts

Verfasst: Mittwoch 7. Oktober 2015, 06:40
von Jan Bochmann
Hello,
Chris hat geschrieben:You need to run the import against a blank layout, otherwise (as you've found) it'll add to whatever's already there.
You does not need, however it is recommended.
Chris hat geschrieben:My understanding is that "Not completely built" simply means that the feature could not be completely translated onto the layout because something was in the way - typically the bit of track, road or coastline it's meeting...
Yes, that is right. This is a warning only that a line crosses something else in the layout. Then, it could not been built completely because it does not overwrite data that already exist (in most situations).

Regards,
Jan Bochmann

Re: Generating Bahn Layouts

Verfasst: Mittwoch 7. Oktober 2015, 11:09
von 1993matias
Aha, thanks for your replies :)
Leaving it running all night was a good option, it seems. And a recommendation to others: Don't import a whole country at once :P
Let's see how much I get done now

Thanks!

Re: Generating Bahn Layouts

Verfasst: Dienstag 5. Februar 2019, 20:57
von MLG
Hallo, ich benötige dringend mal Eure Hilfe. Und zwar geht es um die Applikation OPS2JBSS, also dieses Programm von dem Holländer zum Generieren von BNA-Dateien. Ich hatte das ganze vor Jahren mal erfolgreich hinbekommen. Jetzt hatte ich mir vor Kurzem einen neuen Rechner gekauft und mir die neuste Version von Perl heruntergeladen um das Skript zum Laufen zu bekommen. ... Ich bekomm es einfach nicht mehr hin, über Perl dieses Skript zu starten. Mir fehlen leider die Hintergrundwissen eines Programmierers. Kann mir jemand Schritt für Schritt erklären, wie ich das Skript wieder zum Laufen bekomme? Das würde sicherlich auch andere interessieren. Vielen Dank!

Re: Generating Bahn Layouts

Verfasst: Montag 29. Juli 2019, 12:25
von Do27flyer
Hallo,

After being away from Bahn since the end of the 90's, I was so surprised the find this program still exists and is so alive and kicking :)

Anyway, I started to model the Netherlands, starting from around my neighbourhood Utrecht and will expand my project as I can find time. I successfully use ops2jbss to generate the layout, using the latest ops2jbss version 0.22 and the latest Strawberry Perl.
If anyone still wants to use ops2jbss and has problems, I will try to help.

Robert-Jan

Re: Generating Bahn Layouts

Verfasst: Sonntag 8. Dezember 2019, 23:17
von broodje
Hi, I'm trying to run this program in Strawberry Perl 5.30.1.1, unfortunately I'm immediately greeted with an error:

Code: Alles auswählen

Can't locate ops2jbss.pm in @INC (you may need to install the ops2jbss module) (@INC contains: C:/Strawberry32/perl/site/lib C:/Strawberry32/perl/vendor/lib C:/Strawberry32/perl/lib) at C:\ops2\ops2jbss.pl line 46.
BEGIN failed--compilation aborted at C:\ops2\ops2jbss.pl line 46.
Line 46 is the 2nd line of code: "use ops2jbss;"
This file is of course present in the map, so I'm not sure why perl fails to load/compile the program.

Does someone with some more knowledge of perl know what is going on?