Ticket #3858 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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

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

Change History

Changed 2 years ago by cnieman

sample

Changed 2 years ago by cnieman

the two layers in the sample

Changed 2 years ago by cnieman

  • cc assefa added

Changed 2 years ago by sdlime

  • cc sdlime added
  • owner changed from sdlime to tamas

Changed 2 years ago by tamas

  • status changed from new to closed
  • resolution set to fixed

Fixed the issue in r11635 .

Changed 2 years ago by cnieman

  • status changed from closed to reopened
  • resolution fixed deleted

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.

Changed 2 years ago by tamas

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

Changed 2 years ago by cnieman

  • status changed from reopened to closed
  • resolution set to fixed

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.

Changed 2 years ago by cnieman

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

Changed 2 years ago by cnieman

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

Note: See TracTickets for help on using tickets.