moki wrote:Ok, I installed a trial version of Office 2013 to try this. Powerful it may be, but doesn't work for me.
Powerful it is, bug free my script isn't...
Though I did catch the one you speak of in my v1.1 post above Zuu's. I also increased the max town list to 5000 in this so if you got a msg saying 500 and not 5000 you need to get the updated version. Also if you used the "Min Pop (X)" under "City" to try filter for min population of 10000 then what this is doing is instead making each town with pop > 10000 a "city = 1" for OpenTTD. The one you are looking for is "Smallest" under "Population" and "Filter".
Using your variables in v1.1 I get a file of:
Code: Select all
18.7,-75.95,17.45,-78.58
Kingston,L,1,17.99702,-76.79358
New Kingston,L,1,18.00747,-76.78319
Spanish Town,L,1,17.99107,-76.95742
Portmore,L,1,17.97024,-76.86722
Montego Bay,L,1,18.47116,-77.91883
Mandeville,L,1,18.04168,-77.50714
May Pen,L,1,17.96454,-77.24515
Old Harbour,L,0,17.94144,-77.10898
Linstead,L,0,18.13683,-77.03171
Half Way Tree,M,0,18.01248,-76.79928
Savanna-la-Mar,M,0,18.21895,-78.13320
Saint Ann’s Bay,M,0,18.43581,-77.20098
Bog Walk,M,0,18.10205,-77.00541
Constant Spring,M,0,18.05078,-76.79372
Port Antonio,M,0,18.17998,-76.46121
Ewarton,M,0,18.18084,-77.07664