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

Nimrod Cnaan nimcnaan at gmail.com
Mon Feb 13 09:55:00 PST 2023


Not sure what u are suggesting so I put down the content of my $filelocation
variant.
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"

IT RETURN A PNG IMAGE

‫בתאריך יום ב׳, 13 בפבר׳ 2023 ב-19:48 מאת <‪pierre.cardinal at sympatico.ca
‬‏>:‬

> 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‏ <‪
> 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>
>
>  (trik2 <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
> mapguide-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
> --
>
> בכבוד רב,
>
>
>
> *נמרוד כנען **  |   *גיאומינד שירותי GIS  –  פיתוח,  ייעוץ  ושירותי ענן
>
> ישיר: 048101268 | נייד: 0525355483 | nimrod at geomind.co.il
>
> נא בקרו באתר החדש שלנו http://geomind.co.il
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapguide-users
>


-- 

בכבוד רב,

*נמרוד כנען**   |   *גיאומינד שירותי GIS  –  פיתוח,  ייעוץ  ושירותי ענן
ישיר: 048101268 | נייד: 0525355483 | nimrod at geomind.co.il

נא בקרו באתר החדש שלנו http://geomind.co.il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20230213/fd025ad3/attachment.htm>


More information about the mapguide-users mailing list