[Geomoose-users] Highlighted feature not printing

Bistrais, Bob Bob.Bistrais at maine.gov
Mon Jan 9 18:30:40 EST 2012


I've made quite a bit of progress fixing this.  In a nutshell, I
modified the print ant print_util php files so much that I messed up and
left out some useful code.  

 

So now, I have it so that my map, with WMS layers, will print with
proper alpha channels (not black), and the highlight will draw.

 

So here's a problem I see now- there is a mismatch between
highlighted/selected features, and the other layers.  For instance, a
selected road segment may be twisted or rotated from where it is on the
base road data.

 

What's more, I found this problem is not confined to my current project
(with the WMS layers), but to other projects as well, which store their
data locally as shapefiles and as MapServer services.  Has anyone had
similar issues?

 

________________________________

From: geomoose-users-bounces at lists.osgeo.org
[mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Bistrais,
Bob
Sent: Friday, January 06, 2012 4:25 PM
To: geomoose-users at lists.osgeo.org
Subject: RE: [Geomoose-users] Highlighted feature not printing

 

A little more background after more investigation- A while back (some of
you may remember) I was having trouble with alpha channels on my
printouts.  This was related to the WMS base layers that I use.  So I
modified the print.php and print_util.php files.  In the renderImage
section, I changed the ImageCopyMerge command to an ImageCopy command.
That seems to be part of the issue.  If I go back to the original print
and print_util files, the highlight displays, but again with the black
alpha channels.

 

We know that the parcelHighlight layer is a bit different because it's
dynamic and not defined in a .map file.  Could that be part of the
explanation?

 

________________________________

From: geomoose-users-bounces at lists.osgeo.org
[mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Bistrais,
Bob
Sent: Friday, January 06, 2012 1:56 PM
To: geomoose-users at lists.osgeo.org
Subject: [Geomoose-users] Highlighted feature not printing

 

OK, I think I broke something here.  On one of my applications, selected
features are not appearing highlighted on the printed map.  The selected
features ARE highlighted in the application window.  I think I must of
broke something.  I know it's not something you folks can see without
looking at the code, but can anyone make a suggestion as to where to
look, with respect to the printed layers?  I'm looking in print.php, and
I do see that parcelHighlight is one of the layers.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20120109/ee4779ec/attachment.html


More information about the Geomoose-users mailing list