Modify

Opened 2 years ago

Closed 23 months ago

Last modified 23 months ago

#6017 closed enhancement (duplicate)

TMS tile layers have vertical blank stripes in Swiss Grid projection (EPSG:21781)

Reported by: Shernott Owned by: team
Priority: normal Component: Core
Version: latest Keywords: TMS, Imagery, Projection, Swiss Grid, vertical stripes
Cc:

Description

When the tiles of TMS tile layers are reprojected for the Swiss Grid projection (EPSG:21781), there seems to be a (small) (rounding?) error, as a result TMS tile layers have vertical blank stripes in Swiss Grid projection.

Attachments (0)

Change History (6)

comment:1 follow-up: Changed 2 years ago by stoecker

There is no reprojection at all. You need to choose the projection matching the source, so for TMS it usually is Merkaartor or WGS84.

comment:2 in reply to: ↑ 1 ; follow-up: Changed 2 years ago by Shernott

Replying to stoecker:

There is no reprojection at all. You need to choose the projection matching the source, so for TMS it usually is Merkaartor or WGS84.

I don't know how you want to call what is going on there, and I agree that most TMS tiles look best in Merkaartor or WGS84 (their original projections). However, if you chose "Swiss Grid" projection, the TMS tiles are tilted and realigned and they are almost perfectly matching. But only almost, there remain vertical (and no horizontal) gaps of about 2-3 pixels between the tile columns, no matter what zoom level is selected. This is why I guess that there might be a rounding up/down error somewhere in the algorithm that turns and realigns the tiles.

comment:3 in reply to: ↑ 2 Changed 2 years ago by Shernott

Ok, I think I see what is going on: The tiles are actually not tilted or turned, but they are drawn at the correct new offsets, which makes the tile columns look slightly tilted. Probably the Swiss Grid is close enough to the Merkaartor projection to make it almost work, but since the tiles are not scaled or tilted. the gaps occur.

Well, in that case it's not a bug report but a feature request, it would be nice to have a reprojection in order to be able to mix tile sources with different projections.

comment:4 Changed 2 years ago by anonymous

  • Type changed from defect to enhancement

comment:5 Changed 23 months ago by stoecker

  • Resolution set to duplicate
  • Status changed from new to closed

comment:6 Changed 23 months ago by stoecker

Closed as duplicate of #6432.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.