Hi list,
i’m creating a service for a geologic map with > 150 different classes (polygon features). For styling i need complex symbols and of course hatching what is both a problem. I did it with SLD because geoserver has no native styling like UMN mapserver for example. So i had to create bitmaps, store them on a webserver-accesable place and reference them via:
image/png
10
Of course that’s possible but not really suitable because for every GetMap geoserver has to do around 50 http-GET, what slows down the response enormously. Is there another possibility - for example to reference the bitmaps via file system or something else?
Best regards
Albrecht
–
Albrecht Weiser,
E6, GIS Center
Hessische Zentrale für Datenverarbeitung (HZD)
Mainzer Straße 29, 65185 Wiesbaden
Tel.: 0611 340-3113
Fax: 0611 340-5113
E-Mail: albrecht.weiser-at-hzd.hessen.de
This sounds similar to projects that have been mooted on this list recently-- a desire to use many, many distinct symbols in one layer.
I'm not sure if GeoServer supports this, but if your symbols don't change frequently, perhaps you could use the se:InlineContent element instead of se:OnlineResource and in-line (XML or Base-64) the graphics. See page 24 of the SLD 1.1.0 rev 4 standard.
---
A. Soroka / Digital Scholarship Services R & D
the University of Virginia Library
On Nov 12, 2008, at 10:55 AM, <Albrecht.Weiser@anonymised.com> wrote:
Hi list,
i'm creating a service for a geologic map with > 150 different classes (polygon features). For styling i need complex symbols and of course hatching what is both a problem. I did it with SLD because geoserver has no native styling like UMN mapserver for example. So i had to create bitmaps, store them on a webserver-accesable place and reference them via:
Of course that's possible but not really suitable because for every GetMap geoserver has to do around 50 http-GET, what slows down the response enormously. Is there another possibility - for example to reference the bitmaps via file system or something else?
Best regards
Albrecht
--
Albrecht Weiser,
E6, GIS Center
Hessische Zentrale für Datenverarbeitung (HZD)
Mainzer Straße 29, 65185 Wiesbaden
Tel.: 0611 340-3113
Fax: 0611 340-5113
E-Mail: albrecht.weiser-at-hzd.hessen.de
Hi list,
i'm creating a service for a geologic map with > 150 different classes (polygon features). For styling i need complex symbols and of course hatching what is both a problem. I did it with SLD because geoserver has no native styling like UMN mapserver for example. So i had to create bitmaps, store them on a webserver-accesable place and reference them via:
Of course that's possible but not really suitable because for every GetMap geoserver has to do around 50 http-GET, what slows down the response enormously. Is there another possibility - for example to reference the bitmaps via file system or something else?
Sorry, but have you double checked? The first request will have to do
so, but afaik after that the images are cached in memory and drawing
should require no further GET requests.
There is also the option to store all the images in the styles
directory, and refer them simply by name. That should cache them
as well after the first read.
Let me know.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.