<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>[mapguide-users] RE: MgTileService - GetTile - Cannot establishconnection</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY dir=ltr>
<DIV dir=ltr align=left><SPAN class=843032409-31012007><FONT face=Arial 
color=#0000ff size=2>As I mentioned before, I would strongly request print-res 
DPI facility for print layouts.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=843032409-31012007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=843032409-31012007><FONT face=Arial 
color=#0000ff size=2>Cheers</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=843032409-31012007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=843032409-31012007><FONT face=Arial 
color=#0000ff size=2>Tom</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<BR><BR><B><DIV align=left><P><FONT face=Verdana size=2>Tom Chadwin</FONT></B><BR><FONT size=2><B><FONT face=Verdana>ICT & Web Development Officer</FONT></B><BR></FONT><FONT face=Verdana size=2>Telephone: 01434 611530<BR></FONT><FONT face=Verdana size=2><FONT size=2>Mobile: </FONT></FONT><FONT face=Verdana><BR><FONT size=2>Fax: 01434 611677<BR>Email: tom.chadwin@nnpa.org.uk</FONT></FONT></P><P><FONT face=Verdana size=2>Web : <A href="http://www.northumberland-national-park.org.uk/">www.northumberland-national-park.org.uk</A></FONT></P>____________________________________________________________________<P></P></FONT><B><FONT color=#808080><P><FONT face=Verdana size=2>IMPORTANT NOTICE</FONT></B></FONT><FONT face=Verdana><FONT size=2> <FONT color=#808080>- </FONT><FONT color=#808080>Disclaimer - January 31, 2007</FONT><FONT color=#808080> </FONT></FONT></FONT><FONT color=#808080><FONT face=Verdana size=2>- REF Email-200701-00069512.</FONT></P><P><FONT face=Verdana size=2>If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to the statement below or contact the sender.</FONT></FONT><FONT face=Verdana size=2> </FONT></P><FONT color=#808080><P><FONT face=Verdana size=2>This communication is from Northumberland National Park Authority (NNPA).The Authority&#8217;s head office and principal place of business is Eastburn, South Park, Hexham, Northumberland, NE46 1BS, United Kingdom. This communication and any attachments contain information which is confidential and may also be privileged. It is for the exclusive use </FONT></FONT><FONT face=Verdana><FONT size=2><FONT color=#c0c0c0>MapGuide Users Mail List</FONT><FONT color=#808080>.If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to "it.security@nnpa.org.uk"</FONT> <FONT color=#808080>then delete the email and destroy any copies of it.</FONT> </FONT></FONT></P><FONT color=#808080><P><FONT face=Verdana size=2>E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept liability for any such matters or their consequences. Anyone who communicates with us by e-mail is taken to accept the risks in doing so.</FONT></FONT><FONT face=Verdana size=2> </FONT></P><FONT color=#808080><P><FONT face=Verdana size=2>Any views or opinions presented are solely those of the author and do not necessarily represent those of NNPA.Contractors or potential contractors are reminded that a formal Order or Contract is needed for NNPA to be bound by any offer or acceptance of terms for the supply of goods or services</FONT></FONT><FONT face=Verdana><FONT size=2> <FONT color=#808080>Although this email and any attachments are believed to be free of any virus or other defects which might affect any computer or IT system into which they are received, no responsibility is accepted by the NNPA for any loss or damage arising in any way from the receipt or use thereof. Computer systems of this Authority may be monitored and communications carried out on them recorded, to secure the effective operation of the system and for other lawful purposes.</P></FONT></FONT></FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV><HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mapguide-users-bounces@lists.osgeo.org 
[mailto:mapguide-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Andy 
Morsell<BR><B>Sent:</B> 31 January 2007 00:21<BR><B>To:</B> 'MapGuide Users Mail 
List'<BR><B>Subject:</B> RE: [mapguide-users] RE: MgTileService - GetTile - 
Cannotestablishconnection [No Viruses detected]<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=372551600-31012007><FONT face=Arial 
color=#0000ff size=2>Originally I was thinking for viewing higher resolution 
tiles or generated images but now realize that wouldn't help since screen 
resolution is 96 dpi.&nbsp; But, yes, for printing purposes it could be 
handy.&nbsp; I guess if the option is available in the mapagent operation, it 
seems like it would make sense that it would also be available directly in the 
API if possible.&nbsp; </FONT></SPAN></DIV>
<DIV>&nbsp;</DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-us><FONT face=Tahoma size=1>Andy </FONT></SPAN><BR></P>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mapguide-users-bounces@lists.osgeo.org 
[mailto:mapguide-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Traian 
Stanev<BR><B>Sent:</B> Tuesday, January 30, 2007 4:00 PM<BR><B>To:</B> MapGuide 
Users Mail List<BR><B>Subject:</B> RE: [mapguide-users] RE: MgTileService - 
GetTile - Cannotestablishconnection<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>Are you hoping to generate rasters at higher dpi for printing 
purposes?&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Traian</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT size=2>-----Original Message----- <BR><B>From:</B> 
  mapguide-users-bounces@lists.osgeo.org&nbsp;on behalf of&nbsp;Andy Morsell 
  <BR><B>Sent:</B> Tue 1/30/2007 6:29 PM <BR><B>To:</B> 
  mapguide-users@lists.osgeo.org <BR><B>Cc:</B> <BR><B>Subject:</B> 
  [mapguide-users] RE: MgTileService - GetTile - Cannot 
  establishconnection<BR><BR></FONT></DIV><BR>
  <P><FONT size=2>I just ran into a case where exposing a Set DPI method to 
  the<BR>MgRenderingService::RenderMap function would be very handy and would 
  allow<BR>more control by the programmer.&nbsp; I hope it is a considered 
  addition to the<BR>API soon.<BR><BR>Thank 
  you.<BR><BR>Andy<BR><BR><BR>JasonBirch wrote:<BR>&gt;<BR>&gt; I'm surprised 
  that there are methods which are available to the MapAgent<BR>&gt; but not the 
  APIs.&nbsp;<BR>&gt;&nbsp;<BR>&gt; Was this a case of deliberate exclusion, or 
  not enough time to get<BR>&gt; everything in?&nbsp; I can see there being some 
  arguments for not exposing<BR>&gt; these methods (only need them for 
  rendering, etc) but there are<BR>&gt; apparently going to be some use cases 
  for accessing them :)<BR>&gt;&nbsp;<BR>&gt; Jason<BR>&gt;<BR>&gt; 
  ________________________________<BR>&gt;<BR>&gt; From: Walt 
  Welton-Lair<BR>&gt; Sent: Thursday, December 07, 2006 15:47<BR>&gt; To: 
  users@mapguide.osgeo.org<BR>&gt; Subject: RE: [mapguide-users] MgTileService - 
  GetTile - Cannot establish<BR>&gt; connection<BR>&gt;<BR>&gt;<BR>&gt; Sorry 
  about that - I forgot that the Set methods weren't 
  exposed.<BR>&gt;&nbsp;<BR>&gt; As Alain mentioned, currently the only way to 
  update the view is via<BR>&gt; certain HTTP requests.&nbsp; GETMAP / 
  GETMAPUPDATE / GETPLOT are used in the<BR>&gt; context of DWFViewer, while 
  GETMAPIMAGE and GETVISIBLEMAPEXTENT are used<BR>&gt; in the context of AJAX 
  Viewer.&nbsp; You can include additional parameters<BR>&gt; with any of these 
  requests to update view related 
  information:<BR>&gt;&nbsp;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
  SETDISPLAYDPI=&lt;dpi&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
  SETDISPLAYWIDTH=&lt;width&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
  SETDISPLAYHEIGHT=&lt;height&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
  SETVIEWSCALE=&lt;scale&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
  SETVIEWCENTERX=&lt;centerX&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
  SETVIEWCENTERY=&lt;centerY&gt;<BR>&gt;<BR>&gt; While you can use a viewer to 
  make these requests for you, you can make<BR>&gt; the HTTP requests yourself 
  and get the same effect.&nbsp; You could write an<BR>&gt; application 
  that:<BR>&gt;&nbsp;<BR>&gt; 1) creates a session<BR>&gt; 2) creates an MgMap 
  for your MapDefinition that is part of your session<BR>&gt; 3) makes one of 
  the HTTP requests above<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; - GETVISIBLEMAPEXTENT 
  is the simplest<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; - include the SETVIEWSCALE 
  parameter with the request to set the<BR>&gt; scale you want<BR>&gt; 4) makes 
  calls to GetTile<BR>&gt; 5) repeats steps 3 and 4 for each desired 
  scale<BR>&gt;&nbsp;<BR>&gt; For steps 1 and 2 there's should be sample code 
  under the MgMap<BR>&gt; documentation.<BR>&gt;&nbsp;<BR>&gt; For step 3 
  something like .NET's HttpRequest class probably works.&nbsp; Just<BR>&gt; 
  make the request to your MG server, e.g.<BR>&gt; <A 
  href="http:://localhost/mapguide/mapagent?OPERATION=GETVISIBLEMAPEXTENT&amp;VERSIO">http:://localhost/mapguide/mapagent?OPERATION=GETVISIBLEMAPEXTENT&amp;VERSIO</A><BR>&gt; 
  N=1.0.0&amp;SESSION=&lt;sessionId&gt;&amp;MAPNAME=&lt;mapName&gt;&amp;SETVIEWSCALE=&lt;scale&gt;<BR>&gt;&nbsp;<BR>&gt; 
  Here, mapName is the name from the MgMap.<BR>&gt;&nbsp;<BR>&gt; 
  Walt<BR>&gt;<BR>&gt;<BR><BR>--<BR>View this message in context: <A 
  href="http://www.nabble.com/MgTileService---GetTile---Cannot-establish-connection-tf2763585s16610.html#a8720298">http://www.nabble.com/MgTileService---GetTile---Cannot-establish-connection-tf2763585s16610.html#a8720298</A><BR>Sent 
  from the MapGuide Users mailing list archive at 
  Nabble.com.<BR><BR>_______________________________________________<BR>mapguide-users 
  mailing list<BR>mapguide-users@lists.osgeo.org<BR><A 
  href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR></FONT></P></BLOCKQUOTE></BODY></HTML>