I'm using the PDFPageFormatter to make a PDF with different elements - including a map from a WMS-service.
It's easy to use the transformer, but the map gets very blurry. Why, I don't know, so I hope that someone can help me.
I'm using the PDFPageFormatter to make a PDF with different elements - including a map from a WMS-service.
It's easy to use the transformer, but the map gets very blurry. Why, I don't know, so I hope that someone can help me.
Best answer by lau
Are you using the WMS reader? If your map gets blurry, you can increase the width & height of your wms request:
If you are using an HttpCaller you can set the width & height in your request. e.g.:
http://geoservices.informatievlaanderen.be/raadpleegdiensten/GRB-basiskaart-grijs/wms?REQUEST=GetMap&SERVICE;=WMS&VERSION;=1.3.0&LAYERS;=GRB_BSK_GRIJS&STYLES;=&FORMAT;=image/png&BGCOLOR;=0xFFFFFF&T;%20RANSPARENT=TRUE&CRS;=EPSG:31370&BBOX;=@Value(_wms_xmin),@Value(_wms_ymin),@Value(_wms_xmax),@Value(_wms_ymax)&WIDTH;=@Value(_wms_width)&HEIGHT;=@Value(_wms_height)
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.