On Tue, Oct 22, 2013 at 8:35 AM, Ákos Maróy <[email protected]> wrote:
> On 22/10/13 08:16, Andrea Aime wrote:
>
> On Tue, Oct 22, 2013 at 8:08 AM, Ákos Maróy <[email protected]> wrote:
>
>> On 22/10/13 06:13, Rahkonen Jukka wrote:
>> > The trick they use in the Mapnik maps is not to colour the oceans
>> because 70% of Earth is water. Therefore the background colour is set to
>> ocean blue and land masses are drawn above it from the land polygons data
>> set http://openstreetmapdata.com/data/land-polygons.
>> >
>> can you be more specific on how to solve this using SLDs? I can't see a
>> generic background option in SLD :(
>>
>
> Because there is none. You have to ask for the bgcolor in the GetMap
> request
>
> I see
>
> as I'm using custom code that calls GeoTools to render data, I guess I'll
> have to force my own background color in there somehow via code then
>
Yep. Paint your image blue before giving the graphics object to the
Geotools renderer
Cheers
Anmdrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users