[Geoserver-users] Problems with print labels in WFS by GeoServer

H idear,

We have had many print`s problems, using labels like WFS in GeoServer. In this case, the labels generated like WFS not appearance in the final print.

We studied 3 options: WFS, WMS e TMS. The WFS would be more performance and safety to publish labels in a Web Map.

So, how can we to publish labels in WFS to able to print it?

Our workaround is to publish the labels like TMS (last option). WMS is not possible because one of requirements is to control de labels visible (on/of)

Thanks so much. We are preparing the Digital Map of São Paulo City. A public action fo Government in the use of open source tools.

Regards.

Logo_ProdamCarolina Bracco Delgado de Aguilar

Núcleo de Geoprocessamento. Tel: 3396-9084

Av. Francisco Matarazzo, 1500 - Torre Los Angeles

Água Branca, CEP 05001-100 - São Paulo - SP


“Esta mensagem, incluindo seus anexos, é confidencial e seu conteúdo é restrito ao destinatário da mensagem. Caso você a tenha recebido por engano, queira, por favor, retorná-la ao destinatário e apagá-la de seus arquivos. É expressamente proibido o uso não autorizado, replicação ou disseminação da mesma. As opiniões contidas nesta mensagem e seus anexos não necessariamente refletem a opinião do órgão emissor”.

image001.png

Hi Carolina,
I’ve come across this and don’t believe MapFishPrint (the component behind the GeoServer printing module) can print vector legends currently. WMS works, but I guess you can’t use that.

Maybe manually add a legend after the fact using PDF editing software?

Cheers,
Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

image001.png

···

On 17 February 2014 14:56, Carolina Bracco Delgado de Aguilar <cbaguilar@anonymised.com> wrote:

H idear,

We have had many print`s problems, using labels like WFS in GeoServer. In this case, the labels generated like WFS not appearance in the final print.

We studied 3 options: WFS, WMS e TMS. The WFS would be more performance and safety to publish labels in a Web Map.

So, how can we to publish labels in WFS to able to print it?

Our workaround is to publish the labels like TMS (last option). WMS is not possible because one of requirements is to control de labels visible (on/of)

Thanks so much. We are preparing the Digital Map of São Paulo City. A public action fo Government in the use of open source tools.

Regards.

Logo_ProdamCarolina Bracco Delgado de Aguilar

Núcleo de Geoprocessamento. Tel: 3396-9084

Av. Francisco Matarazzo, 1500 - Torre Los Angeles

Água Branca, CEP 05001-100 - São Paulo - SP


“Esta mensagem, incluindo seus anexos, é confidencial e seu conteúdo é restrito ao destinatário da mensagem. Caso você a tenha recebido por engano, queira, por favor, retorná-la ao destinatário e apagá-la de seus arquivos. É expressamente proibido o uso não autorizado, replicação ou disseminação da mesma. As opiniões contidas nesta mensagem e seus anexos não necessariamente refletem a opinião do órgão emissor”.


Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Dear Jonathan,

Thanks for your request.

This question is extremely interesting: why do WMS / TMS can print vectors or labels and, WFS doesn´t?

We are using GeoServer 2.4.3. Unfortunately, due business rules, we cannot install additional plugins, restricting our options.

Like WMS is an unrestricted service, this option exposes our security and application´s performance. Because this, we choose to use TMS. On the other hand, it uses countless caches, because it is not “dynamic” how would be WFS.

Best Regards,

Carolina Bracco Delgado de Aguilar

Núcleo de Geoprocessamento. Tel: 3396-9084

Av. Francisco Matarazzo, 1500 - Torre Los Angeles

Água Branca, CEP 05001-100 - São Paulo - SP

De: Jonathan Moules [mailto:jonathanmoules@…4942…]
Enviada em: quarta-feira, 19 de fevereiro de 2014 08:39
Para: Carolina Bracco Delgado de Aguilar
Cc: geoserver-users@lists.sourceforge.net
Assunto: Re: [Geoserver-users] Problems with print labels in WFS by GeoServer

Hi Carolina,

I’ve come across this and don’t believe MapFishPrint (the component behind the GeoServer printing module) can print vector legends currently. WMS works, but I guess you can’t use that.

Maybe manually add a legend after the fact using PDF editing software?

Cheers,

Jonathan

On 17 February 2014 14:56, Carolina Bracco Delgado de Aguilar <cbaguilar@…6361…> wrote:

H idear,

We have had many print`s problems, using labels like WFS in GeoServer. In this case, the labels generated like WFS not appearance in the final print.

We studied 3 options: WFS, WMS e TMS. The WFS would be more performance and safety to publish labels in a Web Map.

So, how can we to publish labels in WFS to able to print it?

Our workaround is to publish the labels like TMS (last option). WMS is not possible because one of requirements is to control de labels visible (on/of)

Thanks so much. We are preparing the Digital Map of São Paulo City. A public action fo Government in the use of open source tools.

Regards.

Logo_ProdamCarolina Bracco Delgado de Aguilar

Núcleo de Geoprocessamento. Tel: 3396-9084

Av. Francisco Matarazzo, 1500 - Torre Los Angeles

Água Branca, CEP 05001-100 - São Paulo - SP


“Esta mensagem, incluindo seus anexos, é confidencial e seu conteúdo é restrito ao destinatário da mensagem. Caso você a tenha recebido por engano, queira, por favor, retorná-la ao destinatário e apagá-la de seus arquivos. É expressamente proibido o uso não autorizado, replicação ou disseminação da mesma. As opiniões contidas nesta mensagem e seus anexos não necessariamente refletem a opinião do órgão emissor”.


Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.


“Esta mensagem, incluindo seus anexos, é confidencial e seu conteúdo é restrito ao destinatário da mensagem. Caso você a tenha recebido por engano, queira, por favor, retorná-la ao destinatário e apagá-la de seus arquivos. É expressamente proibido o uso não autorizado, replicação ou disseminação da mesma. As opiniões contidas nesta mensagem e seus anexos não necessariamente refletem a opinião do órgão emissor”.

image001.png

Carolina,

Maybe you could use WMS. Create two styles (SLD). One SLD has labels, the
other SLD has no labels. You can request the appropriate style depending on
whether you want labels or not. SEE Get Map Params
<http://cite.opengeospatial.org/teamengine/about/wms/1.1.1/web/OGCTestData/wms/1.1.1/spec/wms1.1.1.html#wmsops.getmap.params&gt;

Matt

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Problems-with-print-labels-in-WFS-by-GeoServer-tp5104657p5104938.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Carlolina,

This question is extremely interesting: why do WMS / TMS can print vectors or labels and, WFS doesn´t?

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

I believe because in the case of WMS, the server already creates the legend as part of the specification (optional, but GeoServer supports it). Thus all the print service has to do is ask the WMS server for the legend and then overlay the graphics.
With WFS there is no such service that I’m aware of meaning the print service would need to create the legend itself. I guess no-one bothered to implement it. I’m sure you could open a ticket on the MapFishPrint tracker asking for the feature request.

Like WMS is an unrestricted service, this option exposes our security and application´s performance.

Personally I’d consider WFS more of a security issue than WMS, but that’s just subjective and I don’t think either is actually more/less secure than the other (you’d need to get it pen tested to be able to say for sure).
Jonathan