Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3858 closed defect (fixed)

Layer TYPE UNION fails if one or more of the source layers is not in the current extents

Reported by: cnieman Owned by: tamas
Priority: normal Milestone:
Component: MapServer C Library Version: svn-trunk (development)
Severity: normal Keywords:
Cc: assefa, sdlime

Description

I've been playing around with the new MapServer 6.0 (built from svn trunk) features and encountered a problem with UNION layers where if I panned/zoomed such that one or more of the source layers weren't in the current extents, the map draw fails.

Sample was tested with built-in openlayers viewer (which is great!)

Attachments (2)

union_problem.zip (3.5 KB ) - added by cnieman 13 years ago.
sample
separate_files.png (19.3 KB ) - added by cnieman 13 years ago.
the two layers in the sample

Download all attachments as: .zip

Change History (10)

by cnieman, 13 years ago

Attachment: union_problem.zip added

sample

by cnieman, 13 years ago

Attachment: separate_files.png added

the two layers in the sample

comment:1 by cnieman, 13 years ago

Cc: assefa added

comment:2 by sdlime, 13 years ago

Cc: sdlime added
Owner: changed from sdlime to tamas

comment:3 by tamas, 13 years ago

Resolution: fixed
Status: newclosed

Fixed the issue in r11635 .

comment:4 by cnieman, 13 years ago

Resolution: fixed
Status: closedreopened

Recompiled from SVN (r11638), and still seeing more-or-less the same behaviour, except now it looks like as long as the first layer (i.e. the one that shows up first in the mapfile) appears within the extents, it works properly.

comment:5 by tamas, 13 years ago

What is the problem exacly? I've set up the data here and seems to be working correctly:

http://www.gisinternals.com/union/mapserv.exe?map=union-problem.map&mode=browse&template=openlayers

comment:6 by cnieman, 13 years ago

Resolution: fixed
Status: reopenedclosed

Interesting, it does seem to work correctly on yours. For me with my most recent compilation of the code, panning the map to the right past the grey dot in the middle caused the map draw to fail. I'll try rebuilding again tomorrow and see if maybe something was lingering around. Closing again.

comment:7 by cnieman, 13 years ago

OK. Will leave it to you to reopen or not, but here's with my most recent recompilation of the code using svn r11642:

http://50.19.20.140:8080/cgi-bin/mapserv?map=union-problem.map&mode=browse&template=openlayers

mapserver debug log: http://50.19.20.140:8080/err.txt

apache error_log: http://50.19.20.140:8080/error_log

comment:8 by cnieman, 13 years ago

Had an "aha" moment and tried recompiling without cairo support. It now works fine.

Note: See TracTickets for help on using tickets.