[Mapserver-users] Switching tiff images as user zooms in or out

Ed McNierney ed at topozone.com
Fri Oct 24 10:31:23 EDT 2003


This is a multi-part message in MIME format.

------_=_NextPart_001_01C39A3B.7FC818E3
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Giri -
=20
Just put each set of same-resolution images in a single layer, and use
MINSCALE/MAXSCALE to select which set is visible at any one time.  You
can group those layers into one group so you only have to refer to that
group and everything turns on and off automatically.
=20
You can see this on TopoZone.  Go to www.topozone.com
<http://www.topozone.com/> , click on the "Featured Map" at the bottom
left of the home page, and you'll be viewing a 1:24,000/1:25,000 USGS
quad at a 1:50,000 view scale.  Use the View Scale menu to the left of
the map and you can view that TIFF image at any view scale from 1:10,000
to 1:1,000,000.  It's not particularly legible at 1:1,000,000 <g> but
you get the idea.  There are three different versions of each quad
online, and the appropriate one is chosen automatically using the method
I described above.
=20
            - Ed
=20
=20
Ed McNierney
President and Chief Mapmaker
TopoZone.com
ed at topozone.com
=20
-----Original Message-----
From: Palanisamy, Giri [mailto:palanisamyg at ornl.gov]=20
Sent: Friday, October 24, 2003 10:09 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Switching tiff images as user zooms in or out
=20
Hi Group,
=20
I would like to use different resolution images (tiffs) in my mapserver
application. For example, for global scale I need to use a 50km
resolution image and as the user zoom in I need to use one of the 8 km
resolution images specific to that area, and if the user further zooms
in, I need to use one of 1 km resolution images. Do I need to use a
TileIndexing/SHPTREE for this? Is there a way to do this?
=20
Thanks a lot
=20
Giri
=20

------_=_NextPart_001_01C39A3B.7FC818E3
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml at 01C39A19.F3A2D2A0">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PersonName"/>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Courier New";
	mso-fareast-font-family:"Times New Roman";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
span.emailstyle17
	{mso-style-name:emailstyle17;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:windowtext;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:navy;}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:.5in'>

<div class=3DSection1>

<p class=3DMsoNormal><span class=3DSpellE><font size=3D2 color=3Dnavy =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Giri</span></font=
></span><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy'> &#8211;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><st1:PersonName><font size=3D2 color=3Dnavy =
face=3DArial><span
 =
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>J</span></font></=
st1:PersonName><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy'>ust put each set of same-resolution images in a single =
layer, and
use MINSCALE/MAXSCALE to select which set is visible at any one time. =
<span
style=3D'mso-spacerun:yes'>&nbsp;</span>You can group those layers into =
one group so
you only have to refer to that group and everything turns on and off =
automatically.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>You can see this on <span =
class=3DSpellE>TopoZone</span>.<span
style=3D'mso-spacerun:yes'>&nbsp; </span>Go to <a =
href=3D"http://www.topozone.com/">www.topozone.com</a>,
click on the &#8220;Featured Map&#8221; at the bottom left of the home =
page,
and you&#8217;ll be viewing a 1:24,000/1:25,000 USGS quad at a 1:50,000 =
view
scale.<span style=3D'mso-spacerun:yes'>&nbsp; </span>Use the View Scale =
menu to the
left of the map and you can view that TIFF image at any view scale from
1:10,000 to 1:1,000,000.<span style=3D'mso-spacerun:yes'>&nbsp; =
</span>It&#8217;s not
particularly legible at 1:1,000,000 &lt;g&gt; but you get the idea.<span
style=3D'mso-spacerun:yes'>&nbsp; </span>There are three different =
versions of each
quad online, and the appropriate one is chosen automatically using the =
method I
described above.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><span =
style=3D'mso-tab-count:1'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; </span>-
Ed<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=3DMsoPlainText><font size=3D2 color=3Dnavy face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:navy;mso-no-proof:yes'><o:p>&nbsp;</o:p><=
/span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dnavy face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:navy;mso-no-proof:yes'>Ed =
McNierney<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dnavy face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:navy;mso-no-proof:yes'>President and =
Chief
Mapmaker<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dnavy face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:navy;mso-no-proof:yes'>TopoZone.com<o:p><=
/o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dnavy face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:navy;mso-no-proof:yes'>ed at topozone.com<o:=
p></o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Palanisamy, Giri
[mailto:palanisamyg at ornl.gov] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, October 24, =
2003
10:09 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b>
mapserver-users at lists.gis.umn.edu<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> =
[Mapserver-users]
Switching tiff images as user zooms in or out</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>Hi
Group,</span></font><o:p></o:p></p>

<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;</span></font><o:p></o:p></p>

<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>I
would like to use different resolution images (tiffs) in my mapserver
application. For example, for global scale I need to use a 50km =
resolution
image and as the user zoom in I need to use one of the 8 km resolution =
images
specific to that area, and if the user further zooms in, I need to use =
one of 1
km resolution images. Do I need to use a TileIndexing/SHPTREE for this? =
Is
there a way to do this?</span></font><o:p></o:p></p>

<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>&nbsp;</span></font><o:p></o:p></p>

<p class=3DMsoNormal =
style=3D'margin-left:.5in;text-autospace:none'><font size=3D2
face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>Thanks
a lot</span></font><o:p></o:p></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font><o:p></o=
:p></p>

<p class=3DMsoAutoSig style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>Giri<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

</body>

</html>
=00
------_=_NextPart_001_01C39A3B.7FC818E3--



More information about the mapserver-users mailing list