Ticket #3111 (assigned defect)
WMS Layer Reprojection not always sensible - misses stuff near dateline.
| Reported by: | warmerdam | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | MapServer C Library | Version: | unspecified |
| Severity: | normal | Keywords: | reprojection |
| Cc: |
Description
Rendering the following map with
shp2img -m bug.map -o out.jpg
produces a blue image with two broad vertical white stripes on what would be the east and west dateline if there was context.
MAP
EXTENT -37413785.1088017 -24459849.0512563 37413785.1088017 24459849.0512563
IMAGECOLOR 255 255 255
SIZE 956 625
STATUS ON
UNITS DD
NAME "name"
PROJECTION
"+proj=merc +datum=WGS84"
END
WEB
IMAGEPATH "/tmp/"
END
OUTPUTFORMAT
NAME jpeg
DRIVER "GD/JPEG"
MIMETYPE "image/jpeg"
IMAGEMODE RGB
EXTENSION "jpg"
FORMATOPTION QUALITY=75
FORMATOPTION "INTERLACE=OFF"
END
LAYER
NAME "lyr"
CONNECTION "http://labs.metacarta.com/wms/vmap0?"
CONNECTIONTYPE WMS
TYPE RASTER
STATUS DEFAULT
METADATA
"wms_srs" "EPSG:4326"
"wms_server_version" "1.1.1"
"wms_format" "image/jpeg"
"wms_name" "ocean"
"wms_connectiontimeout" "120"
END
# PROCESSING "LOAD_WHOLE_IMAGE=YES"
END
END
Change History
Note: See
TracTickets for help on using
tickets.
