GeoServer Blog

GeoServer 2.1-beta2 now available

We are pleased to announce the second beta release of GeoServer 2.1.  Big thanks goes out to GeoSolutions for stepping up to the unglamorous and thankless process of creating a release, not to mention adding lots of great new features.

GeoServer 2.1.0 is shaping up to be quite an incredible step forward. In addition to all the great features of the first 2.1 beta, this release brings a few more.

Graphical File/Directory Chooser

Ever found it difficult to remember the full path when loading a shapefile or GeoTIFF?  A new improvement brings an easy graphical file and directory selection tool to browse the file system that GeoServer is on.  This is definitely a great enhancement to make GeoServer even easier to configure.

Read more about the new file chooser.

Core improvements to support database-backed catalog

GeoServer’s core catalog interfaces received some tweaks to be able to more easily support different backend storage formats. The current in-memory implementation has a number of drawbacks, the most notable being that it is memory bound which means it can not scale up to large amounts of layers. The support for specific new storage formats is still only available a community module, but these core improvements make it possible to more easily swap in and out different backends.

Read more about the improvements for database-backed catalog.

Font Improvements

Adding new fonts for your maps should now be much easier, as you can just drop font files directly in to your GeoServer data directory and they will be picked up by GeoServer.  The admin interface also will list the fonts currently available, including the ones picked up directly from the Java Virtual Machine.

Upgrade to Spring Security 2.0.6

GeoServer has always had Acegi Security as its core, but that library got absorbed by the Spring community, and improved and upgraded to become Spring Security, the official security module of the Spring portfolio.  This brings a number of new security protocols to GeoServer, including OpenID and Windows NTLM.  It also should be easier to customize security setup, with even more powerful options.

Read more about the upgrade to Spring Security.

WCS limits

WFS and WMS both have had the ability to limit what a user can request.  Now, similar controls are in place for WCS calls as well.  Thanks to MassGIS for funding this improvement.

Web Processing Service (WPS) in extensions

The one thing to note from last beta release is that the WPS is maturing, It has been split up in to three modules, “core”, “web”, and “sextante”.  The latter has all the algorithms of the Sextante project, but is not yet mature, so it lives in a community module.  Web and core live in a new WPS extension, meaning that the core of WPS is now officially supported by GeoServer. You can find the WPS extension on the download page, and add it to GeoServer just like any other extension.

Read more about WPS in extensions.

And more

This release also included a number of other bug fixes and improvements.  Check out the entire changelog. Help us get to a stable 2.1.0 by downloading the beta and trying it out. Be sure to report any issues on the mailing list or in the bug tracker. We appreciate any and all feedback. We’re hoping to move soon to Release Candidates, after getting one last major improvement in — WMS 1.3.

Download GeoServer 2.1-beta2


GeoServer 2.1-beta2

Released on 06-dec-2010

Download format

Documentation

Extensions

Data store

Coverage store

Other

SourceForge

SourceForge Release 2.1-beta2.

JIRA

JIRA Version 16728

Release notes

New Feature:

Improvement:

  • GEOS-3794 Show a list of fonts available to the java runtime in a GUI page
  • GEOS-3824 Improve the GDAL-ImageIO-Ext section User Documentation
  • GEOS-3856 Add WCS limits (similar to those in WMS or WFS)
  • GEOS-3958 Automatically register all fonts that are dropped in the styles directory
  • GEOS-3999 external.type and url.type support for datastores
  • GEOS-4047 Allow users to create new layers by specifying native, eventually pametrized sql queries
  • GEOS-4114 allow servlet filters to be plugged in via spring
  • GEOS-4133 have wfs capabilities use FunctionFactory interface for loading filter functions
  • GEOS-4150 rename Demos to Tools and make tools securable
  • GEOS-4151 Move GEOSERVER_DATA_DIR lookup logic to GeoServerResourceLoader
  • GEOS-4152 Modify service code to prevent singletons from holding direct references to ServiceInfo objects
  • GEOS-4174 REST config reload resource is not documented
  • GEOS-4198 WMS GetFeatureInfo cascading should be as lenient as the other code paths vs the srs params
  • GEOS-4208 Use an interactive server side file chooser to pick shapefiles, directories, geotiffs and the like
  • GEOS-4215 Migrating to spring security 2.0.6
  • GEOS-4218 Split the WPS module in three parts, core, gui and Sextante integration
  • GEOS-4227 Add version/build info to geoserver ui and to built artifacts.
  • GEOS-4237 monitoring: wfs transaction requests don’t include any information about what type of transaction
  • GEOS-4240 monitoring: use consistent names and case for all ows operation and service names
  • GEOS-4241 monitoring: normalize layer names before committing to database

Bug:

  • GEOS-3755 REST Api fails on layernames containing space
  • GEOS-3843 KML encode loads all the features regardless of what rules are active at a given scale
  • GEOS-3939 com.microsoft.sqlserver.jdbc.SQLServerException wrong query string on wms GetMap request
  • GEOS-4092 Label Graphics don’t line up with the corresponding labels.
  • GEOS-4131 Geoserver Can’t parse SQL 2008 Table structure
  • GEOS-4135 GWC TMS TileMapService document (capabilities like) URL doesn’t work
  • GEOS-4140 REST Config Plugin does not unescape URL
  • GEOS-4153 Regression: Non-DataStore DataAccesses no longer recognised by GUI
  • GEOS-4168 Polygon clipping/rendering issue
  • GEOS-4171 App-schema: test mappingName with special characters enclosed in quotes
  • GEOS-4172 Cache-control headers are not set on WMS responses
  • GEOS-4177 CQL filter could not parce - Cyrillic data from attribute table of SHP file
  • GEOS-4182 GetLegendGraphic not working as expected
  • GEOS-4205 Error when querying data from SQL (com.vividsolutions.jts.io.ParseException: Expected number but found ‘(‘ )
  • GEOS-4206 Mis-configured ogr2ogr output format breaks all GetFeature calls
  • GEOS-4225 NullPointerException when pressing “reload” in the server status panel
  • GEOS-4236 monitoring: layer names not picked up when the request is a WFS transaction insert

Task:

  • GEOS-2658 Port WMS module to the new Dispatching system, currently it’s being adapted

Sub-task:

  • GEOS-2659 port WmsExceptionHandler as a subclass of DefaultServiceExceptionHandler, not legacy
Read More

GeoServer 2.1 Beta Released!

Just in time for FOSS4G the GeoServer community is pleased to announce the release of 2.1 beta1. The first beta release of the long awaited 2.1 branch is now available for download. Anticipation for this release has been growing over the last few months due to the number of notable new features it brings. Let’s go down the list.

WMS Cascading

Something users have asked for since the addition of WMS support itself is cascading, the ability of GeoServer to proxy for another remote WMS server like MapServer or another GeoServer. This feature has many uses such as pulling in a remote base layer and overlaying local vector data onto it or securing a locally unsecured map server. Special thanks to the University of Perugia for sponsoring this feature.

Read more about WMS cascading.

Virtual Services

Anyone who has published a large number of layers or feature types with GeoServer has probably at some point been annoyed by the fact that every single layer is published by a single global service. WMS has the ability to group and nest layers but WFS and WCS have no such equivalent. Well now with virtual services one can create multiple service endpoints within a single physical geoserver instance.

Special thanks to Landgate for funding this work.

Read more about virtual services.

Layers from SQL

GeoServer has always been good at publishing a flat database table. But users often need to do more such as pre filter the data in a table, or join two tables together, or generate column values on the fly with a function. Before this feature the recommendation was to create a view. However views can be a maintenance burden and are at times problematic.

Now one can create a layer directly from an SQL query. And on top of that query definitions can be parameterized which allows one to create dynamic queries on the fly. These parameters can be restricted with regular expressions in order to prevent an SQL injection security hole.

Special thanks to Andrea for spending much of his personal time on this one. And also to OBIS who provided the funding for the parametric component of the work.

Read more about SQL layers.

WPS

With 2.1 and the arrival of WPS we welcome a new OGC service to the family. The Web Processing Service is an OGC service for performing geospatial analysis functions over the web. The specification is extensible in nature and allows for simple processes like buffering a geometry to more complex processes such as image processing.

Historically GeoServer has been focused primarily on data delivery without any tools for performing analysis of spatial data. WPS fills that gap making GeoServer a more compete solution for geospatial web services.

Thanks to Refractions Research for the initial contribution of the WPS module and to Andrea once again for taking personal time to bring WPS support to its current state.

Read more about WPS. Download the WPS extension now to try it out.

Unit of Measure

Support for units in SLD allows one to specify values in measurements other than pixels such as feet or meters. This adds a very powerful capability to SLD that in many cases alleviates the need for multiple scale dependent rendering rules. This has the upside of greatly simplifying complex SLD documents.

Special thanks to Milton Jonathan who did the initial GeoTools work to make unit of measure support possible and to Andrea for working with Milton to improve the initial patch. Note that this feature has also been backported to the stable 2.0.x branch. Thanks to SWECO and Malmö City of Sweden for sponsoring the backport.

Read more about UOM support.

DPI Scaling

By default GeoServer renders images at a resolution of 90 DPI. While this is acceptable for the standard screen it is not acceptable for print which requires a higher resolution. Now it is possible to supply a format option to a WMS request on the fly that controls the DPI setting.

Special thanks again to SWECO and to Malmö City of Sweden for sponsoring this work. Note also that this feature has also been backported to the stable 2.0.x branch.

Read more about DPI scaling.

And More

And as usual this release comes with a number of bug fixes and minor improvements. Check out the entire changelog. Help us get to 2.1.0 by downloading the beta and trying it out. Be sure to report any issues on the mailing list or in the bug tracker.

Thanks for using GeoServer!


GeoServer 2.1-beta1

Released on 08/03/2010

Download format

Documentation

Extensions

Data store

Coverage store

Other

SourceForge

SourceForge Release .

JIRA

JIRA Version 16727

Release notes

New Feature:

  • GEOS-623 Cascading WMS: include remote WMS layers as virtual DataStores

Improvement:

  • GEOS-3905 Control CSS -> FeatureTypeStyle conversion with z-index parameter
  • GEOS-3920 Add Labeling VendorOption SLD extensions to CSS module syntax
  • GEOS-3974 Hide the REST API from bots by default
  • GEOS-3981 Add USE_JAI_IMAGEREAD read parameter configuration to CoverageStore
  • GEOS-4017 Simple patch for ColorMapLegendCreator.java
  • GEOS-4104 GWC transaction listener whipes out the full layer cache upon any transaction on a given layer. Make it respect the transaction bounds as much as possible

Bug:

  • GEOS-3899 Various issues converting a CSS style with scale dependencies
  • GEOS-3982 Intermittent build failure in NewUserPageTest
  • GEOS-3995 Build failure caused by unsafe URL-File conversion in KMLMapTransformer
  • GEOS-3998 GeoserverInfoImpl.setClientProperties has no effect:
  • GEOS-4002 Error occurs when click on the Map CSS Demo link
  • GEOS-4004 Build failure on Windows caused by unsafe File path manipulation in KMLMapTransformer
  • GEOS-4053 ResourcePool caches results out of dirty objects
  • GEOS-4073 Improved word wrap on in-image error reports
  • GEOS-4108 Layer group editor does not include the workspace prefix in layer names

Sub-task:

  • GEOS-4008 Missing SLD in release configuration
Read More

Blueprint for Creating an Open Source Web Map

Community member Michelle Ballinger has put together a short tutorial on creating an open source web map using GeoServer.

This tutorial is designed for a beginner and is easy to follow. The steps she uses are:

  1. Creating and editing data with QGIS

  2. Designing SLDs with uDig

  3. Serving maps with GeoServer

  4. Creating a custom OpenLayers application

  5. Posting to the web

The introduction mentions the benefits of using open source and also, interestingly, discusses the pros and cons of making a “mash-up” versus serving one’s own data.

Once again, we see Penn State as a proponent of open source GIS. Have you looked at their Master of Geographic Information Systems program lately?

Read More

GeoServer 2.0.2 release

To meet the growing demand for a geospatial server that meets the open standards set by the Open Geospatial Consortium, the GeoServer community has worked hard to release the new GeoServer 2.0.2. This release includes almost 100 bugfixes and new features.

As previously mentioned, GeoServer now provides support for Oracle Georaster, custom database layouts for image data and polymorphism.

Have you ever wondered what geographical area an EPSG code covers? A new feature has been added to showcase the different projections visually, by showing a map of the projection’s area of validity in the same CRS. Here are three examples of this: EPSG:2964, EPSG:3032, EPSG:22184.

To add to this, we have also added a default style preview in the layer publishing configuration.

The rendering subsystem has been improved to include parameter substitution, meaning you can pass parameters down from a GetMap request into your SLD for dynamic styling purposes.

The ability to do geometry transformations, included in GeoServer 2.0.1 without much fanfare, now has been completely documented.

Building image pyramids just got easier: gone are the times where you had to manually build each level mosaic and configure the main property file by hand. The current pyramid extension can do this for you provided it is given a suitably configured directory set. See the pyramid tutorial for more details.

Finally, this release of GeoServer implements the GetStyles optional WMS method allowing a user to retrieve the definition of all styles attached to a specific WMS layer, see the following link for an example: http://demo.opengeo.org/geoserver/wms?request=GetStyles&layers=topp:states&service=wms&version=1.1.0

Thanks to everyone who have worked hard over the past few months adding features and fixing bugs, in order to make this release happen. As usual, we encourage you to download, try it out, and provide feedback on the users mailing list.


Stable

Released on May 24, 2010

Download format

Documentation

Extensions

Data store

Coverage store

Other

JIRA

JIRA Version 16040

Release notes

New Feature:

  • GEOS-2566 Passing down params from the WMS request into the SLD
  • GEOS-3831 Add a map to the SRS description page that shows the CRS area of validity
  • GEOS-3954 Support for Oracle Georaster
  • GEOS-3955 Support for custom db layout for image data

Improvement:

  • GEOS-2371 Pixel Tollerance for getFeatureInfo requests should be configurable on a per layer basis
  • GEOS-2581 PointPlacement + followLine produces weird results
  • GEOS-3574 Don’t output KML point placemarks for polygon and lines unless there is an explicit point symbolizer, evolutions in KML made them un-necessary
  • GEOS-3621 Adding a style whose SLD already exists on the server
  • GEOS-3622 Add back the ability to reload the catalog from disk
  • GEOS-3739 Add support for the polyconic projection
  • GEOS-3772 Make sure verbose exceptions do not affect the chosen service strategy
  • GEOS-3775 GeoServerDialog should allow for ajax validations
  • GEOS-3787 Make OWS Request object mutable, subclassable, and allow dispatcher callbacks to override it
  • GEOS-3792 Use full vector rendering for SVG graphics and marks in PDF and SVG
  • GEOS-3795 Add support for AUTO:xxxx codes
  • GEOS-3797 Make XStream persisten tolerant to unkown fields
  • GEOS-3814 Expose KML default param values as a configuration option in the administration GUI
  • GEOS-3815 Increase persistence on video of the lower resolution raster superoverlay tiles
  • GEOS-3823 Add SLD 1.0 GetStyles support
  • GEOS-3825 Allow the creation of parametrized SLD, and pass the parameter value down from GetMap
  • GEOS-3863 Improve default raster icon
  • GEOS-3890 A Simple PlugIn tutorial is not available in the new docs for geoserver version 2.0.x
  • GEOS-3897 CSSDemo page not well suited to prepare labelled maps
  • GEOS-3898 CSSDemoPage should show scale denominator
  • GEOS-3916 OWS configuration cannot parse service exceptions
  • GEOS-3919 Expose reference converters allowing code outside of XStreamPersister to use them
  • GEOS-3925 Log profiles choosable in the GUI should reflect what’s available on disk

Bug:

  • GEOS-2016 java.lang.NullPointerException on GeoTiff CoverageStore Creation
  • GEOS-2017 Reprojecting data coming from Oracle generate layout problems
  • GEOS-2020 Sample GetCoverage request fails with “colorModel == null”
  • GEOS-2841 GeoWebCache is not always able to see layers from GeoServer (Glassfish)
  • GEOS-3312 Default configuration for new GeoTIFF data sources makes WMS Capabilties document invalid
  • GEOS-3337 GetFeatureInfo on Layer Preview Fails Unless Workspace is Cite
  • GEOS-3408 Bad shapefile DBF causes shapefile datastore to lock
  • GEOS-3634 Empty layer group causes obscure error message
  • GEOS-3653 GML responses forces the full vector catalog to be loaded (and eventually re-disposed of)
  • GEOS-3683 JNDI factories lack the extra parameters the base factory exposes
  • GEOS-3702 WCS output shows shift
  • GEOS-3718 Saving new GeoTIFF store does not getting
  • GEOS-3723 NPE in the GWC transaction listener on update transactions
  • GEOS-3748 GeoServer loader can NPE on missing folders in the data directory
  • GEOS-3752 Avoid using File.deleteOnExit in production code
  • GEOS-3756 WFS Inserting a Point (map EPSG:900913 and Layer EPSG:4326) org.geotools.referencing.operation.projection.PointOutsideEnvelopeException: 727833.38323013 outside of (-180.0,180.0)
  • GEOS-3757 Request logging filter + log bodies option breaks Wicket AJAX requests
  • GEOS-3760 WFS with interesects filter using Box and reprojection does not work as expected
  • GEOS-3761 Reprojecting to EPSG:3031 sometimes breaks
  • GEOS-3762 GeoServer 2.0 does not work under Glassfish 3.0 final
  • GEOS-3764 Some raster configurations fail to persiste to due class cast exception
  • GEOS-3774 org.geoserver.wfs.WFSException: Could not locate FeatureStore for
  • GEOS-3776 Workspace names allow spaces and other invalid xml Name chars, breaks WFS capabilities
  • GEOS-3779 DispatcherCallback.finishedCallback won’t be called if there are issues writing out the output
  • GEOS-3781 Dipspatcher still logs about client aborting the request in a couple of places
  • GEOS-3782 GZip fiter breaks ServletResponse.flushBuffers contract
  • GEOS-3783 Have LegacyCatalogImporter set 4326 set SRS to 4326 when reading latLonBoundingBox elements
  • GEOS-3784 OPTIMIZE_LINE_WIDTH does not allow to re-enable the optimization on 2.0.x
  • GEOS-3796 JAIInitializer sets a recycling tile factory even if tile recycling is not enabled
  • GEOS-3800 Make it easier to build a pyramid following the mosaic approach
  • GEOS-3802 PointSymbolizer use on polygon features plots all symbol a the top left of the output
  • GEOS-3812 Update and Delete transactions fail if name space prefix is different than the declared one
  • GEOS-3819 REST API generates invalid internal links
  • GEOS-3830 UpdateSequence is not getting updated
  • GEOS-3833 Links on Layer page lack workspace scoping
  • GEOS-3835 Exception when trying to render dashed lines
  • GEOS-3837 kmlplacemark setting breaking raster map generation
  • GEOS-3846 ServiceInfo XStream deserialization may lead to null pointer exceptions
  • GEOS-3849 Too many open files left by wicket ui
  • GEOS-3855 GWC integration breaks with KML superoverlays
  • GEOS-3858 NullPointerException from PreviewLayer
  • GEOS-3861 GML LineStringType with 3 points where the first and last points are the same causes an exception
  • GEOS-3864 GWC seeder no longer protected by ACEGI
  • GEOS-3866 Query’s typeName attribute not correctly parsed when using XML POST
  • GEOS-3868 Rendering errors with epsg:4326 data reprojected to EPSG:28992
  • GEOS-3869 GeoServer does not update Geotools namespace
  • GEOS-3870 Null Pointer error on <Abstract /> short tag in SLD
  • GEOS-3876 DataStoreNamespaceUpdatingListener only works for GUI
  • GEOS-3878 Changing the default workspace won’t change the default namespace until restart
  • GEOS-3880 WmsException: Rendering process failed with a line geometry of null length
  • GEOS-3888 Rectangular graphics in tiled fills are being rendered (squished) to be square
  • GEOS-3893 SLD doesn’t validate when type parameter added to <ColorMap>
  • GEOS-3895 CSSDemo fails on an emtpy catalog
  • GEOS-3896 CSSDemo page fails to load in locales that use comma as the decimal separator
  • GEOS-3900 LineSymbolizer: Bigger Stroke-Width produces a corner
  • GEOS-3903 Drop down lists should not be sorted with case sensitivity
  • GEOS-3906 CSS module swaps linecap and linejoin values
  • GEOS-3907 When catalog as many vector layers (around 600), WFS transactions cause memory leaks and are very slow
  • GEOS-3908 Creating two workspaces with the same URI can break WFS
  • GEOS-3913 Shapefile validation disallows references to http published shapefiles
  • GEOS-3921 WMS capabilities LegendURL for alternate styles misses style name
  • GEOS-3924 IsDefault in GetStyles/NamedLayer/UserStyle should be 1 or 0, not true and false
  • GEOS-3937 WMS request fails from a WFS data store
  • GEOS-3969 CITE Testing: Missing or invalid response entity
  • GEOS-3973 Errors decompressing zipped shapefiles when sending them via rest to GeoServer
  • GEOS-4007 Unable to request wms getCapabilities
  • GEOS-4210 XSS vulnerability in gwc module
  • GEOS-4327 Layer Preview crash

Task:

  • GEOS-3809 Add community artifacts to nightly builds
  • GEOS-3832 show a legend preview in the layer publish page
  • GEOS-3914 Make IOUtils.zipDirectory not to take ownership of its argument output stream
Read More

Polymorphism in application-schema

Support for polymorphism is included in Geoserver 2.0.2. Why do we need polymorphism support in app-schema? Some complex attributes are polymorphic by nature, which means they can have different types for different features.

Before polymorphism was supported, attribute types had to be specified in the mapping file, so could not vary across features. With polymorphism support, filter functions can now be used to specify conditions when determining the encoded type.

For example:

If MaterialCode is “rock”, er:material should be encoded as gsml:RockMaterial, otherwise it should be encoded as gsml:Mineral.

This can be expressed in the mapping file like this:

<AttributeMapping>
    <targetAttribute>er:material</targetAttribute>
    <sourceExpression>
        <linkElement>
            if_then_else(equalTo(MaterialCode, 'rock'), 'gsml:RockMaterial', 'gsml:Mineral')
        </linkElement>
    </sourceExpression>
</AttributeMapping>

Another common example is replacing null values with an xlink:href to a URI representing missing values:

<AttributeMapping>
    <targetAttribute>er:startDate</targetAttribute>
    <sourceExpression>
        <linkElement>if_then_else(isNull(START_DATE), toXlinkHref('urn:ogc:def:nil:OGC::missing'),
                         'gml:TimeInstantPropertyType')
        </linkElement>
    </sourceExpression>
</AttributeMapping>

Read more about app-schema polymorphism support: polymorphism.

Read More