<div dir="rtl"><div style="" dir="ltr"><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">Not sure what u are suggesting so I put down the content of my </span>$filelocation variant.</div><div style="direction:ltr"><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">string(654) "https://<hostname>/mapserver2017/fusion/widgets/QuickPlot/GeneratePicture.php?session_id=ffddf1b6-abc5-11ed-8000-60a4b79d6d7d_en_MTkyLjE2OC4yNDUuMzE0AFC0AFB0AFA&map_name=Test&print_size=184.60014444444,258.90008333333&print_dpi=96&box=186674.3644296439, 702147.138, 198339.82223734824, 702147.138, 198339.82223734824, 707670.0031808352, 186674.3644296439, 707670.0031808352, 186674.3644296439, 702147.138&normalized_box=186674.3644296439, 702147.138, 198339.82223734824, 702147.138, 198339.82223734824, 707670.0031808352, 186674.3644296439, 707670.0031808352, 186674.3644296439, 702147.138&scale_denominator=22963.45369446594&rotation=0&northarrow=0"</span><br></div><div style="direction:ltr"><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium"><br></span></div><div style="" dir="ltr"><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium">IT RETURN A PNG IMAGE</span></div></div><br><div class="gmail_quote"><div dir="rtl" class="gmail_attr">בתאריך יום ב׳, 13 בפבר׳ 2023 ב-19:48 מאת <<a href="mailto:pierre.cardinal@sympatico.ca">pierre.cardinal@sympatico.ca</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1374145061503067951"><div lang="FR-CA" style="overflow-wrap: break-word;"><div class="m_1374145061503067951WordSection1"><p class="MsoNormal"><span lang="EN-CA">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-CA">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.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></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<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-CA">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.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-CA"><a href="https://trac.osgeo.org/mapguide/ticket/2845" target="_blank">https://trac.osgeo.org/mapguide/ticket/2845</a><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-CA">Regards,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p><p class="MsoNormal"><span>Pierre<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm"><p class="MsoNormal"><b><span lang="FR">De :</span></b><span lang="FR"> mapguide-users <<a href="mailto:mapguide-users-bounces@lists.osgeo.org" target="_blank">mapguide-users-bounces@lists.osgeo.org</a>> <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 <<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a>><br><b>Objet :</b> Re: [mapguide-users] QuiqePlot Mapguide-react is Not working - mg.v.3.1.1.4601<u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal"><span lang="EN-CA">Thank u for your helpful instructions. <u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-CA">Here is what I came up with (for AIMS 2017 >> PlotAsPDF.php):<u></u><u></u></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). <u></u><u></u></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,<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-CA"> $filelocation & $showLegend - Images are returned fine<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-CA">3. QuickPlot.print.cmd Failed & Line 200 <u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-CA"> // Draw Map<u></u><u></u></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);<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-CA">4. If we commnet "//$pdf->Image..." - We get an Empty PDF file<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p></div><p class="MsoNormal" dir="RTL" style="text-align:right;direction:rtl;unicode-bidi:embed"><span lang="EN-CA" dir="LTR"><u></u> <u></u></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"><u></u><u></u></span></p></div><blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin:5pt 0cm 5pt 4.8pt"><div><div><p class="MsoNormal"><span lang="EN-CA">I'll add to that previous thread with the following extra information:<u></u><u></u></span></p></div><div><ul type="disc"><li class="MsoNormal"><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><u></u><u></u></li><li class="MsoNormal"><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"><u></u><u></u></span></li><li class="MsoNormal"><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"><u></u><u></u></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.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-CA">- Jackie<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p></div><p class="MsoNormal"><span lang="EN-CA">You wrote:<u></u><u></u></span></p><div><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p></div><blockquote style="margin:5pt 0cm 5pt 30pt"><div><pre style="white-space:pre-wrap"><span lang="EN-CA" style="color:black">We have tried to pull every trick<u></u><u></u></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">><u></u><u></u></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<u></u><u></u></span></pre></div><div><pre style="white-space:pre-wrap"><span lang="EN-CA" style="color:black">no success.<u></u><u></u></span></pre></div><div><pre style="white-space:pre-wrap"><span lang="EN-CA" style="color:black">Regards<u></u><u></u></span></pre></div><div><pre style="white-space:pre-wrap"><span lang="EN-CA" style="color:black">Nimrod C.<u></u><u></u></span></pre></div></blockquote><p class="MsoNormal"><span lang="EN-CA"><br clear="all"><u></u><u></u></span></p><div><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p></div><p class="MsoNormal"><span lang="EN-CA">-- <u></u><u></u></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"><u></u><u></u></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"><u></u><u></u></span></p></blockquote></div></div><p class="MsoNormal"><span lang="EN-CA"><br clear="all"><u></u><u></u></span></p><div><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p></div><p class="MsoNormal"><span lang="EN-CA">-- </span><u></u><u></u></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"><u></u><u></u></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"><u></u><u></u></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:rgb(0,0,153)">נמרוד כנען </span></b><b><span lang="HE" style="font-family:Arial,sans-serif"> | </span></b><span lang="HE" style="font-family:Arial,sans-serif;color:rgb(127,127,127)">גיאומינד שירותי </span><span lang="EN-CA" dir="LTR" style="color:rgb(127,127,127)">GIS</span><span dir="RTL"></span><span dir="RTL"></span><span lang="HE" style="font-family:Arial,sans-serif;color:rgb(127,127,127)"><span dir="RTL"></span><span dir="RTL"></span> – פיתוח, ייעוץ ושירותי ענן</span><span lang="EN-CA" dir="LTR"><u></u><u></u></span></p></div><div><p class="MsoNormal" dir="RTL" style="text-align:right;direction:rtl;unicode-bidi:embed"><span lang="HE" style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(127,127,127)">ישיר: 048101268 | נייד: 0525355483</span><span lang="HE" style="font-size:12pt;font-family:Arial,sans-serif;color:rgb(127,127,127)"> |</span><span lang="HE" style="font-size:12pt;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:12pt;color:rgb(89,89,89)">nimrod@geomind.co.il</span></a></span><span dir="LTR"><u></u><u></u></span></p></div><div><p class="MsoNormal" dir="RTL" style="text-align:right;direction:rtl;unicode-bidi:embed"><span dir="LTR" style="color:rgb(31,73,125)"><img border="0" width="177" height="52" style="width: 1.8437in; height: 0.5416in;" id="m_1374145061503067951_x0000_i1025" src="http://geomind.co.il/GeomindLogo.png"></span><span lang="AR-SA"><u></u><u></u></span></p></div><p dir="RTL" style="margin:0cm;text-align:right;direction:rtl;unicode-bidi:embed"><span lang="HE" style="font-size:10pt;font-family:Arial,sans-serif;color:black">נא בקרו באתר החדש שלנו</span><span lang="HE" style="font-size:10pt;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:10pt">http://geomind.co.il</span></a><u></u><u></u></span></p></div></div></div></div>_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="rtl" class="gmail_signature"><div dir="rtl"><p align="right"><font face="Times New Roman" size="3">
</font></p><div style="margin:0cm 0cm 0pt" dir="RTL"><span style="font-family:Arial,"sans-serif"" lang="HE">בכבוד רב,</span></div><div style="margin:0cm 0cm 0pt" dir="RTL"><span style="font-family:Arial,"sans-serif"" lang="HE"></span> </div><div style="margin:0cm 0cm 0pt" dir="RTL"><span style="color:rgb(0,0,153)"><b><span style="font-family:Arial,"sans-serif"" lang="HE">נמרוד כנען</span></b></span><b><span style="font-family:Arial,"sans-serif"" lang="HE"><span><span style="color:rgb(0,0,153)"> </span> </span>|<span> </span></span></b><span style="color:rgb(127,127,127);font-family:Arial,"sans-serif"" lang="HE">גיאומינד שירותי </span><font face="Calibri"><span style="color:rgb(127,127,127)" dir="LTR">GIS</span><span dir="RTL"></span><span dir="RTL"></span></font><span style="color:rgb(127,127,127);font-family:Arial,"sans-serif"" lang="HE"><span dir="RTL"></span><span dir="RTL"></span><span> </span>–<span> </span>פיתוח,<span>
</span>ייעוץ<span> </span>ושירותי ענן</span></div><div style="margin:0cm 0cm 0pt" dir="RTL"><font size="3"><span style="color:rgb(127,127,127);font-family:Arial,"sans-serif"" lang="HE"><font size="2">ישיר:
048101268 | נייד: 0525355483</font> |</span><span style="font-family:Arial,"sans-serif"" lang="HE"> <span style="color:rgb(89,89,89)"><a href="mailto:nimrod@geomind.co.il" target="_blank"><span style="color:rgb(89,89,89);font-family:Calibri,"sans-serif"" dir="LTR" lang="EN-US">nimrod@geomind.co.il</span></a></span></span></font></div><div style="margin:0cm 0cm 0pt" dir="RTL"><span dir="LTR" style="color:rgb(31,73,125)"><img src="http://geomind.co.il/GeomindLogo.png" height="52" width="177"><br></span></div><p style="margin:0cm 0cm 0pt" dir="RTL"><font size="2"><span style="color:black;font-family:Arial,"sans-serif"" lang="HE">נא בקרו באתר החדש שלנו</span><span style="color:red;font-family:Arial,"sans-serif"" lang="HE"> </span><span style="font-family:Arial,"sans-serif"" lang="HE"><a href="http://geomind.co.il/" target="_blank"><span style="font-family:Calibri,"sans-serif"" dir="LTR" lang="EN-US"><font color="#0000ff">http://geomind.co.il</font></span></a></span></font></p><p align="right"><font face="Times New Roman" size="3">
</font></p></div></div>