GeoServer Blog
GeoServer, Google Maps, and Geo Search: A Request For Data
Are you or your organization serving data publicly via GeoServer? Would you like this data to be searchable via Google Maps?
At OpenGeo we are testing out new “geo search” functionality in GeoServer. We believe this is the future of finding geospatial information on the web. While still in development, this functionality will be available to all in GeoServer 1.7.2 when it is released.
We have a sample of a search in Google Maps that brings up data served by GeoServer. (You can click on the blue markers to see information about the data set.)
We are very interested in working with organizations with public data to help test this. We are willing to donate resources to help configure your servers so that your public-facing data can become even more accessible. When we announce this functionality to the world, your geospatial information will be prominently featured.
If you are interested please email me: mike AT opengeo DOT org.
GeoServer 1.7.1 Released
The GeoServer team is happy to announce the release of GeoServer 1.7.1!
The biggest improvement in this release is better Google Earth support. Using revamped KML output (known as the KML “reflector”) GeoServer can now output vector super-overlays. Prior to this version, data served by GeoServer when viewed in Google Earth would only update when the the camera stopped. With super-overlays, however, views are updated dynamically. Data is also broken up into regions which are used to sort features into a hierarchy so that more prominent features are visible at higher zoom levels and less prominent features become visible at lower zoom levels. Super-overlays also work on raster datasets, providing lower resolutions versions of imagery (overviews) at higher zoom levels and higher resolutions at lower zoom levels.
All of this is is a huge step for GeoServer, as it is now the first major GIS server to return placemarks, lines, and polygons with the super-overlay mechanism. This means that serving data through Google Earth is a more seamless experience; your data will look like it is naturally part of Google Earth. And with super-overlays, you can serve large amounts of data with minimal performance issues.
In addition to super-overlays, GeoServer now has support for adding a height attribute to features (also known as “extrudes”), which allows Google Earth to render data in 3-D. Height information is specified via a template, similar to how one specifies time attributes to create animations. We have a nice tutorial on how to use the height feature with super-overlays, to see this in action, but here’s a quick screenshot.

Although the default mode of output using the improved KML reflector is now the super-overlay mode, the previous default, refresh mode, is still available. Also available is a download mode which outputs a self-contained KML file, useful for situations where server access is not necessary or possible.
Special thanks go out to David Winslow for all the great work implementing all the new KML functionality.
This version has more than just improved Google Earth support. GeoServer now has an official SQL Server extension (described previously). In addition, there is a new and improved Oracle extension which provides better performance and security from the previous version.
Further improving the visualization experience is GeoWebCache, a WMS tile-caching program. Previously available as an extension (and still available as a standalone product), GeoWebCache is now built-in to GeoServer and can vastly accelerate map rendering. We will be talking more about GeoWebCache in a future post.
Finally, this version includes a new drag and drop installer for Mac OS X users.
As always with any GeoServer release a heap of other improvements and bug fixes are included. A total of 98 issues were handled for this release.
We’re very excited about this release, and we encourage you to download, try it out, and let us know what you think. Comments and feedback are always welcome on the mailing list, as the community is always interested to hear how people are using GeoServer. Stay tuned for the 1.7.2 release, slated for release in the next month or so, which will include new breakthroughs in support for GeoSearch.
GeoServer 1.7.1
Released on 12/08/2008
Choose a download format:
Documentation
GeoServer Extensions
DataStore Extensions
Coverage Extensions
Service Extensions
GeoServer on SourceForge.
SourceForge Release 645413.
Release notes
New Feature:
- GEOS-1933 Dutch translation
- GEOS-2311 Cannot encode WFS 1.0 transction
- GEOS-2315 WFSV xml readers do not support “strict=true”
- GEOS-2318 Move the wfsv module to extension
- GEOS-2319 Legend generation fails if the size is missing in a ExternalGraphic element
- GEOS-2333 Disabling services has no more effect
- GEOS-2335 Per layer security subsystem initializes before the catalog, leading to spurious error messages
- GEOS-2338 KML super overlays
- GEOS-2340 default templates per namespace
- GEOS-2342 FeatureType configuration blows up when using name aliases
- GEOS-2344 Fix web.xml duplication (and add web.xml validation)
- GEOS-2367 A single error in catalog loading may prevent GeoServer from starting up
- GEOS-2387 Oracle-NG parameter issues
- GEOS-2390 HTML “about” page for layers
- GEOS-2399 Need a way to specify the encoding of shapefiles generated with SHAPE-ZIP output format
- GEOS-2400 Issues migrating from 1.6.x to 1.7.0
- GEOS-2403 Any disabled datastore breaks WFS GetCapabilities
- GEOS-2405 NPE when saving catalog
- GEOS-2406 Any disabled datastore breaks DescribeFeatureType
- GEOS-2407 Add oracle-ng extension datastore
- GEOS-2408 Catalog corruption when multiple admins hack the configuration
Improvement:
- GEOS-1064 KML Extrude (2.5d) support
- GEOS-1322 Investigate the usage of symbol oriented ttf fonts for making maps
- GEOS-1601 Cannot make service specific kvp reques readers
- GEOS-1671 Allow GeoServer to play well in a container that controls logging
- GEOS-2014 Regionating should work without GWC
- GEOS-2189 Placemark points are outside of sufficiently concave geometries.
- GEOS-2217 GeoServer extensions needlessly allocates Integer objects for int comparison
- GEOS-2219 Retype feature reader builds retyped features inefficiently (limiting scalability)
- GEOS-2255 KML output does not validate
- GEOS-2284 Ensure GEoServer does not totally wipe out loggers during logging configuration
- GEOS-2310 GWC won’t cache layer when outside (outdated) boundingbox
- GEOS-2321 ArcSDE extension installation instructions might be confusing
- GEOS-2348 Bring fonts & colors into line with Geoserver site
- GEOS-2369 Disable native acceleration for Mosaic
- GEOS-2375 Namespace-wide templates
- GEOS-2393 Rest layer page improvements
- GEOS-2424 allow outputFormat=kml to engage regular kml output with reflector as opoosed to kmz
- GEOS-2426 Pimp up the release directory WMS metadata
- GEOS-2432 Geosearch sitemaps need to link to every tile
- GEOS-2446 regionator does not handle invalid geometries
- GEOS-2451 UI should prevent creating multiple namespaces with same URI
- GEOS-2468 Better names for reflector modes
Bug:
- GEOS-1284 PutStyle for ‘create new SLD’ wizard is not working.
- GEOS-1388 Feature deleted does not seem to contribute to the changeset bbox
- GEOS-1628 r8033 causes coordinates to be miscalculated on GetVersionedFeature request
- GEOS-2174 New catalog does not appear to be sending events to listeners
- GEOS-2177 Stack overflow on GetLog
- GEOS-2192 StackOverflow on GetDiff between FIRST and LAST
- GEOS-2207 Shapefile field with just null values does not get listed by Feature Type Editor
- GEOS-2244 Can trigger infinite loop in StreamingRenderer.processStylers
- GEOS-2250 Can only add one new coveragestore
- GEOS-2257 Problems using FID in filter statements with AND or OR for ArcSDE data.
- GEOS-2267 Problem with ISO-8859-1 Encoding in GeoServer 1.6.3 O
- GEOS-2272 Make secure object wrapping pluggable
- GEOS-2274 Quiet down WFSV tests
- GEOS-2307 WFSV v1.0.0 request returning GML3
- GEOS-2322 RuntimeException on Rollback
- GEOS-2328 German, French, Portuguese and Spanish L10N seems to be broken
- GEOS-2330 Issues with filtering reprojected WMS requests
- GEOS-2331 Greek labels are shown as questionmarks characters
- GEOS-2341 GeoServer incorrectly caluates bounding box on PostGIS table
- GEOS-2345 Tiles rendering off from intended bounds?
- GEOS-2352 Endless loop in org.geoserver.util.ReaderUtils class “stringToList” function
- GEOS-2368 data directory backup does not preserve templates and other files
- GEOS-2376 KML reflector generates links referencing styles by rule name rather than style name
- GEOS-2377 Dynamic styles mis-encoded in KML output
- GEOS-2383 NPE looking for templates on newly configured layers
- GEOS-2384 internal wfs schema is not updated when new layers are added
- GEOS-2391 KML Superoverlays sometimes omit the actual features.
- GEOS-2392 KML reflector NPE’s on bogus modes
- GEOS-2394 KML Reflector ignores format KVP
- GEOS-2396 When i try set the alias name on the layers retrieve an NullPointerException
- GEOS-2398 kml links in map preview page use old reflector
- GEOS-2404 Layers failing to show up in Google Earth output
- GEOS-2427 Cannot edit sample mosaic layer
- GEOS-2438 KML output doesn’t work on Macs
- GEOS-2439 Dynamic Styles in KML produce bogus KML Styles in the output
- GEOS-2440 tiles for tiger_roads superoverlay do not load without first zooming out
- GEOS-2442 KML output into Google Earth yields incorrect feature labels
- GEOS-2444 Thematic map not showing up properly in Google Earth (no colors)
- GEOS-2445 saving multiple times breaks the regionator
- GEOS-2447 kml vector transformer relies on consistent fids
- GEOS-2449 Excessive logging from GeoSearch or KML
- GEOS-2453 BBOX filter does not work on ArcSDE
- GEOS-2459 WFS-T demo does not work anymore (regression)
- GEOS-2463 GeoServerTemplate loader NPE if the feature type is not inside the local catalog
- GEOS-2465 KML output fails if no strategy name is specified in request and config has a empty string value
- GEOS-2470 KMLSuperOverlayTransformer does not pass format_options along when encoding link to next level of hierachy
- GEOS-2472 superoverlays do not work on raster layers without specifying mode=raster
- GEOS-2473 Fix up default formats returned by reflector
- GEOS-2479 MapPreview in IE7 is a blank page
- GEOS-2483 georss links to indivudual entries uses “fid” to filter by id instead of “featureid”
- GEOS-2522 Running the service wrapper
Task:
Dynamic Symbolizers (Part 1)
When GeoServer 1.7.0 was released in October of 2008, it included some new features that many people might find useful. One of those new features is support for dynamic symbolizers.
Dynamic symbolizers, which originated from a GeoTools styling subsystem improvement from this past summer, allows you to do three things:
-
Create external references that contain feature attributes as variables__
-
Use decorative true type fonts as markers in your map
-
Program your own dynamic symbolizer to extend existing ones, with full access to all of the current feature attributes
In this post we’ll cover the first item, and in the next post we’ll consider the other two.
Dynamic Symbolizers With External References
Say you want to make a map of the USA that shows each state’s flag superimposed on the state. (You can use the topp:states layer, which comes standard with GeoServer.) With the old symbolizer approach, you would have to do two things:
-
Find all the flags as images, possibly as small PNG/GIF images.
-
Write a different rule for each state, connecting each state with its respective flag.
Now, having to find the flags is a challenge, but it can be done. This site, for example, has small flag graphics in JPEG format. The really time-consuming part is writing 50 different rules, each matching a state with its flag.
If we look closely at the image names, we can see a pattern. The file names are all of the form:
tn_
And we happen to have the same state abbreviations in the STATE_ABBR attribute. Wouldn’t it be great if we could just link the attribute to the external graphics link?
With dynamic symbolizers, this can be done. You can embed CQL (Common Query Language) expressions inside a external graphics link or inside a well-known mark name, and have the expression be expanded dynamically. To embed a CQL expression, all you have to do is to type it between the brackets in this form: ${ }.
Let’s apply this to our case. The external graphics link might originally look like:
> >> > >> image/gif >
Note the file name: tn_${STATE_ABBR}.jpg. For each feature, the attribute name will be expanded, generating a different link for every feature. Unfortunately, that’s still not good enough, because the abbreviations are upper case, and the site links are case-sensitive and require lower case names. However, as we mentioned above, you can leverage the full power of CQL expressions in the dynamic symbolizer elements. In this case, we can use the strToLowerCase function to change the values of our attributes to lower case. With that, we have an instant flag map.
Here is the full SLD to generate this at home.
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0"
xmlns="http://www.opengis.net/sld"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
<NamedLayer>
<Name>Default Polygon</Name>
<UserStyle>
<Title>Flags of USA</Title>
<FeatureTypeStyle>
<Rule>
<Name>Solid black outline</Name>
<LineSymbolizer>
<Stroke/>
</LineSymbolizer>
</Rule>
</FeatureTypeStyle>
<FeatureTypeStyle>
<Rule>
<Name>Flags</Name>
<Title>USA state flags</Title>
<PointSymbolizer>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple"
xlink:href="http://www.usautoparts.net/bmw/images/states/tn_${strToLowerCase(STATE_ABBR)}.jpg" />
<Format>image/gif</Format>
</ExternalGraphic>
</Graphic>
</PointSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Raster Symbolizer tricks - part 1
I am going to bother for a few mins in order to show a few things about the raster symbolizer implementation that has landed on 1.7. Ideally this should the first of a series of more posts, but I can’t guarantee on that :-).
Anyway, today I have been playing with some bathymetry data for the geoSDI project. I cannot share them since it is classified data but I have been told that I can show some snapshots :-).
Here below you have the gdalinfo on one of the datasets:
Driver: GTiff/GeoTIFF Files: DEM_Vulcano_Lipari_Salina4326.tif Size is 3718, 3600 Coordinate System is: GEOGCS[“WGS 84”, …. AUTHORITY[“EPSG”,”4326”]] Origin = (14.747192412574043,38.660954215168857) Pixel Size = (0.000090196304703,-0.000090196304703) Metadata: AREA_OR_POINT=Point Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: …. Band 1 Block=3718x1 Type=Float32, ColorInterp=Gray
As you can see we are talking about Float data. First of all I retiled it with gdal_transalte (striped tiff are pretty bad performance-wise) then I added a few overview using gdaladdo with nearest neighbor interpolation. Once this was done I just throw it at the GeoServer and here is the result for an untiled request (here a detailed request ) and for a tiled request. Quick explanation, when you set up a raster with no real raster symbolizer element in its style (like for the raster.sld that ships with GeoServer) you can get strange results in case your data is raw, like bathymetries, DEMs and the like. What we do is trying to render something useful by doing a local contrast stretch, hence a tiled request can have the checkerboard approach and an untiled request can look fuzzy since maximum and minimum values are used for the stretch. In the future we might computer approximated statistics for a layer at configuration time and use them for the subsequent renderings.
Beside this I wanted to show a nice extension we implemented for the raster symbolizer element. Check this style as well as this one (notice that to use the secondo you have to uncheck SLD validation since the extension is not recognized by OGC schemas). They look like the same but if you check the second one you’ll see that the color map element looks like this
To see you the differences, check the following:
I guess I have bothered enough.
Ciao a tutti.
PS. I found a minor bug today on the SLDParser which was not parsing the extended attribute. It is now fixed but unless you build things yourself, you won’t be able to test these things on 1.7.0. Drop me a few lines in case you want to try the differences and I’ll tell you how to fix this problem.
Italian Civil Protection National Spatial Data Infrastructure trusts GeoServer!
Quoting from the geoSDI web site,
“geoSDI is the complete solution for Spatial Data Infrastructure used by the Italian National Civil Protection Department.
The geoSDI solution is based on Open Source Technologies and was born to allow the real time geospatial data sharing between the Functional Centers of the Italian Civil Protection Department, being OGC (Open Geospatial Consortium) standard compliant, INSPIRE Directive compliant and CNIPA Repertorio Nazionali dei Dati Territoriali specifications compliant.”
The geoSDI infrastructure aims to provide a coherent National Spatial Data Infrastructure (NSDI) which is compliant with national and internal recognized standard as outlined by organizations like ISO and OGC as well as by initiatives like INSPIRE.
We are glad to announce that a core role in the geoSID inititive will be played by the GeoServer framework and that GeoSolutions SAS has been selected to provide professional support for the developments and customizations required. Stay tuned for more information on the topic.
Vulnerability
- GeoServer Security Update - November 2026
- Java4Shell (CVE-2026-114938): add one Java flag to GeoServer today
- GeoServer 3.0.2 Release
- GeoServer 2.28.6 Release
- GeoServer 2.27.7 Release
- GeoServer Security Update - September 2026
- GeoServer 3.0.1 Release
- GeoServer 2.28.5 Release
- GeoServer 2.27.6 Release
- GeoServer 3.0.0 Release
