[mapguide-users] Maestro – RenderRuntimeMap questions

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Mon Jun 8 02:58:09 EDT 2009


1)
Not sure what the max values are, you will have to look
through the MapGuide source to find the limits
(fairly large in my experience).

2)
If you use MaestroAPI, just set the "format" parameter to "JPG",
there is a similar parameter in the http interface and native API.

3)
DPI = Dots Pr Inch
So DPI defines how many pixels that your output device can display pr. inch,
and is used to calculate the display extent of geometry on your screen 
or printer.

Scale is the display scale, eg. 1:500 or 1:1000.

Say you have an object that is 1000 inches wide, and display it
in 1:500, it would be two inches on screen.

If you set DPI = 96, you get 96 pixels pr. inch, resulting
in the object being 192 pixels wide in the image.

Regards, Kenneth Skovhede, GEOGRAF A/S



djonio skrev:
> Just some basic questions:
>
> What is the max value for width and height?
> Is there a way to change the output from a png to jpg?
> I am unable to discern the relationship between dpi and scale -  would
> someone be willing to explain the relationship between them? 
> r, 
> dennis
>
>   


More information about the mapguide-users mailing list