bowdidge / switchlist

Mac Switchlist generator for Model Railroads
http://www.vasonabranch.com/switchlist
1 stars 2 forks source link

Automatically suggest potential cargo #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
One way to make SwitchList particularly helpful would be to automatically 
suggest a set of cargos each time someone creates / edits a new industry.  Upon 
entering a new industry ("Campbell Lumber", "Oceanview Cannery", SwitchList 
could prompt to ask if you want some help choosing cargos, and if so, would 
open a new window to show suggestions.

SwitchList could start with a database similar to the OPSIG industry database.  
A mapping of industry names to likely industry categories could be based on 
Google's Prediction API; Apple may have something similar built in.  Several 
likely industries could be suggested ("fish cannery? tomato cannery? fruit 
cannery?"), along with era and location.  Once some of the choices have been 
made, SwitchList could suggest several reasonable cargos for the industry.

Likely sources/destinations could be used either to create offline industries 
or at least automatically suggest divisions.

Here's an idea of what the database could contain:
Industry name and synonyms: lumberyard  
Examples (for training): Campbell Lumber, San Bruno Lumber, lumber yard
Receives:
era/material/source/percentage of total
1930/lumber/westwood/100
1950/lumber/oregon/100
1970/lumber/oregon/100
1990/lumber/canada/100
2010/lumber/canada/100
Ships:

Industry name and synonyms: tomato cannery / cannery
Examples: Del Monte Cannery, Woelffel Cannery, Libby's, Westminster Packing Co.
Receives:
1930/cans/staging/10
1930/fresh fruit/staging/20
Ships:
1930/canned fruit/east coast/40
1930/canned fruit/midwest/30

I've attached a sample screenshot for the window to let users choose the cargos 
they want.

Original issue reported on code.google.com by rwbowdi...@gmail.com on 12 Aug 2012 at 6:40

Attachments:

GoogleCodeExporter commented 9 years ago
Note that we wouldn't have to do the whole database at once; it's work that 
many people could help out on as they find holes in the data.

Original comment by rwbowdi...@gmail.com on 12 Aug 2012 at 6:41

GoogleCodeExporter commented 9 years ago
Starting to go in - see r416.

My current thought is to have the "Cargo Assistant" be a separate window that 
can be brought up, and would let you run through all your industries and add 
appropriate cargos that don't already exist.

Original comment by rwbowdi...@gmail.com on 13 Aug 2012 at 4:58

GoogleCodeExporter commented 9 years ago
First version in SwitchList 1.1.1.

Original comment by rwbowdi...@gmail.com on 4 Sep 2012 at 4:01