AW: AW: [Mapbender-users] Ausdruck von Luftbildern / Printing aerialimages

birger.heinss at vattenfall.de birger.heinss at vattenfall.de
Tue Jun 17 13:28:10 EDT 2008


Hello Kai,

When we had similar problems to receive pdf-files which should look like the map in the browser mapframe before, we played around with the PROCESSING parameter. The OUTPUT parameter didn't help us neither. In our case the solution was to use the processing parameter for the browser display an not to use it while print generation. So we switch the mapfiles like it is described according to the resolution switch.

Hopefully this could be a hint to you.  


Best regards 
Mit freundlichen Grüßen
 
Birger Heinß
Consultant
Net Information Solutions
 
Vattenfall Europe Information Services GmbH
Pascalstraße 10
10587 Berlin
 
Tel. +49 30 60005 2619
Fax +49 30 60005 2609
Mobil +49 160 898 4440
birger.heinss at vattenfall.de
www.vattenfall.de/is
 

-----Ursprüngliche Nachricht-----
Von: mapbender_users-bounces at lists.osgeo.org [mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag von Kai Behncke
Gesendet: Dienstag, 17. Juni 2008 16:06
An: Mapbender User List
Betreff: Re: AW: [Mapbender-users] Ausdruck von Luftbildern / Printing aerialimages

Hi Michael, thank you.

You mean you made it somehow to integrate 24bit pngs in the Mapbender-Print?
Great, but what exactly did you do?


Well, at "WMS Gui Enstellungen" in Mapbender I choose "image/png; mode=24 bit".
In the WebGIS it looks fine but in the print everything else than that.

How did you define the OUTPUTFORMAT?

I tried it with:

MAP
NAME           'luftbilder'
STATUS ON
IMAGETYPE     PNG
EXTENT        3595000 5904140  3621500  5919000
UNITS          METERS
SIZE        500 500
 IMAGECOLOR 255 255 255
SHAPEPATH   	'/home/deichbau/daten/luftbilder'

OUTPUTFORMAT
  NAME png
  DRIVER "GD/PNG"
  MIMETYPE "image/png"
  IMAGEMODE RGB
  EXTENSION "png"
END

....but the result is not what I want.

Best regards, Kai

-------- Original-Nachricht --------
> Datum: Tue, 17 Jun 2008 15:33:15 +0200
> Von: "Michael Schulz" <mschulz at webgis.de>
> An: "Mapbender User List" <mapbender_users at lists.osgeo.org>
> Betreff: Re: AW: [Mapbender-users] Ausdruck von Luftbildern / Printing aerial	images

> Hi Marc, Kai,
> 
> I think Marc is right: Kai, your pretty surely using jpeg for aerial 
> images, but the pdf print code sets the format to png 
> (classweldmaps2png.php, line 49). I never had problems using 24bit 
> png's, so perhaps Kai can set an outputformat png with rgb, in order 
> to avoid the usual mapserver "png; 24bit" format. Then you should get 
> good looking (huge) aerial images in the pdf.
> 
> Cheers, Michael
> 
> 
> Am 17. Juni 2008 15:00 schrieb Marc Jansen <jansen.marc at gmx.de>:
> > Hi Kai,
> >
> > could you post  the FORMAT-Parameter (png, gif, etc.)  which you
> request?
> >
> > AFAIK the PDF-lib used in Mabender is incapable of 24bit-PNGs 
> > (enabled
> e.g.
> > with IMAGEMODE RGB in UMN Mapserver). Furthermore, your problem
> description
> > makes me think of a JPEG which is transformed to a PNG when adding 
> > to
> the
> > PDF. But that is pure guessing.
> >
> > -- Marc
> >
> > Hi Kai,
> > könnntest Du den Parameter FORMAT (png, gif, etc.) mal an die Liste
> senden?
> >
> > Sowei ich weiß kann die vomn Mapbender verwendete PDF-lib nicht mit 
> > 24
> bot
> > PNGs unmgehen (im UMN Mapserver z.B. via IMAGEMODE RGB
> bereitgestelllt),.
> > Die Problembeschreibung könnte allerdings auch (hier rate ich) auf 
> > ein
> JPEG
> > hindeuten, welches vom PDF-Module bei einbettung in das PDF in ein 
> > PNG umgewandelt wird. (weldMapsToPng).
> >
> > -- Marc
> >
> >
> >
> >
> >
> > Kai Behncke schrieb:
> >>
> >> Hi Markus,
> >>
> >>
> >>>
> >>> ich habe mich selbst noch nicht ausgiebig damit beschäftigt. Es 
> >>> gibt
> aber
> >>> beim Mapbender das Druckmodul, bei dem man die Auflösung (dpi)
> einstellen
> >>> kann, mit der das Bild für den Druck angefordert wird (Für den 
> >>> Druck benötigt man in der Regel höhere Auflösungen als für den
> Bildschirm).
> >>> Man
> >>> muss dabei nur gewährleisten, dass der Mapserver die hohe 
> >>> Auflösung bringt, ansonsten gibt es eine weiße Seite.
> >>>
> >>
> >> ja, das klappt einwandfrei, mit Mapfiles wo Werte mit 4 multipliziert
> >> werden ist das hochaufgelöste Resultat  prima, bis auf die Luftbilder.
> Die
> >> Luftbilder sehen sowohl bei 72dpi als auch 288 dpi miserabel aus.
> >> Hmmm....scheinbar wird bei der Einbettung ins PDF da irgendwas mit den
> >> Bildern gemacht (nur was?).
> >>
> >> Viele Grüße, Kai
> >>
> >
> > _______________________________________________
> > Mapbender_users mailing list
> > Mapbender_users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapbender_users
> >
> 
> 
> 
> -- 
> -----------------------------------------------------------
> Michael Schulz
> mschulz at webgis.de
> 
> in medias res
> Gesellschaft für Informationstechnologie mbH
> 
> In den Weihermatten 66
> 79108 Freiburg
> 
> Tel +49 (0)761 556959-5
> Fax +49 (0)761 556959-6
> 
> http://www.webgis.de / http://www.zopecms.de
> -----------------------------------------------------------
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
Mapbender_users mailing list
Mapbender_users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapbender_users


#======================================================================#
Vattenfall Europe Information Services GmbH, Hamburg, Amtsgericht Hamburg - HRB 86516
Vorsitzender des Aufsichtsrates: Dr. Hans-Jürgen Meyer
Geschäftsführer: Dr. Stefan Keese, Ernst Wudtke



---------------------------------------------------------------------------------
Diese E-Mail wurde digital signiert.
Sie koennen anhand der Signatur nachvollziehen, dass die E-Mail wirklich von 
Vattenfall stammt und dass deren Inhalt auf dem Transportweg nicht manipuliert 
wurde. Weitere Informationen ueber die eingesetzten Signaturen finden Sie auf 
unserer Website unter http://www.vattenfall.de/pki.
---------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 11057 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapbender_users/attachments/20080617/03902a0e/smime.bin


More information about the Mapbender_users mailing list