[Mapserver-users] terraserver problem

Ed McNierney ed at topozone.com
Tue Jul 15 11:18:56 EDT 2003


This is a multi-part message in MIME format.

------_=_NextPart_001_01C34AE4.68D0FA58
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Aaron -
=20
You cannot request imagery from Microsoft TerraServer at less than one =
meter per pixel - the request fails and returns an exception.  You can =
prevent the error by appropriately setting the layer's MINSCALE value so =
it's not requested at too high a resolution, but you can't get an image =
returned that's, say, 0.5 meters per pixel.
=20
For example, here's an invalid 0.5 meter request - click on it to see =
the result:
http://www.terraserver-usa.com/ogcmap.ashx?version=3D1.1.1 =
<http://www.terraserver-usa.com/ogcmap.ashx?version=3D1.1.1&request=3DGet=
Map&Layers=3Ddoq&Styles=3D&SRS=3DEPSG:26910&BBOX=3D547200,4182400,547600,=
4182650&width=3D800&height=3D500&format=3Dimage/jpeg&Exceptions=3Dse_xml>=
 =
&request=3DGetMap&Layers=3Ddoq&Styles=3D&SRS=3DEPSG:26910&BBOX=3D547200,4=
182400,547600,4182650&width=3D800&height=3D500&format=3Dimage/jpeg&Except=
ions=3Dse_xml
=20
You could fudge around this by having MapServer return a physically =
smaller image that's "zoomed" by the client browser.  This would work OK =
if you were only requesting the image layer, but it's not a good idea if =
you have vector layers on top of it, since they'll be drawn and "zoomed" =
in as well, so they won't look good.
=20
    - Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242=20

-----Original Message-----
From: Aaron D. Hunt [mailto:hunt at zedxinc.com]
Sent: Tuesday, July 15, 2003 10:55 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] terraserver problem


I am using the terraserver to zoom in to draw on a map. With wms, if the =
user zooms in where the image would be less the 1m (ie the size of the =
image at 1m is smaller then the image requested) mapserver gives the =
following error=20
=20
Tue Jul 15 10:36:44 2003 - msDrawMap(): Image handling error. Failed to =
draw layer named 'ortho-18'.
Tue Jul 15 10:37:54 2003 - drawEPP(): Image handling error. =
/home/httpd/html/dy_images/105827987219400.img.tmp is not an EPPL file.
Tue Jul 15 10:37:54 2003 - msDrawRaster(): Image handling error. =
Unrecognized or unsupported image format

Is there anyway to let the userer zoom in to less then 1m?
=20
=20
Aaron D. Hunt
Technical Manager
ZedX Inc.
Voice: 814-357-8490
Fax:    814-357-8499


------_=_NextPart_001_01C34AE4.68D0FA58
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D761021415-15072003><FONT face=3DArial color=3D#0000ff =
size=3D2>Aaron=20
-</FONT></SPAN></DIV>
<DIV><SPAN class=3D761021415-15072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D761021415-15072003><FONT face=3DArial color=3D#0000ff =
size=3D2>You=20
cannot request imagery from Microsoft TerraServer at less than one meter =
per=20
pixel - the request fails and returns an exception.&nbsp; You can =
prevent the=20
error by appropriately setting the layer's MINSCALE value so it's not =
requested=20
at too high a resolution, but you can't get an image returned that's, =
say, 0.5=20
meters per pixel.</FONT></SPAN></DIV>
<DIV><SPAN class=3D761021415-15072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D761021415-15072003><FONT face=3DArial color=3D#0000ff =
size=3D2>For=20
example, here's an invalid 0.5 meter request - click on it to see the=20
result:</FONT></SPAN></DIV>
<DIV><SPAN class=3D761021415-15072003><FONT face=3DArial color=3D#0000ff =
size=3D2><A=20
href=3D"http://www.terraserver-usa.com/ogcmap.ashx?version=3D1.1.1&amp;re=
quest=3DGetMap&amp;Layers=3Ddoq&amp;Styles=3D&amp;SRS=3DEPSG:26910&amp;BB=
OX=3D547200,4182400,547600,4182650&amp;width=3D800&amp;height=3D500&amp;f=
ormat=3Dimage/jpeg&amp;Exceptions=3Dse_xml">http://www.terraserver-usa.co=
m/ogcmap.ashx?version=3D1.1.1&amp;request=3DGetMap&amp;Layers=3Ddoq&amp;S=
tyles=3D&amp;SRS=3DEPSG:26910&amp;BBOX=3D547200,4182400,547600,4182650&am=
p;width=3D800&amp;height=3D500&amp;format=3Dimage/jpeg&amp;Exceptions=3Ds=
e_xml</A></FONT></SPAN></DIV>
<DIV><SPAN class=3D761021415-15072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D761021415-15072003><FONT face=3DArial color=3D#0000ff =
size=3D2>You=20
could fudge around this by having MapServer return a physically smaller =
image=20
that's "zoomed" by the client browser.&nbsp; This would work OK if you =
were only=20
requesting the image layer, but it's not a good idea if you have vector =
layers=20
on top of it, since they'll be drawn and "zoomed" in as well, so they =
won't look=20
good.</FONT></SPAN></DIV>
<DIV><SPAN class=3D761021415-15072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D761021415-15072003>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial=20
color=3D#0000ff size=3D2>- Ed</FONT></SPAN></DIV>
<DIV><SPAN class=3D761021415-15072003>
<P><FONT size=3D2>Ed McNierney<BR>President and Chief =
Mapmaker<BR>TopoZone.com /=20
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North =
Chelmsford,=20
MA&nbsp; 01863<BR>ed at topozone.com<BR>(978) 251-4242 =
</FONT></P></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> Aaron D. Hunt=20
  [mailto:hunt at zedxinc.com]<BR><B>Sent:</B> Tuesday, July 15, 2003 10:55 =

  AM<BR><B>To:</B> mapserver-users at lists.gis.umn.edu<BR><B>Subject:</B>=20
  [Mapserver-users] terraserver problem<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>I am using the terraserver to zoom in =
to draw on=20
  a map. With wms, if the user zooms in where the image would be less =
the 1m (ie=20
  the size of the image at 1m is smaller then the image requested) =
mapserver=20
  gives the following error </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Tue Jul 15 10:36:44 2003 - =
msDrawMap(): Image=20
  handling error. Failed to draw layer named 'ortho-18'.<BR>Tue Jul 15 =
10:37:54=20
  2003 - drawEPP(): Image handling error.=20
  /home/httpd/html/dy_images/105827987219400.img.tmp is not an EPPL =
file.<BR>Tue=20
  Jul 15 10:37:54 2003 - msDrawRaster(): Image handling error. =
Unrecognized or=20
  unsupported image format<BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Is there anyway to let the userer =
zoom in to less=20
  then 1m?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Aaron D. Hunt<BR>Technical =
Manager<BR>ZedX=20
  Inc.<BR>Voice: 814-357-8490<BR>Fax:&nbsp;&nbsp;&nbsp;=20
814-357-8499</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C34AE4.68D0FA58--



More information about the mapserver-users mailing list