Opened 15 years ago
Closed 15 years ago
#3096 closed defect (fixed)
Projection clause in non data layer
Reported by: | lawes | Owned by: | sdlime |
---|---|---|---|
Priority: | low | Milestone: | 5.6 release |
Component: | MapServer CGI | Version: | unspecified |
Severity: | minor | Keywords: | |
Cc: |
Description
I used a copyright notice layer like the FAQ's, annotation with no data file reference. Below a certain scale my layer doesn't show up. Or rather; when the BBOX parameter has for instance BBOX=11.0,56.0,12.0,57.0 it shows, but not with BBOX=12.00,57.64,12.09,57.68. Due to the logg (DEBUG level 5) the layer is not rendered at all.
When I removed the Projection clause, everything worked as expected (unconditional show).
My Layer definition:
LAYER
NAME "Base" # we should always have one layer "base" METADATA
"wms_title" "Base"
END STATUS DEFAULT TYPE ANNOTATION PROJECTION
"init=epsg:4326" ##recommended
END
TRANSFORM ll #set the image origin to be lower left FEATURE
POINTS
70 -10 #set the offset from lower left position in pixels
END TEXT " (c) 2009 Enera International and www.openstreetmap.org" #this is your displaying text
END CLASS
LABEL #defines the font, colors etc. of the text
FONT "arial" TYPE TRUETYPE SIZE 8 BUFFER 1 COLOR 0 0 0 BACKGROUNDCOLOR 255 255 255 FORCE TRUE
END
END UNITS PIXELS #sets the units for the feature object
END
Change History (4)
comment:1 by , 15 years ago
Milestone: | → 5.4.2 release |
---|
comment:2 by , 15 years ago
Component: | MapServer C Library → MapServer CGI |
---|
comment:3 by , 15 years ago
Milestone: | 5.4.2 release → 5.6.0 release |
---|---|
Status: | new → assigned |
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in trunk (r9262). Layer->transform *must* equal MS_TRUE before attempting to re-project. -Steve
Will correct for 5.6.0 release, not severe enough to consider backporting.
Steve