Re: [OpenMap Users] WMS server - updated to current cvs++

From: Tore Halset <>
Date: Fri, 19 Jan 2007 12:59:12 +0100


Here is a new version of the WMS server patch. It is still not
complete, but works well with OpenLayers and uDig. Please let me know
of anything that must be changed for this patch to be accepted.

Changes since the prev version:
* Projections defined in are used in
checkProjectionType as well. projections were hardcoded here.
* Case insensitive wms request parameter names. Needed by TileCache.
* Transparent images.

In addition, I have the following in EPSG:4326 is
safe, but I am not completly sure that I have found the correct code
from Mercator.
# wms config
# separate aliases with space
# TODO: AUTO2:42001 projection units m or lat/lon degrees?
openmap.wms.projmap.Mercator=AUTO2:42001 EPSG:54004

Changes to existing files that are in CVS:
Files that are not in CVS:

  - Tore.

On Nov 29, 2006, at 16:55 , Tore Halset wrote:

> Hello.
> I have taken the latest version from the mail archive and done some
> changes. I realy hope that this could be submitted to OpenMap CVS.
> After my fixes, it works with OpenLayers and uDig.
> Changes to existing files that are in CVS:
> changes.patch
> Files that are not in CVS:
> The changes I have done:
> * removed as it had compile problems with PropUtils.
> This is
> only for use with SimpleHTTPServer and not the servlet
> * removed java 5 stuff like the enhanched for loop and generics
> * use ArrayList instead of Vector and HashMap instead of Hashtable
> * changed servlet init to take info from first request instead of init
> * openmap.props from /WEB-INF/.. (overridable by servlet subclasses)
> * default wms version 1.1.1 for clients that do not specify version nr
> * changed ProjectionFactory.getAvailableProjections to work while
> the factory is being changed. this happended using the OpenLayers
> wms client as it sends multiple simultanous requests
> To get the wmsservlet to work you need some more things to do:
> * add the following to
> #openmap.wms.Title=Sample Title
> #openmap.wms.Abstract=Sample Abstract
> #openmap.wms.Keyword=a b c
> #openmap.wms.projmap.Mercator=
> #openmap.wms.projmap.Orthographic=
> #openmap.wms.projmap.CADRG=
> openmap.wms.projmap.LLXY=EPSG:4326
> #openmap.wms.projmap.Gnomonic=
> * standard build should include wmsservlet
> * find aliases for the other projections. esp Mercator.
> * include the aliases in Projection interface or some other place
> in the java code.
> - Tore.
> --
> [To unsubscribe to this list send an email to ""
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jan 19 2007 - 07:05:12 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:08 EDT