-
-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a88bacc
commit 335e8a0
Showing
4 changed files
with
39 additions
and
2 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
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
Loading
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,36 @@ | ||
# | ||
# Test of mode=tile (CGI "tile mode"). A 256x256 tile should be generated | ||
# in the "gmap" tilemode, reprojected to the Google Mercator (EPSG:3857) | ||
# and displayed at the global extent. | ||
# | ||
# REQUIRES: INPUT=OGR OUTPUT=PNG SUPPORTS=PROJ | ||
# | ||
# RUN_PARMS: mode_tile_output.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&MODE=tile&TILEMODE=gmap&TILE=0+0+0&LAYERS=canada-poly" > [RESULT_DEMIME] | ||
# | ||
MAP | ||
NAME "MODE_TILE_TEST" | ||
IMAGETYPE PNG | ||
EXTENT -140.992892 41.976786 -55.630945 71.990315 | ||
SIZE 400 400 | ||
|
||
PROJECTION | ||
"init=epsg:4326" | ||
END #projection | ||
|
||
LAYER | ||
NAME "canada-poly" | ||
TYPE POLYGON | ||
STATUS DEFAULT | ||
CONNECTIONTYPE OGR | ||
CONNECTION "data/canada.dgn" | ||
DATA "elements" | ||
PROJECTION | ||
"init=epsg:4326" | ||
END #projection | ||
CLASS | ||
OUTLINECOLOR 0 0 0 | ||
COLOR 120 120 120 | ||
END #class | ||
END #layer | ||
|
||
END #map |