# Low/Med/High resolution World maps

**URL:** <https://community.thinkgeo.com/t/low-med-high-resolution-world-maps/297>\
**Category:** WinForms\
**Created:** [March 21, 2009, 6:06pm UTC](https://community.thinkgeo.com/t/low-med-high-resolution-world-maps/297 "2009-03-21T18:06:52Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![John4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@John4](https://community.thinkgeo.com/u/John4)\
**Post date:** [March 21, 2009, 6:06pm UTC](https://community.thinkgeo.com/t/low-med-high-resolution-world-maps/297/1 "2009-03-21T18:06:52Z")

</div>

Hi&nbsp;Guys,

I&nbsp;must&nbsp;be&nbsp;missing&nbsp;something&nbsp;here.

I&nbsp;have&nbsp;3&nbsp;world&nbsp;maps,&nbsp;low&nbsp;res,&nbsp;medium&nbsp;res&nbsp;and&nbsp;hig&nbsp;res.&nbsp;&nbsp;I&nbsp;want&nbsp;the&nbsp;low&nbsp;res&nbsp;map&nbsp;visible&nbsp;at&nbsp;say&nbsp;soomLevel01-05,&nbsp;the&nbsp;med&nbsp;res&nbsp;map&nbsp;from&nbsp;Zoomlevel&nbsp;06-12&nbsp;and&nbsp;the&nbsp;high&nbsp;res&nbsp;one&nbsp;visible&nbsp;from&nbsp;ZoomLevel13-20.

In&nbsp;our&nbsp;previous&nbsp;system&nbsp;we&nbsp;controlled&nbsp;this&nbsp;by&nbsp;min&nbsp;and&nbsp;max&nbsp;scales&nbsp;for&nbsp;each&nbsp;layer,&nbsp;how&nbsp;does&nbsp;this&nbsp;work&nbsp;with&nbsp;ThinkGeo?

Regards

John

&nbsp;

---

<div class="post-metadata">

**Author:** ![John4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@John4](https://community.thinkgeo.com/u/John4)\
**Post date:** [March 23, 2009, 1:20am UTC](https://community.thinkgeo.com/t/low-med-high-resolution-world-maps/297/2 "2009-03-23T01:20:58Z")

</div>

Hi&nbsp;Guys,

Problem&nbsp;solved.&nbsp;&nbsp;Needed&nbsp;to&nbsp;adjust&nbsp;the&nbsp;scales&nbsp;of&nbsp;the&nbsp;zoomlevelset&nbsp;and&nbsp;was&nbsp;not&nbsp;prepared&nbsp;for&nbsp;how&nbsp;slow&nbsp;the&nbsp;drawing&nbsp;of&nbsp;the&nbsp;high&nbsp;resolution&nbsp;worldmap&nbsp;is.&nbsp;&nbsp;Can&nbsp;run&nbsp;with&nbsp;the&nbsp;low&nbsp;and&nbsp;medium&nbsp;level&nbsp;maps&nbsp;but&nbsp;the&nbsp;high&nbsp;level&nbsp;one&nbsp;is&nbsp;just&nbsp;too&nbsp;slow&nbsp;to&nbsp;use.&nbsp;&nbsp;Investigations&nbsp;continue&nbsp;(and&nbsp;yes&nbsp;they&nbsp;are&nbsp;all&nbsp;indexed)&nbsp;

John

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [March 23, 2009, 5:54am UTC](https://community.thinkgeo.com/t/low-med-high-resolution-world-maps/297/3 "2009-03-23T05:54:44Z")

</div>

John,&nbsp;  
&nbsp;&nbsp;  
&nbsp;If&nbsp;you&nbsp;are&nbsp;using&nbsp;RasterLayer,&nbsp;you&nbsp;just&nbsp;need&nbsp;to&nbsp;set&nbsp;the&nbsp;min(LowerThreshold)&nbsp;and&nbsp;max(UpperThreshold)&nbsp;scales&nbsp;for&nbsp;each&nbsp;layer&nbsp;like&nbsp;what&nbsp;you&nbsp;did&nbsp;in&nbsp;your&nbsp;previous&nbsp;system.&nbsp;For&nbsp;vector&nbsp;layer,&nbsp;just&nbsp;wonder&nbsp;what&nbsp;data&nbsp;source&nbsp;you&nbsp;are&nbsp;using?&nbsp;Shape&nbsp;file,&nbsp;MSSql2008&nbsp;or&nbsp;some&nbsp;other&nbsp;types?&nbsp;&nbsp;And&nbsp;how&nbsp;many&nbsp;records&nbsp;do&nbsp;you&nbsp;have&nbsp;in&nbsp;your&nbsp;data&nbsp;source?&nbsp;With&nbsp;index&nbsp;enabled,&nbsp;all&nbsp;their&nbsp;speed&nbsp;should&nbsp;be&nbsp;very&nbsp;fast&nbsp;anyway.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Here&nbsp;talk&nbsp;more&nbsp;about&nbsp;the&nbsp;ZoomLevel&nbsp;system.&nbsp;A&nbsp;zoomlevel&nbsp;is&nbsp;a&nbsp;range,&nbsp;not&nbsp;a&nbsp;point.&nbsp;For&nbsp;example,&nbsp;let’s&nbsp;say&nbsp;ZoomLevel10.Scale&nbsp;equals&nbsp;to&nbsp;100,&nbsp;ZoomLevel11.Scale&nbsp;equals&nbsp;to&nbsp;200&nbsp;and&nbsp;ZoomLevel12.Scale&nbsp;equals&nbsp;to&nbsp;400,&nbsp;then&nbsp;if&nbsp;the&nbsp;current&nbsp;scale&nbsp;is&nbsp;within&nbsp;150&nbsp;(average&nbsp;of&nbsp;ZoomLevel10.Scale&nbsp;to&nbsp;ZoomLevel11.Scale)&nbsp;to&nbsp;300&nbsp;(average&nbsp;of&nbsp;ZoomLevel11.Scale&nbsp;to&nbsp;ZoomLevel12.Scale),&nbsp;it&nbsp;belongs&nbsp;to&nbsp;ZoomLevel11.&nbsp;&nbsp;Also&nbsp;when&nbsp;displaying&nbsp;the&nbsp;map&nbsp;in&nbsp;Desktop,&nbsp;we&nbsp;snap&nbsp;to&nbsp;the&nbsp;nearest&nbsp;zoomlevel&nbsp;which&nbsp;means&nbsp;if&nbsp;the&nbsp;current&nbsp;scale&nbsp;is&nbsp;between&nbsp;150&nbsp;to&nbsp;300,&nbsp;we&nbsp;snap&nbsp;it&nbsp;to&nbsp;200&nbsp;which&nbsp;is&nbsp;the&nbsp;“standard”&nbsp;scale&nbsp;of&nbsp;ZoomLevel11.&nbsp;In&nbsp;this&nbsp;way&nbsp;there&nbsp;are&nbsp;only&nbsp;20&nbsp;possible&nbsp;scales&nbsp;which&nbsp;will&nbsp;be&nbsp;much&nbsp;easier&nbsp;for&nbsp;caching.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Let&nbsp;me&nbsp;know&nbsp;if&nbsp;you&nbsp;have&nbsp;any&nbsp;issues.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Ben

---

<div class="post-metadata">

**Author:** ![John4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@John4](https://community.thinkgeo.com/u/John4)\
**Post date:** [March 23, 2009, 6:49am UTC](https://community.thinkgeo.com/t/low-med-high-resolution-world-maps/297/4 "2009-03-23T06:49:26Z")

</div>

Hi&nbsp;Ben,  
Thanks&nbsp;for&nbsp;the&nbsp;update&nbsp;on&nbsp;the&nbsp;ZoomLevel&nbsp;system,&nbsp;that&nbsp;kind&nbsp;of&nbsp;reinforces&nbsp;what&nbsp;I&nbsp;discovered&nbsp;yesterday.  
The&nbsp;data&nbsp;we&nbsp;are&nbsp;working&nbsp;with&nbsp;is&nbsp;vector&nbsp;stuff&nbsp;from&nbsp;SHP&nbsp;files.  
We&nbsp;have&nbsp;3&nbsp;SHP&nbsp;files:-  
ABCWorldSmall&nbsp;-&nbsp;2&nbsp;Mbytes&nbsp;Index&nbsp;=&nbsp;114k&nbsp;1,764&nbsp;records  
ABCWord&nbsp;-&nbsp;22&nbsp;Mbytes&nbsp;Index&nbsp;=&nbsp;1.5&nbsp;Mbytes&nbsp;26,939&nbsp;records  
ABCWorldLarge&nbsp;-&nbsp;92&nbsp;Mbytes&nbsp;Index&nbsp;=&nbsp;11&nbsp;Mbytes&nbsp;180,685&nbsp;records  
These&nbsp;are&nbsp;somewhat&nbsp;specialised&nbsp;files&nbsp;as&nbsp;they&nbsp;are&nbsp;just&nbsp;the&nbsp;world&nbsp;coastlines&nbsp;in&nbsp;differing&nbsp;levels&nbsp;of&nbsp;detail.&nbsp;They&nbsp;do&nbsp;not&nbsp;contain&nbsp;country&nbsp;information&nbsp;just&nbsp;the&nbsp;coastlines&nbsp;basically&nbsp;split&nbsp;into&nbsp;4&nbsp;areas&nbsp;by&nbsp;the&nbsp;Panama&nbsp;Canal&nbsp;(North&nbsp;and&nbsp;South&nbsp;America)&nbsp;and&nbsp;the&nbsp;Suez&nbsp;Canal&nbsp;(Africa&nbsp;and&nbsp;NW&nbsp;Europe/Russia/Asia).  
Done&nbsp;this&nbsp;way&nbsp;so&nbsp;we&nbsp;can&nbsp;have&nbsp;a&nbsp;clean&nbsp;world&nbsp;map,&nbsp;no&nbsp;country&nbsp;borders&nbsp;but&nbsp;a&nbsp;sharp&nbsp;single&nbsp;pixel&nbsp;line&nbsp;representing&nbsp;the&nbsp;coastline,&nbsp;with&nbsp;the&nbsp;land&nbsp;area&nbsp;in&nbsp;a&nbsp;slightly&nbsp;lighter&nbsp;colour,&nbsp;seel&nbsp;below

 ![](https://community.thinkgeo.com/uploads/default/original/2X/3/387cf3d6e761e8e3ab7619f2aecbd48c0fda9ee7.png)

In&nbsp;the&nbsp;large&nbsp;map,&nbsp;apart&nbsp;from&nbsp;loads&nbsp;of&nbsp;islands,&nbsp;this&nbsp;results&nbsp;in&nbsp;5&nbsp;large&nbsp;single&nbsp;shape&nbsp;records&nbsp;representing&nbsp;the&nbsp;five&nbsp;large&nbsp;continental&nbsp;masses&nbsp;at&nbsp;a&nbsp;reasonably&nbsp;high&nbsp;resolution&nbsp;(WVS&nbsp;at&nbsp;full&nbsp;scale)  
We&nbsp;have&nbsp;set&nbsp;the&nbsp;zoomlevels&nbsp;to&nbsp;1-5&nbsp;for&nbsp;the&nbsp;small&nbsp;6-12&nbsp;for&nbsp;the&nbsp;medium&nbsp;map&nbsp;and&nbsp;13-20&nbsp;for&nbsp;the&nbsp;big&nbsp;one.  
In&nbsp;our&nbsp;previous&nbsp;system&nbsp;this&nbsp;displayed&nbsp;very&nbsp;quickly&nbsp;at&nbsp;whatever&nbsp;scale,&nbsp;in&nbsp;ThinkGeo&nbsp;things&nbsp;start&nbsp;grinding&nbsp;to&nbsp;a&nbsp;halt&nbsp;as&nbsp;you&nbsp;go&nbsp;from&nbsp;zoomlevel&nbsp;15&nbsp;onwards&nbsp;with&nbsp;zoomlevel&nbsp;20&nbsp;taking&nbsp;about&nbsp;10&nbsp;seconds&nbsp;to&nbsp;redraw.&nbsp;Incidentally&nbsp;indexing&nbsp;the&nbsp;big&nbsp;layer&nbsp;takes&nbsp;about&nbsp;5&nbsp;minutes&nbsp;on&nbsp;my&nbsp;machine.  
I&nbsp;guess&nbsp;it&nbsp;must&nbsp;be&nbsp;struggling&nbsp;with&nbsp;the&nbsp;shear&nbsp;size&nbsp;of&nbsp;that&nbsp;one&nbsp;shape&nbsp;that&nbsp;represents&nbsp;the&nbsp;Asian&nbsp;continent.  
Happy&nbsp;to&nbsp;send&nbsp;the&nbsp;files&nbsp;in&nbsp;if&nbsp;this&nbsp;helps…  
Regards  
John

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [March 23, 2009, 8:53am UTC](https://community.thinkgeo.com/t/low-med-high-resolution-world-maps/297/5 "2009-03-23T08:53:04Z")

</div>

John,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;think&nbsp;that&nbsp;will&nbsp;be&nbsp;great&nbsp;if&nbsp;you&nbsp;can&nbsp;send&nbsp;the&nbsp;data&nbsp;to&nbsp;us.&nbsp;Please&nbsp;contact&nbsp;[support@thinkgeo.com](mailto:support@thinkgeo.com)&nbsp;and&nbsp;ask&nbsp;for&nbsp;a&nbsp;FTP&nbsp;uploading&nbsp;account,&nbsp;or&nbsp;it&nbsp;will&nbsp;be&nbsp;more&nbsp;convenient&nbsp;if&nbsp;you&nbsp;can&nbsp;send&nbsp;a&nbsp;link&nbsp;to&nbsp;me&nbsp;so&nbsp;I&nbsp;can&nbsp;download.&nbsp;Send&nbsp;it&nbsp;to&nbsp;[support@thinkgeo.com](mailto:support@thinkgeo.com)&nbsp;and&nbsp;ask&nbsp;to&nbsp;forward&nbsp;to&nbsp;Ben&nbsp;if&nbsp;you&nbsp;want.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Ben

---

<div class="post-metadata">

**Author:** ![John4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@John4](https://community.thinkgeo.com/u/John4)\
**Post date:** [March 23, 2009, 9:10am UTC](https://community.thinkgeo.com/t/low-med-high-resolution-world-maps/297/6 "2009-03-23T09:10:27Z")

</div>

Hi&nbsp;Ben,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Email&nbsp;on&nbsp;it’s&nbsp;way&nbsp;to&nbsp;support.&nbsp;  
&nbsp;&nbsp;  
&nbsp;TTFN&nbsp;  
&nbsp;&nbsp;  
&nbsp;John

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [March 24, 2009, 3:40am UTC](https://community.thinkgeo.com/t/low-med-high-resolution-world-maps/297/7 "2009-03-24T03:40:49Z")

</div>

John,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I’ve&nbsp;got&nbsp;your&nbsp;data&nbsp;and&nbsp;as&nbsp;you&nbsp;required,&nbsp;I&nbsp;will&nbsp;keep&nbsp;the&nbsp;conversation&nbsp;private&nbsp;by&nbsp;sending&nbsp;email&nbsp;to&nbsp;you.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Ben

---

<div class="post-metadata">

**Author:** ![John4](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/e0b2c6/32.png) [@John4](https://community.thinkgeo.com/u/John4)\
**Post date:** [March 24, 2009, 3:43am UTC](https://community.thinkgeo.com/t/low-med-high-resolution-world-maps/297/8 "2009-03-24T03:43:26Z")

</div>

Hi&nbsp;Ben,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;when&nbsp;we&nbsp;get&nbsp;something&nbsp;that&nbsp;will&nbsp;help&nbsp;the&nbsp;other&nbsp;guys,&nbsp;we&nbsp;need&nbsp;to&nbsp;make&nbsp;sure&nbsp;it&nbsp;hits&nbsp;this&nbsp;thread.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards&nbsp;  
&nbsp;&nbsp;  
&nbsp;John

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [March 24, 2009, 10:56pm UTC](https://community.thinkgeo.com/t/low-med-high-resolution-world-maps/297/9 "2009-03-24T22:56:14Z")

</div>

Yes,&nbsp;John.&nbsp;We&nbsp;should&nbsp;do&nbsp;that&nbsp;when&nbsp;we&nbsp;have&nbsp;something.&nbsp;:)
