Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STYLE with GAP fails to draw on tiny line feature #4838

Merged
merged 1 commit into from Jan 10, 2014
Merged

STYLE with GAP fails to draw on tiny line feature #4838

merged 1 commit into from Jan 10, 2014

Conversation

tbonfort
Copy link
Member

@tbonfort tbonfort commented Jan 10, 2014

Using master compiled today (Jan. 9, 2014).

Example mapfile: https://www.dropbox.com/s/lfvqvu40wu17h1z/test.map

The mapfile fails to draw (msDrawMap(): Image handling error. Failed to draw layer named 'line'.) when the extents are such that the feature is very tiny (first set of extents in the mapfile), and the GAP parameter is uncommented. Commenting out the GAP parameter allows the map to draw. Zooming in on the feature (second set of extents in the mapfile) also allows the map to draw.

The context for this feature is that it was part of a shapefile containg railroad features.

@tbonfort tbonfort merged commit 036f18a into MapServer:master Jan 10, 2014
@tbonfort
Copy link
Member

tbonfort commented Jan 10, 2014

This would have needed to be backported to 6.4, however in 6.4 we do not check the (erroneous) return value of msPolylineDrawMarkers(), so this one goes unnoticed.

@ghost ghost assigned tbonfort Jan 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant