Opened 18 years ago
Closed 17 years ago
#4 closed defect (fixed)
tile egde effects with raster layers
Reported by: | pagameba | Owned by: | traianstanev |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Tile Service | Version: | 1.1.0 |
Severity: | critical | Keywords: | |
Cc: | External ID: | 839964 |
Description
When using raster data sources in tiled maps, the edges of the tiles sometimes have a single pixel border on some or all edges of some tiles. This appears to be a rounding error in the code that requests the tile from the FDO provider since the same error occurs with both the ADSK raster provider and the GDAL raster provider.
Tom said on the list:
Hi Paul,
This is a problem with the tiling code when it creates a tile with a raster (using the Autodesk raster provider or the GDAL provider). I debugged into this a while back and it looks like either: 1) the extracted image (from the source feature source) used to create the tile is sometimes offset incorrectly (like you say, this is a rounding error) and/or 2) the image is not being stretched to fill the whole area of the tile (GDRenderer.cpp line 553, has comment TODO: do we need +1?).
I tried #2 but the lines still came up a bit faded. Someone with more time is going to have to look into this.
Tom
Change History (11)
comment:1 by , 18 years ago
External ID: | → 839964 |
---|
comment:2 by , 18 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:3 by , 18 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
comment:4 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 18 years ago
Traian, I read your commit comments where you mentioned the last row might not be filled in ... does this also apply to the vertical edge effects? You also said 'Maybe fix ticket #4 ...' ... should we close this ticket if we are not sure?
comment:6 by , 18 years ago
It looks fixed. The transform code and image draw code had changed since this bug was reported, so I didn't see any vertical lines. The reason I'm not sure is because the code change affects too many things for me to fully test. It just needs more testing. If the bug is still there, the ticket can be reopened.
comment:9 by , 18 years ago
comment:10 by , 17 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:11 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Darn, thought I could delete spam comments as admin. Sorry.
Added External ID.