1756151257
1756151257 Conquer Club • View topic - Thailand Map
Page 1 of 1

Thailand Map

PostPosted: Fri Mar 02, 2007 7:48 pm
by Nukora
The code I have is:
Code: Select all
<?xml version="1.0" ?>
  <map>
  <title>Thailand</title>
  <smallwidth>488</smallwidth>
  <smallheight>566</smallheight>
  <largewidth>800</largewidth>
  <largeheight>928</largeheight>
  <filetype>jpg</filetype>
  <continent>
  <name>Northwest Thailand</name>
  <bonus>4</bonus>
  <components>
  <component>Sirikit</component>
  <component>Lampang</component>
  <component>Wang</component>
  <component>Ping</component>
  <component>Yam</component>
  <component>Dawna</component> 
  </components>
  </continent>
  <continent>
  <name>Northeast Thailand</name>
  <bonus>3</bonus>
  <components>
  <component>Pa Sak</component>
  <component>Mekong</component>
  <component>Chi</component>
  <component>Khon Kaen</component>
  <component>Songkhram</component>
  </components>
  </continent>
  <continent>
  <name>Central Thailand</name>
  <bonus>4</bonus>
  <components>
  <component>Mun</component>
  <component>Khorat</component>
  <component>Gulf State</component>
  <component>Buri</component>
  <component>Kra</component> 
  </components>
  </continent>
  <continent>
  <name>South Thailand</name>
  <bonus>2</bonus>
  <components>
  <component>Thani</component>
  <component>Kota</component> 
  </components>
  </continent>
  <country>
  <name>Sirikit</name>
  <borders>
  <border>Lampang</border>
  <border>Wang</border> 
  </borders>
  <coordinates>
  <smallx>78</smallx>
  <smally>50</smally>
  <largex>102</largex>
  <largey>103</largey>
  </coordinates>
  </country>
  <country>
  <name>Lampang</name>
  <borders>
  <border>Sirikit</border>
  <border>Wang</border>
  <border>Ping</border>
  </borders>
  <coordinates>
  <smallx>46</smallx>
  <smally>80</smally>
  <largex>45</largex>
  <largey>145</largey>
  </coordinates>
  </country>
  <country>
  <name>Wang</name>
  <borders>
  <border>Sirikit</border>
  <border>Lampang</border>
  <border>Ping</border>
  <border>Yam</border>
  <border>Salween</border>
  <border>Khon Kaen</border>
  </borders>
  <coordinates>
  <smallx>86</smallx>
  <smally>153</smally>
  <largex>96</largex>
  <largey>143</largey>
  </coordinates>
  </country>
  <country>
  <name>Ping</name>
  <borders>
  <border>Salween</border>
  <border>Wang</border>
  <border>Yam</border>
  <border>Dawna</border> 
  </borders>
  <coordinates>
  <smallx>110</smallx>
  <smally>204</smally>
  <largex>114</largex>
  <largey>199</largey>
  </coordinates>
  </country>
  <country>
  <name>Salween</name>
  <borders>
  <border>Lampang</border>
  <border>Wang</border>
  <border>Ping</border>
  </borders>
  <coordinates>
  <smallx>35</smallx>
  <smally>185</smally>
  <largex></largex>
  <largey></largey>
  </coordinates>
  </country>
  <name>Yam</name>
  <borders>
  <border>Wang</border>
  <border>Ping</border>
  <border>Dawna</border>
  <border>Khon Kaen</border>
  <border>Pa Sak</border>
  <border>Buri</border>
  <border>Khon Kaen</border>
  <border>Khorat</border>
  </borders>
  <coordinates>
  <smallx>176</smallx>
  <smally>166</smally>
  <largex>177</largex>
  <largey>159</largey>
  </coordinates>
  </country>
  <country>
  <name>Dawna</name>
  <borders>
  <border>Ping</border>
  <border>Yam</border>
  <border>Buri</border>
  <border>Chad</border>
  </borders>
  <coordinates>
  <smallx>159</smallx>
  <smally>253</smally>
  <largex>156</largex>
  <largey>244</largey>
  </coordinates>
  </country>
  <country>
  <name>Songkhram</name>
  <borders>
  <border>Chi</border>
  <border>Khon Kaen</border>
  </borders>
  <coordinates>
  <smallx>278</smallx>
  <smally>65</smally>
  <largex>292</largex>
  <largey>61</largey>
  </coordinates>
  </country>
  <country>
  <name>Khon Kaen</name>
  <borders>
  <border>Wang</border>
  <border>Yam</border>
  <border>Pa Sak</border>
  <border>Chi</border>
  <border>Songkhram</border> 
  </borders>
  <coordinates>
  <smallx>201</smallx>
  <smally>123</smally>
  <largex>207</largex>
  <largey>117</largey>
  </coordinates>
  </country>
  <country>
  <name>Chi</name>
  <borders>
  <border>Songkhram</border>
  <border>Khon Kaen</border>
  <border>Pa Sak</border>
  <border>Mekong</border>
  </borders>
  <coordinates>
  <smallx>302</smallx>
  <smally>112</smally>
  <largex>300</largex>
  <largey>106</largey>
  </coordinates>
  </country>
  <country>
  <name>Pa Sak</name>
  <borders>
  <border>Khon Kaen</border>
  <border>Yam</border>
  <border>Chi</border>
  <border>Buri</border>
  <border>Khorat</border>
  <border>Mun</border>
  <border>Mekong</border>
  </borders>
  <coordinates>
  <smallx>252</smallx>
  <smally>192</smally>
  <largex>251</largex>
  <largey>186</largey>
  </coordinates>
  </country>
  <country>
  <name>Mekong</name>
  <borders>
  <border>Chi</border>
  <border>Pa Sak</border>
  <border>Mun</border>
  </borders>
  <coordinates>
  <smallx>342</smallx>
  <smally>133</smally>
  <largex>336</largex>
  <largey>124</largey>
  </coordinates>
  </country>
  <country>
  <name>Mun</name>
  <borders>
  <border>Mekong</border>
  <border>Pa Sak</border>
  <border>Khorat</border>
  </borders>
  <coordinates>
  <smallx>355</smallx>
  <smally>186</smally>
  <largex>354</largex>
  <largey>177</largey>
  </coordinates>
  </country>
  <country>
  <name>Khorat</name>
  <borders>
  <border>Mun</border>
  <border>Pa Sak</border>
  <border>Yam</border>
  <border>Buri</border>
  <border>Gulf State</border>
  </borders>
  <coordinates>
  <smallx>290</smallx>
  <smally>192</smally>
  <largex>300</largex>
  <largey>185</largey>
  </coordinates>
  </country>
  <country>
  <name>Buri</name>
  <borders>
  <border>Pa Sak</border>
  <border>Khorat</border>
  <border>Gulf State</border>
  <border>N Kra</border>
  <border>Chad</border>
  <border>Dawna</border>
  <border>Yam</border>
  </borders>
  <coordinates>
  <smallx>238</smallx>
  <smally>291</smally>
  <largex>237</largex>
  <largey>283</largey>
  </coordinates>
  </country>
  <country>
  <name>Gulf State</name>
  <borders>
  <border>Khorat</border>
  <border>Buri</border>
  <border>Kota</border>
  </borders>
  <coordinates>
  <smallx>305</smallx>
  <smally>261</smally>
  <largex>303</largex>
  <largey>254</largey>
  </coordinates>
  </country>
  <country>
  <name>N Kra</name>
  <borders>
  <border>Chad</border>
  <border>Buri</border>
  <border>S Kra</border>
  </borders>
  <coordinates>
  <smallx>215</smallx>
  <smally>319</smally>
  <largex>225</largex>
  <largey>326</largey>
  </coordinates>
  </country>
  <country>
  <name>Chad</name>
  <borders>
  <border>Dawna</border>
  <border>Buri</border>
  <border>N Kra</border>
  </borders>
  <coordinates>
  <smallx>138</smallx>
  <smally>294</smally>
  <largex></largex>
  <largey></largey>
  </coordinates>
  </country>
  <country>
  <name>S Kra</name>
  <borders>
  <border>Thani</border>
  <border>N Kra</border>
  </borders>
  <coordinates>
  <smallx>280</smallx>
  <smally>473</smally>
  <largex></largex>
  <largey></largey
  </coordinates>
  </country>
  <country>
  <name>Thani</name>
  <borders>
  <border>S Kra</border>
  <border>Kota</border> 
  </borders>
  <coordinates>
  <smallx>355</smallx>
  <smally>505</smally>
  <largex>328</largex>
  <largey>500</largey>
  </coordinates>
  </country>
  <country>
  <name>Kota</name>
  <borders>
  <border>Thani</border> 
  <border>Yala</border>
  </borders>
  <coordinates>
  <smallx>390</smallx>
  <smally>545</smally>
  <largex>445</largex>
  <largey>542</largey>
  </coordinates>
  </country>
  <country>
  <name>Yala</name>
  <borders>
  <border>Kota</border>
  <border>Gulf State</border>
  </borders>
  <coordinates>
  <smallx>469</smallx>
  <smally>539</smally>
  <largex></largex>
  <largey></largey>
  </coordinates>
  </country>
  </map>


For those curious, the map can be viewed here.

I need help thinking of more territories. There are only 22.

PostPosted: Fri Mar 02, 2007 8:51 pm
by cairnswk
nukora...I had the same problem....reomve all the dashes in front of map, continent, component etc. then it should work.....mine did! Hope this helps.

Thanks but

PostPosted: Fri Mar 02, 2007 9:32 pm
by Nukora
Thanks. That got rid of that error, but now one of my </border> tags is apparently missing a >

" </borders> - expected '>' "

Any idea which one, I can't seem to locate it....



EDIT: Thanks DiM. I seem to be blind today (eyes hurt).

PostPosted: Fri Mar 02, 2007 9:34 pm
by DiM
this is the one: it lacks a >

<border>Ping</border

PostPosted: Sat Mar 03, 2007 10:10 pm
by Nukora
Grah these are harder than they were the first time. I updated with more territories and it got me 8 new erros. I took care of six of them. The new erros are:

</country> - Opening and ending tag mismatch: map line 2 and country

<country> - Extra content at the end of the document


Line 2 is "<map>" then the continents codes start (as seen in the first post). Obviously it's not a <country> or </country> tag on line 2. I can't figure out what it means.

I can't see an extra "<country>" on the end of the code either.

PostPosted: Sat Mar 03, 2007 11:08 pm
by Samus
Check out this map for the names of more provinces:

http://upload.wikimedia.org/wikipedia/e ... ailand.jpg

PostPosted: Sun Mar 04, 2007 3:44 am
by Wisse
you first need to make the map to a decent graphic level because if you add or scrap countrys you have to change all the xml

PostPosted: Sun Mar 04, 2007 3:55 am
by cairnswk
</country>
<name>Yam</name>

Need <country>
before <name>

Hope this helps!

Re: Thailand Map

PostPosted: Fri Feb 27, 2009 9:30 am
by secondheaven
im bringing this back if any wants to help