Page 1 of 2

Search for train stops by name in the map / Map search for tags and train stops

Posted: Fri Feb 16, 2018 1:51 am
by AngledLuffa
It would be super helpful if there were a search function on the main map (M command) for train stop names. For example, I could search for "Sir Otterlot" and it would focus on my home base in the same way it focuses on an alert when you click the alert. If there is more than one train stop on the map with the same name, such as "Remote Artillery" on my map, I could cycle through them in a similar way to cycling through alerts of the same priority.

Re: [0.16.23] Search for train stops by name in the map

Posted: Fri Feb 16, 2018 8:00 am
by BenSeidel
Another thing that would be useful is an "Open in map" button on stops that when you clicked it, opened the map over that station (or one of them anyway...)
Edit:
I see that you made that suggestion in a separate thread

Map search for tags and train stops

Posted: Sat Apr 11, 2020 12:24 am
by prdfndr
TL;DR
Would be helpful to have map search for things that have a name. Specifically, for train stops and tags

What ?
Map search option for tags and train station.
Why ?
At some point a base grows big enough, that it becomes difficult to find a station a tag that you need. Not only there are many names on the map, but also, station names and tags start overlapping
map search.jpg
map search.jpg (925.19 KiB) Viewed 5614 times

Re: Map search for tags and train stops

Posted: Sat Apr 11, 2020 1:02 am
by mmmPI
YES ! From my perspective it sounds like somewhat of a detail in average game, but for some particular setup like in example it would be a GREAT tool.

But :

How should it react ?

You press something like Ctrl+F, type the begining of a station name, and then the map view highlight them ? ( color ? blinking ?)
Or the camera re-center around the closest result ? what if several station have same name ?

or something different you had in mind ?

( also you could replace "delivery" with "d" to reduce the overlapping which is what i'm usually trying to do )

It made me think about this : viewtopic.php?p=472439 which is also a suggestion that could help reduce the overlapping and ease the management of dense train network.

Re: Map search for tags and train stops

Posted: Sat Apr 11, 2020 1:25 am
by prdfndr
I would imagine, a player presses ctrl+f in the map, and the map becomes much darker, except for things that have a name. As the player types, things that do not fit the description, become darker as well and go back.

Additionally, could be, if the player presses enter, the map centers on the first object and dimming disappears

Re: Map search for tags and train stops

Posted: Sun Apr 12, 2020 9:12 am
by mmmPI
i learned the word dimming.

The option of map getting darker is the one that make more sense to me in case there are several things named the same the game wouldn't know toward which one it should center the view.

but as you say "additionnaly" the other one is a faster process in case the game centers map view on the closest item fitting the string of text.

+1 for me

Re: Map search for tags and train stops

Posted: Tue Apr 14, 2020 2:22 am
by ssilk
When should the search stop? I mean: maps can be really, really big and the way to search would be to look into chunks in a spiral (like radar), and ina chunk into every entity. That can be many hundred thousands. I estimate searching an area of 20x20 chunks could take between 1 and 5 seconds.

When should the search stop?

Re: Map search for tags and train stops

Posted: Tue Apr 14, 2020 3:21 am
by prdfndr
ssilk wrote:
Tue Apr 14, 2020 2:22 am
When should the search stop? I mean: maps can be really, really big and the way to search would be to look into chunks in a spiral (like radar), and ina chunk into every entity. That can be many hundred thousands. I estimate searching an area of 20x20 chunks could take between 1 and 5 seconds.

When should the search stop?
When making the suggestion, I was imagining that the game would have all map tags and train stations in a list together with their map coordinates (having assembling recipes in the list would probably be good too). And the search would be executed just over the list (not over the map). Even in the biggest games, I doubt that the list will contain more than 10000-20000 elements.

Re: Map search for tags and train stops

Posted: Wed Apr 15, 2020 5:55 am
by ssilk
Ok, I thought you want also to find trains, radars, and everything else, that can have names. And AFAIK there are no such lists (but I might be corrected: when I was searching all trains for the train radar mod, I need an initial scan over all terrain and after that I made my own list by hooking into the events of creating and destruction of entities; but that might have changed since then).

Search for Train Stop on map.

Posted: Fri May 08, 2020 9:32 pm
by Chumfactor
I'd like to be able to type, say, "Iron Ore Pickup" into a search box and have all the train stops that match be highlighted on the map.

NOTE: I have many train stops with the same name.

...Though sometimes it'd just be nice to see where the train stop that I named with creative whimsy is, in the big mess of 100s of trainstops that eventually strouted "from out of nowhere!" :D

I trust the Factorio UI folk to get the details right; I just want to be able to find my @#$% train stops!

Thanks!

Re: Search for Train Stop on map.

Posted: Sat May 09, 2020 12:19 am
by Amarula
+1
Yeah with a small to medium base, you can just turn on train stop names and find the one you are looking for. When base gets bigger and bigger, being able to search becomes more and more useful. Searching for a map label would also be a handy little addition...

Re: Map search for tags and train stops

Posted: Sat May 09, 2020 8:43 am
by ssilk
moved to similar thread

There is also other threads
viewtopic.php?f=6&t=84421 Optional smarter search

viewtopic.php?f=6&t=57860 [0.16.23] Search for train stops by name in the map

Train staion names on the map

Posted: Tue Oct 27, 2020 10:29 am
by bovum
TL;DR
Add a filter to the train staion names on the map.
What ?
As when you're adding a train stop to a train schedule, add a filter to show on the map only station names that match the filter text.

If item names are included in the station name it's easier to find the sources / sinks of that particular item.

If route names are used, it's easier to see all the stops on that route.

Re: [0.16.23] Search for train stops by name in the map

Posted: Tue Oct 27, 2020 10:45 am
by Koub
[Koub] Merged several threads with the same suggestion.

Re: Map search for tags and train stops

Posted: Tue Oct 27, 2020 5:03 pm
by NotRexButCaesar
mmmPI wrote:
Sat Apr 11, 2020 1:02 am
also you could replace "delivery" with "d" to reduce the overlapping which is what i'm usually trying to do
I find that
[
img=
<“item” or “fluid”>
.
<prototype name like“iron-plate”>
]
Works great. It is only 4 characters, not language specific, easy to see/recognize, and looks good.

Re: Map search for tags and train stops

Posted: Tue Oct 27, 2020 9:27 pm
by mmmPI
AmericanPatriot wrote:
Tue Oct 27, 2020 5:03 pm
[
img=
<“item” or “fluid”>
.
<prototype name like“iron-plate”>
]
Works great. It is only 4 characters, not language specific, easy to see/recognize, and looks good.
And how do you see if the station is opened or closed ?

Re: Map search for tags and train stops

Posted: Tue Oct 27, 2020 10:26 pm
by NotRexButCaesar
mmmPI wrote:
Tue Oct 27, 2020 9:27 pm
And how do you see if the station is opened or closed ?
The "[L/U]" turns red

(Is there no way just do a raw string? bracket U bracket tries to underline)

Re: Map search for tags and train stops

Posted: Wed Oct 28, 2020 5:16 am
by ssilk
AmericanPatriot wrote:
Tue Oct 27, 2020 5:03 pm
I find that
[
img=
<“item” or “fluid”>
.
<prototype name like“iron-plate”>
]
Works great. It is only 4 characters, not language specific, easy to see/recognize, and looks good.
I’m not 100% sure about the context you are talking here. Is that the name of a train station? Can you give an example?

Re: Map search for tags and train stops

Posted: Wed Oct 28, 2020 6:27 am
by NotRexButCaesar
ssilk wrote:
Wed Oct 28, 2020 5:16 am
I’m not 100% sure about the context you are talking here. Is that the name of a train station? Can you give an example?
Yes, train stations in the context of visibility.

Re: [0.16.23] Search for train stops by name in the map

Posted: Tue Nov 24, 2020 12:32 am
by prdfndr
I really wish there was some kind of map search. It is such a pain to manage grid based bases. And the existing train search is just not enough when you have several stations with the same name.
map search2a.png
map search2a.png (1.66 MiB) Viewed 5014 times