<!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> </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> </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’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> </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. But, yes, for printing purposes it could be
handy. 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. </FONT></SPAN></DIV>
<DIV> </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> </DIV>
<DIV>Are you hoping to generate rasters at higher dpi for printing
purposes? </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Traian</DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT size=2>-----Original Message----- <BR><B>From:</B>
mapguide-users-bounces@lists.osgeo.org on behalf of 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. 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>><BR>> I'm surprised
that there are methods which are available to the MapAgent<BR>> but not the
APIs. <BR>> <BR>> Was this a case of deliberate exclusion, or
not enough time to get<BR>> everything in? I can see there being some
arguments for not exposing<BR>> these methods (only need them for
rendering, etc) but there are<BR>> apparently going to be some use cases
for accessing them :)<BR>> <BR>> Jason<BR>><BR>>
________________________________<BR>><BR>> From: Walt
Welton-Lair<BR>> Sent: Thursday, December 07, 2006 15:47<BR>> To:
users@mapguide.osgeo.org<BR>> Subject: RE: [mapguide-users] MgTileService -
GetTile - Cannot establish<BR>> connection<BR>><BR>><BR>> Sorry
about that - I forgot that the Set methods weren't
exposed.<BR>> <BR>> As Alain mentioned, currently the only way to
update the view is via<BR>> certain HTTP requests. GETMAP /
GETMAPUPDATE / GETPLOT are used in the<BR>> context of DWFViewer, while
GETMAPIMAGE and GETVISIBLEMAPEXTENT are used<BR>> in the context of AJAX
Viewer. You can include additional parameters<BR>> with any of these
requests to update view related
information:<BR>> <BR>>
SETDISPLAYDPI=<dpi><BR>>
SETDISPLAYWIDTH=<width><BR>>
SETDISPLAYHEIGHT=<height><BR>>
SETVIEWSCALE=<scale><BR>>
SETVIEWCENTERX=<centerX><BR>>
SETVIEWCENTERY=<centerY><BR>><BR>> While you can use a viewer to
make these requests for you, you can make<BR>> the HTTP requests yourself
and get the same effect. You could write an<BR>> application
that:<BR>> <BR>> 1) creates a session<BR>> 2) creates an MgMap
for your MapDefinition that is part of your session<BR>> 3) makes one of
the HTTP requests above<BR>> - GETVISIBLEMAPEXTENT
is the simplest<BR>> - include the SETVIEWSCALE
parameter with the request to set the<BR>> scale you want<BR>> 4) makes
calls to GetTile<BR>> 5) repeats steps 3 and 4 for each desired
scale<BR>> <BR>> For steps 1 and 2 there's should be sample code
under the MgMap<BR>> documentation.<BR>> <BR>> For step 3
something like .NET's HttpRequest class probably works. Just<BR>>
make the request to your MG server, e.g.<BR>> <A
href="http:://localhost/mapguide/mapagent?OPERATION=GETVISIBLEMAPEXTENT&VERSIO">http:://localhost/mapguide/mapagent?OPERATION=GETVISIBLEMAPEXTENT&VERSIO</A><BR>>
N=1.0.0&SESSION=<sessionId>&MAPNAME=<mapName>&SETVIEWSCALE=<scale><BR>> <BR>>
Here, mapName is the name from the MgMap.<BR>> <BR>>
Walt<BR>><BR>><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>