[mapguide-users] QuiqePlot Mapguide-react is Not working - mg.v.3.1.1.4601

pierre.cardinal at sympatico.ca pierre.cardinal at sympatico.ca
Mon Feb 13 09:43:24 PST 2023


Hi,

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.

 

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

 

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.

 

https://trac.osgeo.org/mapguide/ticket/2845

 

Regards,

 

Pierre

 

De : mapguide-users <mapguide-users-bounces at lists.osgeo.org> De la part de Nimrod Cnaan
Envoyé : 13 février 2023 11:27
À : MapGuide Users Mail List <mapguide-users at lists.osgeo.org>
Objet : Re: [mapguide-users] QuiqePlot Mapguide-react is Not working - mg.v.3.1.1.4601

 

Thank u for your helpful instructions. 

Here is what I came up with (for AIMS 2017 >> PlotAsPDF.php):

1. "Map ID" In the layout defenition don't support Hebrew (for QuickPlot.print.cmd). 

2. "OPERATION=GETMAPLEGENDIMAGE&VERSION=1.3.0&..." - Changed to "VERSION=1.2.0". Then,

 $filelocation & $showLegend - Images are returned fine

3.   QuickPlot.print.cmd Failed & Line  200 

    // Draw Map

    $pdf->Image($filelocation, ($margin[2]), $margin[0], $printSize->width, $printSize->height, "PNG", "", "", false, $printDpi, "", false, false, 1, false, false, false);

4. If we commnet "//$pdf->Image..." - We get an Empty PDF file

 

 

 

‫בתאריך יום ו׳, 3 בפבר׳ 2023 ב-7:09 מאת ‪Jackie Ng‏ <‪ <mailto:jumpinjackie at gmail.com> jumpinjackie at gmail.com‏>:

I'll add to that previous thread with the following extra information:

*	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.
*	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)
*	If you enable the extra debugging in PlotAsPDF.php and GeneratePicture.php, then you most definitely want to set display_errors = On in php.ini otherwise these errors might be suppressed.

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.

 

- Jackie

 

You wrote:

 

We have tried to pull every trick
< <https://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg24045.html> https://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg24045.html>
 (trik2 < <https://trac.osgeo.org/mapguide/ticket/2778#no1> https://trac.osgeo.org/mapguide/ticket/2778#no1>) in the book with
no success.
Regards
Nimrod C.




 

-- 

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.

_______________________________________________
mapguide-users mailing list
 <mailto:mapguide-users at lists.osgeo.org> mapguide-users at lists.osgeo.org
 <https://lists.osgeo.org/mailman/listinfo/mapguide-users> https://lists.osgeo.org/mailman/listinfo/mapguide-users




 

-- 

בכבוד רב,

 

נמרוד כנען   |   גיאומינד שירותי GIS  –  פיתוח,  ייעוץ  ושירותי ענן

ישיר: 048101268 | נייד: 0525355483 |  <mailto:nimrod at geomind.co.il> nimrod at geomind.co.il

  <http://geomind.co.il/GeomindLogo.png> 

נא בקרו באתר החדש שלנו  <http://geomind.co.il/> http://geomind.co.il

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20230213/f9421fa3/attachment.htm>


More information about the mapguide-users mailing list