Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix crash on GRID layer without LABEL block (fixes #5466)
- Loading branch information
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# | ||
# REQUIRES: OUTPUT=PNG SUPPORTS=PROJ | ||
# | ||
|
||
MAP | ||
NAME "testMap" | ||
|
||
STATUS ON | ||
SIZE 200 100 | ||
EXTENT 0 0 2000 1000 | ||
UNITS METERS | ||
IMAGETYPE png | ||
|
||
PROJECTION | ||
"init=epsg:3857" | ||
END | ||
|
||
LAYER | ||
NAME "grid" | ||
PROJECTION | ||
"init=epsg:3857" | ||
END | ||
STATUS ON | ||
TYPE LINE | ||
UNITS METERS | ||
CLASS | ||
STYLE | ||
COLOR "#000000" | ||
OPACITY 100 | ||
END | ||
END | ||
GRID | ||
MAXINTERVAL 500 | ||
MININTERVAL 500 | ||
END | ||
END | ||
|
||
END |