<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
font-size:10.0pt;
font-family:"Courier New";}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:Consolas;
mso-fareast-language:FR-CA;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1444887899;
mso-list-template-ids:324716384;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1
{mso-list-id:1764108606;
mso-list-template-ids:-1297972734;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR-CA link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'>Are you using a unbreaking blank for your numbers ? In English(for feet), the scale 1 in 2000 is 1/2,000 but for meter it is 1/2 000 with a unbreaking blank between the 2 and 000.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA>Under Windows, the digit grouping symbol in many localisations (and international system) is the Unbrekable blank space (code UTF-8 is decimal 160, hex 0xA0). Example : 200 000 000<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'>In Windows, if your regional setting “digit grouping symbol” is set to a unbreaking blank you will have some problems with the plot functions in mapguide.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'><a href="https://trac.osgeo.org/mapguide/ticket/2845">https://trac.osgeo.org/mapguide/ticket/2845</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Pierre<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=FR>De :</span></b><span lang=FR> mapguide-users <mapguide-users-bounces@lists.osgeo.org> <b>De la part de</b> Nimrod Cnaan<br><b>Envoyé :</b> 13 février 2023 11:27<br><b>À :</b> MapGuide Users Mail List <mapguide-users@lists.osgeo.org><br><b>Objet :</b> Re: [mapguide-users] QuiqePlot Mapguide-react is Not working - mg.v.3.1.1.4601<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span lang=EN-CA>Thank u for your helpful instructions. <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA>Here is what I came up with (for AIMS 2017 >> PlotAsPDF.php):<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA>1. "Map ID" In the layout defenition don't support Hebrew (for QuickPlot.print.cmd). <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA>2. "OPERATION=GETMAPLEGENDIMAGE&VERSION=<b>1.3.0</b>&..." - <b>Changed to</b> "VERSION=<b>1.2.0</b>". Then,<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA> $filelocation & $showLegend - Images are returned fine<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA>3. QuickPlot.print.cmd Failed & Line 200 <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA> // Draw Map<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA> $pdf->Image($filelocation, ($margin[2]), $margin[0], $printSize->width, $printSize->height, "PNG", "", "", false, $printDpi, "", false, false, 1, false, false, false);<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA>4. If we commnet "//$pdf->Image..." - We get an Empty PDF file<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA><o:p> </o:p></span></p></div><p class=MsoNormal dir=RTL style='text-align:right;direction:rtl;unicode-bidi:embed'><span lang=EN-CA dir=LTR><o:p> </o:p></span></p><div><div><p class=MsoNormal dir=RTL style='text-align:right;direction:rtl;unicode-bidi:embed'><span dir=RTL></span><span dir=RTL></span><span lang=AR-SA><span dir=RTL></span><span dir=RTL></span></span><span lang=HE>בתאריך יום ו׳, 3 בפבר׳ 2023 ב-7:09 מאת </span><span lang=EN-CA dir=LTR>Jackie Ng</span><span dir=RTL></span><span dir=RTL></span><span lang=HE><span dir=RTL></span><span dir=RTL></span></span><span lang=AR-SA> <<a href="mailto:jumpinjackie@gmail.com" target="_blank"><span lang=EN-CA dir=LTR>jumpinjackie@gmail.com</span></a><span dir=RTL></span><span dir=RTL></span><span dir=RTL></span><span dir=RTL></span>>:</span><span lang=EN-CA dir=LTR><o:p></o:p></span></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><div><div><p class=MsoNormal><span lang=EN-CA>I'll add to that previous thread with the following extra information:<o:p></o:p></span></p></div><div><ul type=disc><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo3'><span lang=EN-CA>QuickPlot in mapguide-react-layout is not doing anything special. It calls the same QuickPlot PHP backend that the regular Fusion widget does. So you should detach this problem as being a mapguide-react-layout specific problem. I am basically asserting here that your QuickPlot fusion widget probably has the same issue.</span><o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo3'><span lang=EN-CA>If you open PlotAsPDF.php and GeneratePicture.php in a text editor, there are comments that are to the effect of "uncomment to to see ...." uncommenting these regions will light up more debugging in these 2 scripts and is something you want to do if you want to dig further into why GeneratePicture.php is not returning an image. You only need to uncomment sections in PlotAsPDF.php to get the correct GeneratePicture.php URL (which is the important part you want to investigate)</span><span lang=AR-SA dir=RTL><o:p></o:p></span></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l1 level1 lfo3'><span lang=EN-CA>If you enable the extra debugging in PlotAsPDF.php and GeneratePicture.php, then you most definitely want to set <b>display_errors = On</b> in php.ini otherwise these errors might be suppressed.</span><span lang=AR-SA dir=RTL><o:p></o:p></span></li></ul></div><div><p class=MsoNormal><span lang=EN-CA>In summary, you need to get GeneratePicture.php to spit out the raw PHP error(s) instead of (no image). Following these bullet points should get you there.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA>- Jackie<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-CA><o:p> </o:p></span></p></div><p class=MsoNormal><span lang=EN-CA>You wrote:<o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-CA><o:p> </o:p></span></p></div><blockquote style='margin-left:30.0pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><div><pre style='white-space:pre-wrap'><span lang=EN-CA style='color:black'>We have tried to pull every trick<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span lang=EN-CA style='color:black'><</span><a href="https://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg24045.html" target="_blank"><span lang=EN-CA>https://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg24045.html</span></a><span lang=EN-CA style='color:black'>><o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span lang=EN-CA style='color:black'> (trik2 <</span><a href="https://trac.osgeo.org/mapguide/ticket/2778#no1" target="_blank"><span lang=EN-CA>https://trac.osgeo.org/mapguide/ticket/2778#no1</span></a><span lang=EN-CA style='color:black'>>) in the book with<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span lang=EN-CA style='color:black'>no success.<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span lang=EN-CA style='color:black'>Regards<o:p></o:p></span></pre></div><div><pre style='white-space:pre-wrap'><span lang=EN-CA style='color:black'>Nimrod C.<o:p></o:p></span></pre></div></blockquote><p class=MsoNormal><span lang=EN-CA><br clear=all><o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-CA><o:p> </o:p></span></p></div><p class=MsoNormal><span lang=EN-CA>-- <o:p></o:p></span></p><div><div><p class=MsoNormal><i><span lang=EN-CA style='font-size:7.5pt'>Please Note: I no longer create new posts or post replies to any OSGeo mailing list through nabble. As a result, you most likely won't see this message appear on nabble's view of any OSGeo mailing list and may only see this message through mailing list archives or depending on your mailing list subscription settings, through daily message digests or automated notifications from the mailing lists.</span></i><span lang=EN-CA><o:p></o:p></span></p></div></div></div><p class=MsoNormal dir=RTL style='text-align:right;direction:rtl;unicode-bidi:embed'><span dir=RTL></span><span dir=RTL></span><span lang=AR-SA><span dir=RTL></span><span dir=RTL></span>_______________________________________________<br></span><span lang=EN-CA dir=LTR>mapguide-users mailing list</span><span lang=AR-SA><br><a href="mailto:mapguide-users@lists.osgeo.org" target="_blank"><span lang=EN-CA dir=LTR>mapguide-users@lists.osgeo.org</span></a><br><a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank"><span lang=EN-CA dir=LTR>https://lists.osgeo.org/mailman/listinfo/mapguide-users</span></a></span><span lang=EN-CA dir=LTR><o:p></o:p></span></p></blockquote></div></div><p class=MsoNormal><span lang=EN-CA><br clear=all><o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-CA><o:p> </o:p></span></p></div><p class=MsoNormal><span lang=EN-CA>-- </span><o:p></o:p></p><div><div><div><p class=MsoNormal dir=RTL style='text-align:right;direction:rtl;unicode-bidi:embed'><span lang=HE style='font-family:"Arial",sans-serif'>בכבוד רב,</span><span lang=AR-SA><o:p></o:p></span></p></div><div><p class=MsoNormal dir=RTL style='text-align:right;direction:rtl;unicode-bidi:embed'><span lang=AR-SA> </span><span lang=EN-CA dir=LTR><o:p></o:p></span></p></div><div><p class=MsoNormal dir=RTL style='text-align:right;direction:rtl;unicode-bidi:embed'><b><span lang=HE style='font-family:"Arial",sans-serif;color:#000099'>נמרוד כנען </span></b><b><span lang=HE style='font-family:"Arial",sans-serif'> | </span></b><span lang=HE style='font-family:"Arial",sans-serif;color:#7F7F7F'>גיאומינד שירותי </span><span lang=EN-CA dir=LTR style='color:#7F7F7F'>GIS</span><span dir=RTL></span><span dir=RTL></span><span lang=HE style='font-family:"Arial",sans-serif;color:#7F7F7F'><span dir=RTL></span><span dir=RTL></span> – פיתוח, ייעוץ ושירותי ענן</span><span lang=EN-CA dir=LTR><o:p></o:p></span></p></div><div><p class=MsoNormal dir=RTL style='text-align:right;direction:rtl;unicode-bidi:embed'><span lang=HE style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#7F7F7F'>ישיר: 048101268 | נייד: 0525355483</span><span lang=HE style='font-size:12.0pt;font-family:"Arial",sans-serif;color:#7F7F7F'> |</span><span lang=HE style='font-size:12.0pt;font-family:"Arial",sans-serif'> </span><span lang=AR-SA><a href="mailto:nimrod@geomind.co.il" target="_blank"><span lang=EN-US dir=LTR style='font-size:12.0pt;color:#595959'>nimrod@geomind.co.il</span></a></span><span dir=LTR><o:p></o:p></span></p></div><div><p class=MsoNormal dir=RTL style='text-align:right;direction:rtl;unicode-bidi:embed'><span dir=LTR style='color:#1F497D'><img border=0 width=177 height=52 style='width:1.8437in;height:.5416in' id="_x0000_i1025" src="http://geomind.co.il/GeomindLogo.png"></span><span lang=AR-SA><o:p></o:p></span></p></div><p dir=RTL style='margin:0cm;text-align:right;direction:rtl;unicode-bidi:embed'><span lang=HE style='font-size:10.0pt;font-family:"Arial",sans-serif;color:black'>נא בקרו באתר החדש שלנו</span><span lang=HE style='font-size:10.0pt;font-family:"Arial",sans-serif;color:red'> </span><span lang=AR-SA><a href="http://geomind.co.il/" target="_blank"><span lang=EN-US dir=LTR style='font-size:10.0pt'>http://geomind.co.il</span></a><o:p></o:p></span></p></div></div></div></body></html>