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 Tom Fukushima <tom.fukushima@…>, 18 years ago

External ID: 839964

Added External ID.

comment:2 by anonymous, 18 years ago

Owner: set to anonymous
Status: newassigned

comment:3 by anonymous, 18 years ago

Owner: changed from anonymous to traianstanev
Status: assignednew

comment:4 by anonymous, 18 years ago

Resolution: fixed
Status: newclosed

comment:5 by pagameba, 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 anonymous, 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:7 by pagameba, 18 years ago

Thanks Traian, I'll try to come up with some way of testing this.

comment:8 by tomfukushima, 18 years ago

Paul, This fix will be in the MGOS 1.2 beta scheduled for next Monday.

comment:9 by anonymous, 18 years ago

now leverages Spring's wow gold? interface for generating a unique bean name for the anynomous top-level beans provided by a namespace handler [fixes #498]; updated spring.jar and springsrc.zip of the upcoming release 2.0.3 to the current head version

comment:10 by jbirch, 17 years ago

Resolution: fixed
Status: closedreopened

comment:11 by jbirch, 17 years ago

Resolution: fixed
Status: reopenedclosed

Darn, thought I could delete spam comments as admin. Sorry.

Note: See TracTickets for help on using tickets.