MGOS 2.4 RC1: Quick Plot Scaling Issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

MGOS 2.4 RC1: Quick Plot Scaling Issue

JanvW
Hello,
I've done some tests with the Quick Plot tool: When I print a map with a fixed scaling (for example 1:500), the printed map is always 10% to 20% too big. I measure a line in the viewer and compare it with the printed line. I made sure to fix the printer's scaling to 100% when printing, so that it doesn't adjust to the paper size, but still: The printed map is always too big.
Maybe I am missing here something? Any thoughts?

Regards,
Jan
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

Znarf1965
I confirm that I have exactly the same problem. Unfotunatelly I have no workaround. I think it's a bug.
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

zspitzer
can you reproduce it with the sheboygan sample?

On Fri, Jul 13, 2012 at 7:50 PM, Franz1965 <[hidden email]> wrote:

> I confirm that I have exactly the same problem. Unfotunatelly I have no
> workaround. I think it's a bug.
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/MGOS-2-4-RC1-Quick-Plot-Scaling-Issue-tp4988171p4988174.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-users



--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

JanvW
Yes, I used the Sheboygan example for the tests.

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Zac Spitzer
Sent: Friday, July 13, 2012 11:51 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] MGOS 2.4 RC1: Quick Plot Scaling Issue

can you reproduce it with the sheboygan sample?

On Fri, Jul 13, 2012 at 7:50 PM, Franz1965 <[hidden email]> wrote:

> I confirm that I have exactly the same problem. Unfotunatelly I have
> no workaround. I think it's a bug.
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/MGOS-2-4-RC1-Quick-Plot-Scaling-Is
> sue-tp4988171p4988174.html Sent from the MapGuide Users mailing list
> archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-users



--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

BenjaminZ
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

Jackie Ng
In reply to this post by JanvW
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

Znarf1965
Jackie Ng wrote
I'd look at plotting to DWF or backporting the Fusion PDF plotting in RFC124 if you care about print accuracy.

Hi Jackie,

Are they options for AjaxViewer?..
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

BenjaminZ
In reply to this post by Jackie Ng
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

Jackie Ng
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

BenjaminZ
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

Hans Milling
Before you can generate the image, you need to set the map.DisplayWith and DisplayHeight first. They seem to be 0/empty.
I had the same error when I tried to select features from a map, and setting those solved the issue.

Best regards Hans Milling...
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

Jackie Ng
In reply to this post by BenjaminZ
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

BenjaminZ
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

BenjaminZ
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

BenjaminZ
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: MGOS 2.4 RC1: Quick Plot Scaling Issue

JanvW
In reply to this post by Znarf1965
For Ajax Viewer I've had some success by changing the number "25.4" twice in line 49 of quickplotgeneratepicture.php:
$printSize   = new Size($paperSize->width / 25.4 * $printDpi, $paperSize->height / 25.4 * $printDpi);
For example, with my configuration I get correct scaled prints on A4 portrait by replacing the "25.4" with "33.4". For A4 landscape it's "31.0". The printer's scaling has to be set to 100%.
I know this isn't a very elegant solution and I don't recommend it for cases in which print accuracy is really important.

Regards,
Jan

Franz1965 wrote
Jackie Ng wrote
I'd look at plotting to DWF or backporting the Fusion PDF plotting in RFC124 if you care about print accuracy.

Hi Jackie,

Are they options for AjaxViewer?..