Re: [OpenMap Users] OpenMaps LLXY Projection with UMN MapServer

From: Don Dietrick <dietrick_at_bbn.com>
Date: Mon, 1 Dec 2008 22:39:21 -0500

Hi Jeff,

If there's a problem loading the specified projection, Mercator gets
loaded. Make sure the ProjectionFactoryLoader for the LLXY projection
is getting added in the ProjectionFactory properties. It probably is
if you started with the default openmap.propertes file, i.e.:

projFactoryLoader.class=com.bbn.openmap.proj.ProjectionFactoryLoader
projFactoryLoader.projectionLoaders=mercatorloader cadrgloader
ortholoader llxyloader gnomonicloader
projFactoryLoader
.mercatorloader.class=com.bbn.openmap.proj.MercatorLoader
projFactoryLoader.cadrgloader.class=com.bbn.openmap.proj.CADRGLoader
projFactoryLoader
.ortholoader.class=com.bbn.openmap.proj.OrthographicLoader
projFactoryLoader.llxyloader.class=com.bbn.openmap.proj.LLXYLoader
projFactoryLoader
.gnomonicloader.class=com.bbn.openmap.proj.GnomonicLoader

Also, if you cut-and-pasted the property below from your properties
file, Projection is misspelled, which would also cause this problem.

If the LLXY projection is set on the map, the image from the WMS
should line up for a EPSG 4326 request.

Hope this helps,

- Don


On Dec 1, 2008, at 4:26 PM, jeffcopes wrote:

>
> All,
>
> Has anyone had the experience of having raster map data, returned
> from a WMS
> in WGS 84 or EPSG 4326 lat long projection, being displayed
> incorrectly in
> OpenMap?
>
> In my openmap.properties file, I specified the following projection:
>
> openmap.Projecion=com.bbn.openmap.proj.LLXY
>
> Raster data from two different WMS services appear to be misaligned
> with
> vector data on the map when zoomed out (1:70 000 000). At this
> scale, from
> the lat/lon overlay lines, the projection of the OpenMap appears to be
> Mercator. The mouse cursor readout agrees with the lat/lon overlay
> lines,
> also.
>
> When using higher resolution raster data from one of the above
> mentioned map
> services, there is no noticable misalignment.
>
> Any help would be appreciated.
>
> Thanks,
>
> Jeff
> --
> View this message in context: http://www.nabble.com/OpenMaps-LLXY-Projection-with-UMN-MapServer-tp20780897p20780897.html
> Sent from the OpenMap mailing list archive at Nabble.com.
>
> --
> [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 Mon Dec 01 2008 - 22:40:16 EST

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