Thanks Kris, I find the example in geoserver but , how i can change the BBox dinamicaly in my code , for example when I zoom the region I need print this maps How I can make this ?
regards salas ----- Original Message ----- From: Kris Geusebroek To: fsalas Sent: Thursday, September 24, 2009 1:35 AM Subject: RE: [OpenLayers-Users] How Print openlayer Maps into pdf documents Hi Salas, If you have a installation of geoserver you can find an example in the map preview demo section (just like the OpenLayers examples For example something like this (you need to change the bbox, srs and layer according to your data) http://localhost:8080/geoserver/wms?bbox=-14231.825,274059.86,305770.825,651904.14&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=testLayer&width=516&height=550&srs=EPSG:28992 Hope this helps. Remember that this will only allow you to generate pdf of layers you server with geoserver and not for example a google baselayer Cheers Kris From: fsalas [mailto:fsa...@geocuba.cu] Sent: Thursday, September 24, 2009 1:07 AM To: Kris Geusebroek Subject: Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents Kris, Thanks, but I need an example of like make wms request with format application/pdf can you help me? regards Salas ----- Original Message ----- From: "Kris Geusebroek" <kgeusebr...@xebia.com> To: "Alexandre Dube" <ad...@mapgears.com>; "fsalas" <fsa...@geocuba.cu> Cc: <users@openlayers.org> Sent: Wednesday, September 02, 2009 3:34 PM Subject: RE: [OpenLayers-Users] How Print openlayer Maps into pdf documents Hi, If you are using geoserver you can create a wms request with format application/pdf et volia! Cheers Kris -----Original Message----- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Alexandre Dube Sent: Wednesday, September 02, 2009 5:29 PM To: fsalas Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents Hi, Did you read http://trac.openlayers.org/wiki/Printing ? About eh ezpdf class extension, are you talking about this : http://www.ros.co.nz/pdf/ ? If so, that's the lib I used with phpMapScript to accomplish some printing, but it supports WMS only and I use Ext to make my form. So take this example as a proof of concept only. See at : http://dev4.mapgears.com/wmsprint/ MapFish has a much more better printing tool and it supports Vector features printing. Best of luck, Alexandre fsalas wrote: > Hi all, > > I'm trying to print the current image maps into pdf documents > using the *EZPDF Class Extension,* but don´t work. > > some body know how i cant implement this. > > Thanks , > > salas > > ___________________________________ > Dirección de Comunicaciones > Grupo Empresarial GEOCUBA > Este mensaje esta libre de virus. > Revisado por Kaspersky Antivirus > ---------------------------------------------------------------------- > Definition count: 2365875 Definition date: 8/11/2009 SecurityPlus > version: 3.0.5 > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > -- Alexandre Dubé Mapgears www.mapgears.com _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users ___________________________________ Dirección de Comunicaciones Grupo Empresarial GEOCUBA Este mensaje esta libre de virus. Revisado por Kaspersky Antivirus ---------------------------------------------------------------------- Definition count: 2618974 Definition date: 9/23/2009 SecurityPlus version: 3.0.5 ___________________________________ Dirección de Comunicaciones Grupo Empresarial GEOCUBA Este mensaje esta libre de virus. Revisado por Kaspersky Antivirus ---------------------------------------------------------------------- Definition count: 2645353 Definition date: 9/24/2009 SecurityPlus version: 3.0.5
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users