Cmod Political borders model?
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 6 months
- Location: Indiana, United States
Re: Cmod Political borders model?
Something of concern, there isn't really a definite number of countries in the world. There's at least one oddity, Taiwan, for example, but it's an island-"nation", so you might be able to get away with it =P.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
-
- Developer
- Posts: 1863
- Joined: 21.11.2002
- With us: 22 years 4 months
Re: Cmod Political borders model?
Folks:
I have current border data, as of the (disputed) independence of Kosovo this year, in the form of lat long pairs in text files. Much work was involved in extracting new national borders from old provincial borders to keep the data current. It's what I use to maintain my texture overlay, hosted by selden.
Anyone is welcome to the data if they want to convert them to CMOD.
They'll give you the Central Asian republics, the fragments of ex-Yugoslavia, and the united Germany, as well as East Timor and numerous small enclaves (Llivia, Indo-bangladeshi, central Asian republics).
Grant
I have current border data, as of the (disputed) independence of Kosovo this year, in the form of lat long pairs in text files. Much work was involved in extracting new national borders from old provincial borders to keep the data current. It's what I use to maintain my texture overlay, hosted by selden.
Anyone is welcome to the data if they want to convert them to CMOD.

They'll give you the Central Asian republics, the fragments of ex-Yugoslavia, and the united Germany, as well as East Timor and numerous small enclaves (Llivia, Indo-bangladeshi, central Asian republics).
Grant
Last edited by granthutchison on 23.07.2008, 16:22, edited 1 time in total.
Re: Cmod Political borders model?
Grant,
please, send me the data by email. I'll make a CMOD version of it. Is the data very precise ?
please, send me the data by email. I'll make a CMOD version of it. Is the data very precise ?
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
- Developer
- Posts: 1863
- Joined: 21.11.2002
- With us: 22 years 4 months
Re: Cmod Political borders model?
Same ultimate source as yours (the World Data Bank II), except with some finer detail taken from the World Vector Shoreline in order to fill in the new national borders.Cham wrote:Is the data very precise ?
I have it formatted in lat-long pairs, with one-line headers identifying each border segment. The headers should be easy enough to strip out or otherwise ignore: my own program to generate the overlay texture does that.
Grant
Re: Cmod Political borders model?
Grant,
then, can you send it to me by email (in chunks of less than 10 MB), or a download link ?
then, can you send it to me by email (in chunks of less than 10 MB), or a download link ?
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
- Developer
- Posts: 1863
- Joined: 21.11.2002
- With us: 22 years 4 months
Re: Cmod Political borders model?
OK, here are zipped text files for download by anyone who's interested:
africa.zip (373 KB)
americas.zip (222 KB)
asia.zip (563 KB)
europe.zip (373KB)
The file names are self-explanatory. Data are presented as tab-delimited pairs of coordinates, longitude then latitude (decimal degrees; west and south are negative), with a line break after each coordinate pair.
Headers are short text strings I can explain to anyone who's interested, but which are always less than 10 characters in length, whereas the data lines are always greater than 10 characters: to filter the headers, reject all strings shorter than 10 characters.
Grant
africa.zip (373 KB)
americas.zip (222 KB)
asia.zip (563 KB)
europe.zip (373KB)
The file names are self-explanatory. Data are presented as tab-delimited pairs of coordinates, longitude then latitude (decimal degrees; west and south are negative), with a line break after each coordinate pair.
Headers are short text strings I can explain to anyone who's interested, but which are always less than 10 characters in length, whereas the data lines are always greater than 10 characters: to filter the headers, reject all strings shorter than 10 characters.
Grant
-
Topic authorElChristou
- Developer
- Posts: 3776
- Joined: 04.02.2005
- With us: 20 years 2 months
Re: Cmod Political borders model?
granthutchison wrote:Folks:
I have current border data, as of the (disputed) independence of Kosovo this year, in the form of lat long pairs in text files. Much work was involved in extracting new national borders from old provincial borders to keep the data current. It's what I use to maintain my texture overlay, hosted by selden.
Anyone is welcome to the data if they want to convert them to CMOD.
I knew some data were around the corner! Many Tx Grant!
Re: Cmod Political borders model?
Thanks Grant,
I'll convert all the data to CMOD tonight. Should be fast to do. However, the files are pretty small. I guess the borders resolution is much less high than with my previous data. I'll see this later.
I'll convert all the data to CMOD tonight. Should be fast to do. However, the files are pretty small. I guess the borders resolution is much less high than with my previous data. I'll see this later.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
- Developer
- Posts: 1863
- Joined: 21.11.2002
- With us: 22 years 4 months
Re: Cmod Political borders model?
Then your files are much larger than they need to be, I'd suggest.Cham wrote:I'll convert all the data to CMOD tonight. Should be fast to do. However, the files are pretty small. I guess the borders resolution is much less high than with my previous data. I'll see this later.

The original data show spurious precision (comparison with current SRTM topo data and between the WDB II and WVS datasets suggests an accuracy on the order of 100m), as well as containing many, many duplicated points, so I filtered them accordingly. I didn't bother trimming the trailing decimals, I confess, since that wouldn't alter the floating-point processing rate, and I didn't anticipate ever having to transfer the files electronically.
Grant
Re: Cmod Political borders model?
Here's a first quick model made with Grant's data. Of course, the color isn't final. This model is using dots only (instead of straight lines between each pair of dots) and isn't satisfying since there are many holes and gaps in the curves. I compared the curves with the model I made with the soviet era, and the match is very close (almost the same, except europe and a few cases) :
Next, I'll make a version with straight lines. It should be better.
Next, I'll make a version with straight lines. It should be better.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
Re: Cmod Political borders model?
Okay, the model with straight lines is superb. Almost finished.
But what are these small countries in Asia, in the north of Pakistan ?
See the tiny red blobs near the center of that picture ? What the ???
But what are these small countries in Asia, in the north of Pakistan ?
See the tiny red blobs near the center of that picture ? What the ???
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
Re: Cmod Political borders model?
It looks like an error to me, because those pieces of land look like they are in Kyrgyzstan.Cham wrote:Okay, the model with straight lines is superb. Almost finished.
But what are these small countries in Asia, in the north of Pakistan ?
EDIT - I found what these are. These are foreign enclaves in Batken province in Kyrgyzstan. The one of the left is the Tajik Voruh enclave, and the larger one on the right is the Uzbek Soh enclave.
Here is a map:
http://www.reliefweb.int/rw/fullMaps_Sa ... penElement
-
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 5 months
Re: Cmod Political borders model?
Same thing I thought. See HERE.bdm wrote:It looks like an error to me, because those pieces of land look like they are in Kyrgyzstan.
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
-
Topic authorElChristou
- Developer
- Posts: 3776
- Joined: 04.02.2005
- With us: 20 years 2 months
Re: Cmod Political borders model?
bdm wrote:EDIT - I found what these are. These are foreign enclaves in Batken province in Kyrgyzstan. The one of the left is the Tajik Voruh enclave, and the larger one on the right is the Uzbek Soh enclave.
Yep, you can also see them in Google map: http://maps.google.com/maps?hl=fr&num=10&as_epq=Kyrgyzstan+map&as_oq=&as_eq=&lr=&cr=&as_ft=i&as_filetype=&as_qdr=all&as_occt=any&as_dt=i&as_sitesearch=&as_rights=&safe=images&q=%22Kyrgyzstan+map%22&um=1&ie=UTF-8&sa=X&oi=geocode_result&resnum=1&ct=image
-
- Developer
- Posts: 1863
- Joined: 21.11.2002
- With us: 22 years 4 months
Re: Cmod Political borders model?
Yes, I have a special interest in enclaves. You'll find a number of them scattered around Europe and Asia, which I retrieved from the WVS datset.
Take a look along the Spanish-French border, and you'll find the Catalan town of Llivia, surrounded by French territory. There are others.
Grant
Take a look along the Spanish-French border, and you'll find the Catalan town of Llivia, surrounded by French territory. There are others.
Grant
Re: Cmod Political borders model?
Isn't the world strange !?
I'll finish the world model today. I've found some small defects here and there, when three lines are joining (mostly in Europe). I'll try to correct them.
Please guys, suggest me a nice color for the borders.
I'll finish the world model today. I've found some small defects here and there, when three lines are joining (mostly in Europe). I'll try to correct them.
Please guys, suggest me a nice color for the borders.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
Topic authorElChristou
- Developer
- Posts: 3776
- Joined: 04.02.2005
- With us: 20 years 2 months
Re: Cmod Political borders model?
granthutchison wrote:...Take a look along the Spanish-French border, and you'll find the Catalan town of Llivia, surrounded by French territory...

Cham, beware not deleting any good data! (from what I saw they seems to be VERY good!)
Now, whatever color is fine and one can always edit the cmod to change it, no?
Re: Cmod Political borders model?
ElChristou wrote:Cham, beware not deleting any good data! (from what I saw they seems to be VERY good!)
There are many very small defects, like these :
The difficulty is to locate them in the numbers list (coordinates) and join the lines.
Lets not forget the lines accuracy is about 1 km, and the deffects shown here are at the same scale. So changing a small straight line to join the curves will not affect the accuracy of the map.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
Re: Cmod Political borders model?
Without an adaptive planetographic grid, it's extremelly difficult to find the coordinates of the defects.
Please Chris !

Please Chris !
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
- Developer
- Posts: 1863
- Joined: 21.11.2002
- With us: 22 years 4 months
Re: Cmod Political borders model?
In general, they should be easy, because they're at tripoints, and the segment headers code the countries on each side of each border. The mismatch comes from using two datasets, both of which have spurious precision, so that the end of one border doesn't precisely tie to two other ends. The "offending" coordinates are therefore in general at the start or finish of a border segment where WVS meets WDB II. The little loop in your fourth image is a surprising exception, though, and looks like a mismatched subseries of line segments. Which three countries are meeting at the central tripoint shown?Cham wrote:Without an adaptive planetographic grid, it's extremelly difficult to find the coordinates of the defects.
Personally, I'd just accept the mismatch at the tripoints, because the "correct" location of the tripoint is unknown to the precision the datasets use. But if it's causing you distress, let me know which tripoints are involved, and I'll see if I can get around to "fixing" the junctions. Might take me some time before I can fit it in, though.

Grant