Patrick, Thanks for the note. I have something that is currently working for my WMS call as a SLD file using the wms_bbox and some string manipulation. I am working through zoom level issues where my label shows as I expect, but will slowly creep across the image as I zoom in, or disappear if I zoom out. Learning the wms_scale_denominator values so I can adjust the "right side" X value to be the "just inside"
Once I have a working SLD completed, I'll post to this thread. Chris Snider Senior Software Engineer Intelligent Software Solutions, Inc. -----Original Message----- From: P O'Toole [mailto:[email protected]] Sent: Wednesday, October 26, 2016 12:03 PM To: [email protected] Cc: Chris Snider <[email protected]> Subject: Re: Labels "just inside the BBox" >Hi, > >I was wondering if anyone has already solved an issue I am having. I am >trying to dynamically assign labels for a set of grid lines (Lat/Lon at the >moment) where I want to specify the label offset to be just inside the edge of >the viewport/wms_bbox. > >Has anyone done something like this before and mind sharing? > >Thanks, > >Chris Snider >Senior Software Engineer >Intelligent Software Solutions, Inc. >Direct (719) 452-7257 Chris, I think the difficulty of achieving what you want depends on your specific requirements. If the ideal functionality is just for a web-application, it should be easy enough to just mis-report the bounding box to Geoserver for the layer in question, which would have the effect of getting you the kind of "title-safe zone" I believe you're talking about. If you still wanted the grid-lines to extend to the very edge of the frame, you could have a version styled to lack any labels that would allow you to fill in the edges around the central area. If it needs to work universally for desktop GIS software or 3rd-party web-applications, your best bet might be to implement a WPS that yields the results you want, and then potentially wrap it up and present it as if it's WMS, again depending on how the layer is being used. - Patrick O'Toole Application Developer Wyoming Natural Diversity Database UW Berry Biodiversity Conservation Center Department 3381, 1000 E. University Av. Laramie, WY 82071 P: 307-766-3018 ------------------------------------------------------------------------------ The Command Line: Reinvented for Modern Developers Did the resurgence of CLI tooling catch you by surprise? Reconnect with the command line and become more productive. Learn the new .NET and ASP.NET CLI. Get your free copy! http://sdm.link/telerik _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
