Bug report #13380
reprojection of lat/long lines across 180 in mercator map fails
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||end of life|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||21432|
Lines that cross the 180 meridian are wrapped the long way around the world ONLY when the 180 meridian is outside the map extent.
Project CRS=EPSG:3994 (Mercator 41) for maps in the wider New Zealand region.
Optionally open a raster context layer, eg: ftp://ftp.niwa.co.nz/bathymetry/NZBathy_DTM_ascii-grid.zip
Optionally open a vector context layer: eg: ftp://ftp.niwa.co.nz/bathymetry/NZBathy_shape.zip
Open a +-180 EPSG:4326 WFS layer: URL=http://boi.wms.niwa.co.nz/cgi-bin/acoustic_bw layer=TransectAll_180
As long as the 180 meridian is inside the QGIS map canvas extent, lines crossing 180 render correctly. If the map is zoomed or scrolled so that the 180 meridian is outside the canvas extent, the lines wrap across the canvas, essentially traversing the world the long way around.
This appears under several versions of QGIS & appears OS independent.
#5 Updated by Giovanni Manghi over 3 years ago
- OS version deleted (
- Operating System deleted (
- File master.jpg added
- File 214.jpg added
The issue is old, I wrote this paragraph
a looong ago.
Anyway see the attached screenshots (master and 2.14.3), now it seems there is another problem in the WFS client in master, if confirmed a new regression ticket must be filed. Please leave feedback.
#10 Updated by Giovanni Manghi 11 months ago
- Resolution set to end of life
- Status changed from Open to Closed
End of life notice: QGIS 2.18 LTR