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)

good_rendering.png (174.7 KB ) - added by aboudreault 13 years ago.
The good rendering image
bad_rendering.png (177.7 KB ) - added by aboudreault 13 years ago.
The bad rendering image

Download all attachments as: .zip

Change History (5)

by aboudreault, 13 years ago

Attachment: good_rendering.png added

The good rendering image

by aboudreault, 13 years ago

Attachment: bad_rendering.png added

The bad rendering image

comment:1 by tbonfort, 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 aboudreault, 13 years ago

Component: AGGMapServer C Library
Owner: changed from tbonfort to aboudreault
Status: newassigned

right, it also happens with GD.

comment:3 by aboudreault, 13 years ago

Resolution: invalid
Status: assignedclosed

The SIZEUNITS is just not necessary.

Note: See TracTickets for help on using tickets.