Opened 14 years ago
Closed 13 years ago
#3028 closed bug (worksforme)
Displacement between vector and WMS layers after printing
Reported by: | dr | Owned by: | mhugent |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | Printing | Version: | Trunk |
Keywords: | Cc: | dr, gislab, alexbruy | |
Must Fix for Release: | Yes | Platform: | All |
Platform Version: | Awaiting user input: | yes |
Description
Open vector layer and WMS layer from any WMS Server (for example "osm" layer from "http://wms.latlon.org/?" server). In View all looks fine. Create new print composer and add map to it. All looks fine again. But after printing to pdf or to image we get displacement between vector and wms layers. It was tested on different wms servers and vector layers with different CRSs. See attachment.
Attachments (8)
Change History (19)
by , 14 years ago
comment:1 by , 14 years ago
Owner: | changed from | to
---|
comment:2 by , 14 years ago
comment:5 by , 14 years ago
Print as raster doesn't help. I try to print map as raster to A2 paper size PDF and get displacement again.
comment:7 by , 13 years ago
I also have the same wrong displacement problem under Win using 1.6 and 1.5 and exporting as vector, but it does not happen with QGIS 1.4. Raster works OK. The vector PDF output (QGIS 1.6 Win) has other problems too, it is completely bloated with strange huge images not found on the source file: just printing an empty file with nothing on it, nil, nada, creates an 9MB (unzipped streams) PDF file having 3 large streams with images and one stream with badly malformed PS code. Under Ubuntu, the exported vector PDF output is not usable because the PC freezes for 5 minutes trying to draw a simple line of text on the screen due to PostSript rendering problems.
comment:8 by , 13 years ago
Here is some test data:
1-6-test.zip the QGS test file has two layers, an raster image showing a well defined edge --nice for hand tracing-- and a line-SHP layer with the trace of the raster layer: 8 small files in total.
PDF's contain the export-to-PDF result under Win2k using QGIS 1.4, 1.5, 1.6..
Best exported PDF is the vector QGIS 1.4 printout, but has no vector data though.
by , 13 years ago
Attachment: | nada01_1-4_100dpi_raster_win2k.pdf added |
---|
by , 13 years ago
Attachment: | nada01_1-4_100dpi_vector_win2k.pdf added |
---|
by , 13 years ago
Attachment: | nada01_1-6_100dpi_vector_win2k.pdf added |
---|
by , 13 years ago
Attachment: | nada01_1-6_100dpi_raster_win2k.pdf added |
---|
by , 13 years ago
Attachment: | nada01_1-5_100dpi_vector_win2k.zip added |
---|
by , 13 years ago
Attachment: | nada01_1-5_100dpi_raster_win2k.pdf added |
---|
by , 13 years ago
Attachment: | 1-6-test.zip added |
---|
comment:9 by , 13 years ago
Owner: | changed from | to
---|
comment:10 by , 13 years ago
Awaiting user input: | set |
---|
Is this still true? Tested with current trunk and the attached dataset and the pdf export seems to look the same on map, in composer and in pdf.
comment:11 by , 13 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
closing for the lack of feedback.
The same problem when print simple raster and vector layers - in print composer all looks fine, but after export to pdf considerable displacement is presented.