Ticket #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
