After 10 years of work placing cities one by one, here is the final result.
(joking, I've scripted it out! ;D)
A total of 5k towns/villages placed (I had to make a "blind" pruning to the data...my PC just kept running out of memory when I tried to add the complete list of 15k cities I had on my database.. :'(
Anyway, its a quite decent Portugal's map to play with.
Here is a preview (with villages' names on it :p )
ISN'T IT JUST AWESOME? :D
(http://i.imgur.com/KahNw8X.png)
Several relevant places were wiped out due to the "blind" prunning. If you think that is important to have certain places, please, prune this list so that it includes 5000 places.
https://app.box.com/s/xraws1v7ksenpfyupgym (https://app.box.com/s/xraws1v7ksenpfyupgym)
If you want your country covered, plz provide the following;
- .txt file with "name", "latitude" and "longitude". (Population would be nice)
- Png file with the height map
- The corresponding png's coordinates of 3 latitude/logitude points (use some villages on the edges to get those)
Just as a side note. You may prune that list so that it includes less villages... Maybe 5k is just too much..I haven't tried to play with it yet, but maybe that is just too much :p
Wow. That's a lot of cities! 8)
Yup. All placed on the correct name and coordinate! (apart from some coordenate drifting withjn my dataset.
Oooh, I've got two countries. Which to go for? Trinidad and Tobago will probably be very easy; the United Kingdom of Great Britain and Northern Ireland will be ferociously difficult.
What would be difficult? I couldn't understad. Note that this was made using a database.
Constructing the database of British towns would probably be time-consuming, and the geography of Britain is very weird in terms of peninsulas and other oddities.
(I've tried, before, just putting in Land's End and Duncansby Head as two fixed points, and putting everywhere else in where the linear interpolation method would put it. Some towns ended up falling into the sea.)
ok, we have the city list. but when I was going to prepare to play with it I found out that I can't find the map itself.
can you upload it?
Quote from: Jack Rudd on September 17, 2014, 06:11:51 PM
Constructing the database of British towns would probably be time-consuming, and the geography of Britain is very weird in terms of peninsulas and other oddities.
(I've tried, before, just putting in Land's End and Duncansby Head as two fixed points, and putting everywhere else in where the linear interpolation method would put it. Some towns ended up falling into the sea.)
You can get a pretty decent database here: https://www.maxmind.com/en/worldcities (https://www.maxmind.com/en/worldcities)
Quote from: AltTab on September 21, 2014, 06:43:11 PM
ok, we have the city list. but when I was going to prepare to play with it I found out that I can't find the map itself.
can you upload it?
Sorry for that. I don't know how I could miss the file. Unfortunately I have it on another laptop. Will upload it as soon as I get it.
Well since ur good with code. Do you know any command lines for win that compares names from 2 lists, and copies to a new file only the lines that are included in both lists?
well I kinda have found this two maps. One with the current lines and another one with all 1985 normal and narrow gauge lines.
http://trainz.comboios.info/hi/mapa2%20200.gif (http://trainz.comboios.info/hi/mapa2%20200.gif)
http://img.gforum.tv/img/7486d75ac9b0b66d98f28621c0e6964299af8278.gif (http://img.gforum.tv/img/7486d75ac9b0b66d98f28621c0e6964299af8278.gif)
So my idea was to only have Districts and possibly Municipalities. I would only have Parishes that were related with train or other iconic public transportation.
Also I would like to ask one thing.
Where did you got that database? I was looking around and found that before the parish aggregation of a few years ago we only counted around 5k. Is it possible that are a few that are just landmarks (6 or 7 houses that proclaim their name without being referenced in the government) or even some duplicates?
Quote from: AltTab on September 23, 2014, 04:19:53 PM
Well since ur good with code. Do you know any command lines for win that compares names from 2 lists, and copies to a new file only the lines that are included in both lists?
well I kinda have found this two maps. One with the current lines and another one with all 1985 normal and narrow gauge lines.
http://trainz.comboios.info/hi/mapa2%20200.gif (http://trainz.comboios.info/hi/mapa2%20200.gif)
http://img.gforum.tv/img/7486d75ac9b0b66d98f28621c0e6964299af8278.gif (http://img.gforum.tv/img/7486d75ac9b0b66d98f28621c0e6964299af8278.gif)
So my idea was to only have Districts and possibly Municipalities. I would only have Parishes that were related with train or other iconic public transportation.
Well, particularly for windows, I don't know if it is possible to do that on command line.. I guess you can do that on excel, by copy-pasting the city list to excel, and using a filter.
If i have time I will see if I can help you with that, using regular tools. Otherwise I'll code a simple program to do that for you.
Quote
Where did you got that database? I was looking around and found that before the parish aggregation of a few years ago we only counted around 5k. Is it possible that are a few that are just landmarks (6 or 7 houses that proclaim their name without being referenced in the government) or even some duplicates?
I posted the link in my previous post. It includes cities, towns and small villages.
Can you please put the map here to us download, I'd love to play in that map :)
I know this is an old thread, but I just noticed it. What is the script that's being referred to here? I know there's a scenario scripting feature in Simutrans (never tried to use it yet). Does the city creation script here use that feature or is it some kind of external script?
Wonder if the OP would be good enough to post the script he used, or if someone could give me a few pointers as to how to write this. I have a couple of Simutrans projects which involve large maps with many cities, and this could be very helpful.