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

From: Don Dietrick <dietrick_at_bbn.com>
Date: Thu, 25 Jan 2007 17:12:28 -0500

Hi Tore,

I've incorporated these updates into the code base. Sorry for the
delay in getting this done, and thanks for your persistence and updates!

- Don

On Jan 24, 2007, at 4:39 PM, Tore Halset wrote:

> Hello.
>
> Here you have an updated version of the WMS patch. It revert a
> change from Vector to List in ProjectionFactory as at least
> com.bbn.openmap.gui.menu.ProjectionMenu need it to be a Vector.
> Thanks Ru for pointing out the problem.
>
> Changes to existing files that are in CVS:
> http://www.pvv.ntnu.no/~halset/tmp/20070124-openmap-wmsserver-
> changes.patch
> Files that are not in CVS:
> http://www.pvv.ntnu.no/~halset/tmp/20070124-openmap-wmsserver-new-
> files.zip
>
> I have also tested this with ossimPlanet and it works well. Very cool!
> http://www.ossim.org/OSSIM/ossimPlanet%20Overview.html
>
> - Tore.
>
> On Jan 19, 2007, at 12:59, Tore Halset wrote:
>
>> Hello.
>>
>> 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 openmap.properties 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 openmap.properties. 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
>> # http://wiki.osgeo.org/index.php/WMS_Tiling_Client_Recommendation
>> # http://www.epsg.org/
>> # http://remotesensing.org/geotiff/proj_list/
>> # TODO: AUTO2:42001 projection units m or lat/lon degrees?
>> openmap.wms.projmap.Mercator=AUTO2:42001 EPSG:54004
>> openmap.wms.projmap.LLXY=EPSG:4326
>> openmap.wms.projmap.Orthographic=AUTO2:42003
>> ###
>>
>> Changes to existing files that are in CVS:
>> http://www.pvv.ntnu.no/~halset/tmp/20061128-openmap-wmsserver-
>> changes.v2.patch
>> Files that are not in CVS:
>> http://www.pvv.ntnu.no/~halset/tmp/20061128-openmap-wmsserver-new-
>> files.v2.zip
>>
>> Regards,
>> - 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:
>>> http://www.pvv.ntnu.no/~halset/tmp/20061128-openmap-wmsserver-
>>> changes.patch
>>> Files that are not in CVS:
>>> http://www.pvv.ntnu.no/~halset/tmp/20061128-openmap-wmsserver-new-
>>> files.zip
>>>
>>> The changes I have done:
>>> * removed MapServer.java 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.properties
>>> #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=
>>>
>>> TODO:
>>> * 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 "majdart_at_bbn.com"
>>> with the following text in the BODY of the message "unsubscribe
>>> openmap-users"]
>>
>> --
>> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
>> with the following text in the BODY of the message "unsubscribe
>> openmap-users"]
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Jan 25 2007 - 17:14:25 EST

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