Hi Björn
Lets go with <ignoreAxisOrder>
Can you create a JIRA improvement issue. It would be nice if you can attach
your modified version of
ImageMosaicJDBCReader.java, this would hurry up the procedure.
On 5 March 2013 23:42, Björn Höfling <[email protected]>wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Christian,
>
> On 03/04/2013 12:37 PM, Christian Mueller wrote:
> > Hi Björn
> >
> > The module is part of geotools and used by geoserver. Since I do
> > not want to break existing behaviour I can imagine the following
> > solution.
> >
> > Adding a new xml configuration element <ignoreAxisOrder> which
> > defaults to false. If it is true, I can skip the code switching the
> > x and y values.
>
> Since I too do not know which applications need this
> axis-order-switching code, your solution sounds great.
>
>
> > In your concrete example, I assume if ignoreAxisOrder is true,
> > your WMS 1.3.0 request will work but the WMS 1.0 requests will not.
> > But we have to test.
>
> No. When I comment out the axis-order code, it works perfectly well
> for both WMS 1.1.0 and 1.3.0 versions.
>
> The reason for this is that in 1.3.0 GeoServer already changes the
> axis order in the input CRS and thus the calculated MathTransform is
> already the transposition of x and y, i.e is the matrix
>
> 01
> 10
>
> The MathTransform code is in line 343 of
>
> modules/plugin/imagemosaic-jdbc/src/main/java/org/geotools/gce/imagemosaic/jdbc/ImageMosaicJDBCReader.java
>
> But this hold of cause only in my case. I'm too unfamilar with the
> Axis-Order-Handling of GeoServer. Maybe someone else knows for sure?
>
> Björn
>
>
> - --
> Dipl.-Inf. Björn Höfling
> Software Developer (GIS, Java)
> http://www.bjoernhoefling.de/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with undefined - http://www.enigmail.net/
>
> iEYEARECAAYFAlE2dL4ACgkQvyhstlk+X/3mcwCgpU4D8NLQs+e9KpOy2N+/qOoK
> y6MAnjLHhv+xsgZsl97HvV1Kt0wSOvDr
> =HNVs
> -----END PGP SIGNATURE-----
>
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel