Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents
Hi, Well the style could be because you don't provide a style in the url, this way geoserver uses the default style specified in the layer configuration. So you might want to add the layer style also And the resolution might be because of the width and height setting wich I think is smaller then the openlayers client width etc. Cheers Kris -Original Message- From: fsalas [mailto:fsa...@geocuba.cu] Sent: Tuesday, December 01, 2009 3:30 PM To: Kris Geusebroek Cc: users@openlayers.org Subject: [OpenLayers-Users] How Print openlayer Maps into pdf documents Kris, I continue with this problems, I make one function for a print to pdf but, the map is not similar ,for example the point icons that show in pdf is poi style Instead my style , and also the resolution in pdf document is very low. ¿ How resolve this problems? This is my function function Imprimir() { var ext = map.getExtent(); var minx = ext.left; var miny = ext.bottom; var maxx = ext.right; var maxy = ext.top; var Cadena = "http://urano:3128/geoserver/wms?bbox="+minx+","+miny+","+maxx+","+maxy+"&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=";; for(var i = 0; i < map.layers.length; i++) {if(i < map.layers.length - 1) Cadena += map.layers[i].params.LAYERS+","; else Cadena += map.layers[i].params.LAYERS; }Cadena += "&width=400&height=300&srs=EPSG:4267"; window.open(Cadena); } thanks , Regards , Salas - Original Message ----- From: "fsalas" To: "Kris Geusebroek" ; Sent: Thursday, September 03, 2009 12:22 PM Subject: Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents Thanks, Cheers Francisco Salas - Original Message - From: "Kris Geusebroek" To: "Alexandre Dube" ; "fsalas" Cc: 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: 2492726 Definition date: 9/3/2009 SecurityPlus version: 3.0.5 ___ 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: 2492726 Definition date: 9/3/2009 SecurityPlus version: 3.0.5 ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users
[OpenLayers-Users] How Print openlayer Maps into pdf documents
Kris, I continue with this problems, I make one function for a print to pdf but, the map is not similar ,for example the point icons that show in pdf is poi style Instead my style , and also the resolution in pdf document is very low. ¿ How resolve this problems? This is my function function Imprimir() { var ext = map.getExtent(); var minx = ext.left; var miny = ext.bottom; var maxx = ext.right; var maxy = ext.top; var Cadena = "http://urano:3128/geoserver/wms?bbox="+minx+","+miny+","+maxx+","+maxy+"&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=";; for(var i = 0; i < map.layers.length; i++) {if(i < map.layers.length - 1) Cadena += map.layers[i].params.LAYERS+","; else Cadena += map.layers[i].params.LAYERS; }Cadena += "&width=400&height=300&srs=EPSG:4267"; window.open(Cadena); } thanks , Regards , Salas - Original Message - From: "fsalas" To: "Kris Geusebroek" ; Sent: Thursday, September 03, 2009 12:22 PM Subject: Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents Thanks, Cheers Francisco Salas - Original Message - From: "Kris Geusebroek" To: "Alexandre Dube" ; "fsalas" Cc: 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: 2492726 Definition date: 9/3/2009 SecurityPlus version: 3.0.5 ___ 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: 2492726 Definition date: 9/3/2009 SecurityPlus version: 3.0.5 ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users
Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents
Hi salas, Sorry it's the function getExtent() you need. You can find all available functions in the openlayers doc or source! Cheers Kris From: fsalas [mailto:fsa...@geocuba.cu] Sent: Thursday, September 24, 2009 4:43 PM To: Kris Geusebroek Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents Hi, Kris, I test with function Mostrar() { alert(map.getBounds()); } but there are error "map.getBounds() is not function", How I can implement this regardas salas - Original Message - From: Kris Geusebroek <mailto:kgeusebr...@xebia.com> To: fsalas <mailto:fsa...@geocuba.cu> Cc: users@openlayers.org Sent: Thursday, September 24, 2009 7:05 AM Subject: RE: [OpenLayers-Users] How Print openlayer Maps into pdf documents Hi salas, You can ask your map for the current bbox. I believe its called getBounds() function. Cheers Kris From: fsalas [mailto:fsa...@geocuba.cu] Sent: Thursday, September 24, 2009 2:42 PM To: Kris Geusebroek Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents 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 <mailto:kgeusebr...@xebia.com> To: fsalas <mailto:fsa...@geocuba.cu> 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" mailto:kgeusebr...@xebia.com> > To: "Alexandre Dube" mailto:ad...@mapgears.com> >; "fsalas" mailto:fsa...@geocuba.cu> > Cc: mailto: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> [mailto:users-boun...@openlayers.org] On Behalf Of Alexandre Dube Sent: Wednesday, September 02, 2009 5:29 PM To: fsalas Cc: users@openlayers.org <mailto:users@openlayers.org> Subject: Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents Hi, Did you read http://trac.openlayers.org/wiki/Printing <http://trac.openlayers.org/wiki/Printing> ? About eh ezpdf class extension, are you talking about this : http://www.ros.co.nz/pdf/ <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
Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents
Hi, Kris, I test with function Mostrar() { alert(map.getBounds()); } but there are error "map.getBounds() is not function", How I can implement this regardas salas - Original Message - From: Kris Geusebroek To: fsalas Cc: users@openlayers.org Sent: Thursday, September 24, 2009 7:05 AM Subject: RE: [OpenLayers-Users] How Print openlayer Maps into pdf documents Hi salas, You can ask your map for the current bbox. I believe its called getBounds() function. Cheers Kris From: fsalas [mailto:fsa...@geocuba.cu] Sent: Thursday, September 24, 2009 2:42 PM To: Kris Geusebroek Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents 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" To: "Alexandre Dube" ; "fsalas" Cc: 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 c
Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents
Hi salas, You can ask your map for the current bbox. I believe its called getBounds() function. Cheers Kris From: fsalas [mailto:fsa...@geocuba.cu] Sent: Thursday, September 24, 2009 2:42 PM To: Kris Geusebroek Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents 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 <mailto:kgeusebr...@xebia.com> To: fsalas <mailto:fsa...@geocuba.cu> 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" mailto:kgeusebr...@xebia.com> > To: "Alexandre Dube" mailto:ad...@mapgears.com> >; "fsalas" mailto:fsa...@geocuba.cu> > Cc: mailto: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> [mailto:users-boun...@openlayers.org] On Behalf Of Alexandre Dube Sent: Wednesday, September 02, 2009 5:29 PM To: fsalas Cc: users@openlayers.org <mailto:users@openlayers.org> Subject: Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents Hi, Did you read http://trac.openlayers.org/wiki/Printing <http://trac.openlayers.org/wiki/Printing> ? About eh ezpdf class extension, are you talking about this : http://www.ros.co.nz/pdf/ <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/ <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 <mailto:Users@openlayers.org> > http://openlayers.org/mailman/listinfo/users <http://openlayers.org/mailman/listinfo/users>
Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents
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" To: "Alexandre Dube" ; "fsalas" Cc: 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
Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents
Thanks, Cheers Francisco Salas - Original Message - From: "Kris Geusebroek" To: "Alexandre Dube" ; "fsalas" Cc: 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: 2492726 Definition date: 9/3/2009 SecurityPlus version: 3.0.5 ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users
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 ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users
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
[OpenLayers-Users] How Print openlayer Maps into pdf documents
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