Opened 13 years ago
Closed 13 years ago
#3698 closed defect (invalid)
Bad rendering of a reprojected layer
Reported by: | aboudreault | Owned by: | aboudreault |
---|---|---|---|
Priority: | high | Milestone: | 6.0 release |
Component: | MapServer C Library | Version: | svn-trunk (development) |
Severity: | critical | Keywords: | |
Cc: |
Description
I see an important difference between a layer and the same layer(data) in another projection. Here's the original layer definition (gmap):
LAYER NAME drain_fn METADATA "DESCRIPTION" "Water" "wms_title" "drain_fn" END TYPE POLYGON status default DEBUG 5 DATA drain_fn CLASSITEM "Poly_featu" CLASS EXPRESSION /16|21/ NAME "Water" COLOR 225 249 255 OUTLINECOLOR 186 234 245 END END # layer
Here's the modified layer definition:
LAYER NAME drain_fn METADATA "DESCRIPTION" "Water" "wms_title" "drain_fn" END TYPE POLYGON status default DEBUG 5 DATA drain_fn_4326 PROJECTION "init=epsg:4326" END SIZEUNITS DD CLASSITEM "Poly_featu" CLASS EXPRESSION /16|21/ NAME "Water" COLOR 225 249 255 OUTLINECOLOR 186 234 245 END END # layer
The map units is METERS. The data (drain_fn.shp) has been reprojected in 4326 using ogr2ogr.
Attachments (2)
Change History (5)
by , 13 years ago
Attachment: | good_rendering.png added |
---|
comment:1 by , 13 years ago
Alan, does this also happen with the gd driver? I can't see how this can concern the rendering side of mapserver, I suspect the problem resides elsewhere.
comment:2 by , 13 years ago
Component: | AGG → MapServer C Library |
---|---|
Owner: | changed from | to
Status: | new → assigned |
right, it also happens with GD.
comment:3 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
The SIZEUNITS is just not necessary.
Note:
See TracTickets
for help on using tickets.
The good rendering image