BIRT & MapServer
Hello,
I'm trying to insert an image generated by Mapserver inside my PDF report. It works but I have 2 annoying problems :
- It seems that the each image is requested by BIRT multiple time. For each Map shown on the report I have 4 logs with the same URL in Mapserver.
- The resolution of the Map is not good at all, I've added in the URL some parameters to ensure that the requested image have a good size (500x600) but this parameters doesn't seems to impact the quality of the image in the report (it impacts the time used by mapserver ...). It seems that the image is downscaled when the PDF is generated.
Regards,
Tchule.
I'm trying to insert an image generated by Mapserver inside my PDF report. It works but I have 2 annoying problems :
- It seems that the each image is requested by BIRT multiple time. For each Map shown on the report I have 4 logs with the same URL in Mapserver.
- The resolution of the Map is not good at all, I've added in the URL some parameters to ensure that the requested image have a good size (500x600) but this parameters doesn't seems to impact the quality of the image in the report (it impacts the time used by mapserver ...). It seems that the image is downscaled when the PDF is generated.
Regards,
Tchule.
0
Comments
-
After a few tests, the second problem is corrected, I don't remember exactly how because I've tested many things but it's related to the parameter "Size" of the Image object.
In the advanced properties you can change the scaling mode "Clip", "Scale to item" or "Size to image".
I've set a width and a height to the report image item, I've increased the size of the original image (1200x800) and I've set the mode to "Scale to item".
Now the problem is that it's very slow, If I could avoid calling Mapserver 4 times ...
Tchule.0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management