[Geomoose-users] Highlighted feature not printing

Bistrais, Bob Bob.Bistrais at maine.gov
Thu Jan 12 10:44:17 EST 2012


Thanks Eli!  

Although I ended up figuring this one out myself, it was helpful to know there's a great and talented group here to support GeoMoose issues.  And yes, I hope that others might be able to benefit from my experience.

Bob


-----Original Message-----
From: Eli Adam [mailto:eadam at co.lincoln.or.us] 
Sent: Wednesday, January 11, 2012 6:11 PM
To: Bistrais, Bob
Cc: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] Highlighted feature not printing

Bob,

     Glad to hear that you got it.  Thanks for sharing the details so
that it might help someone down the line.

Eli

On Wed, Jan 11, 2012 at 1:09 PM, Bob Bistrais <Bob.Bistrais at maine.gov> wrote:
> Perhaps you heard a big "Ah-Hah!" from the east this afternoon, that was me
> : )  The problems with the mismatched image and vector layers were again my
> own sabotage.  I found that the map image width and height were causing
> distortions in my printed map.  I reconciled this by setting the image
> width/height in my settings.ini to be equal to those in my print template.
> Once that was set, the various map layers, highlight, and so forth, matched
> up and look undistorted.
>
>
>
> Onward and upward...
>
> Bob
>
>
>
> ________________________________
>
> From: geomoose-users-bounces at lists.osgeo.org
> [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Bistrais, Bob
> Sent: Monday, January 09, 2012 6:31 PM
>
>
> To: geomoose-users at lists.osgeo.org
> Subject: RE: [Geomoose-users] Highlighted feature not printing
>
>
>
> 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.
>
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>


More information about the Geomoose-users mailing list