[Geoserver-devel] Gs2.5.2 ImageMosaic layers show totally white image for version=1.3.0 even if bbox values swapped. Related to GEOS-6651.

Hi,

I had not noticed before that EPSG folks are trolling with the official remarks as in

http://www.epsg-registry.org/indicio/query?request=GetRepositoryItem&id=urn:ogc:def:crs:EPSG::3067

gml:remarksIdentical to ETRS89 / UTM zone 35N (code 25835) except for area of use.

See ETRS89 / TM35FIN(N,E) (code 5048) for more usually used alternative with

axis order reversed.</gml:remarks>

Nobody uses EPSG:5048 in Finland as far as I know.

-Jukka Rahkonen-

···

Andrea Aime wrote:

On Wed, Sep 24, 2014 at 11:58 AM, Ville Karppinen <ville.karppinen@…3920…> wrote:

My question is related to the issue https://jira.codehaus.org/browse/GEOS-6651 which ended up to be a user error related to the bbox value. It seems that when version 1.3.0 bbox coordinates are swapped, only some of the images are shown properly. This seems to depend on the srs-value. For example in our services, &srs=EPSG:3035 shows images properly but when using &srs=EPSG:3067 images become totally white.

Yes, WMS 1.3 requires swapped coordinates only if the SRS in question uses

north/east orientation in the official EPSG database, you can check its online

version here: http://www.epsg-registry.org/

As a simplified rule, most of the geographic CRS need to use lat/lon order,

most of the projected ones are east/north instead (although there are a few exceptions

of projected SRS that still use north/east order)

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf

Technical Lead

GeoSolutions S.A.S.

Via Poggio alle Viti 1187

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39 339 8844549

http://www.geo-solutions.it

http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Thank you really much Andrea and Jukka for your quick answers.

I am still wondering, why is it so that I can not get a proper image when using EPSG:3067 even if I try bbox in both ways. If I swap the value, I get white image. If I do not swap, I get the error XML.

So, does it require that I need to use totally different SRS?

White:
http://wms.fmi.fi/fmi-apikey/4bda0057-9e4a-453e-9fa9-966a15a368e1/geoserver/Radar/wms?LAYERS=Radar%3Asuomi_rr_eureffin&STYLES=&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&SRS=EPSG%3A3067&BBOX=6335621.1670142,-117278.40864788,7907751.5372634,874514.7741461&WIDTH=323&HEIGHT=512

Error:
http://wms.fmi.fi/fmi-apikey/4bda0057-9e4a-453e-9fa9-966a15a368e1/geoserver/Radar/wms?LAYERS=Radar%3Asuomi_rr_eureffin&STYLES=&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&SRS=EPSG%3A3067&BBOX=-117278.40864788,6335621.1670142,874514.7741461,7907751.5372634&WIDTH=323&HEIGHT=512

Best regards,

Ville Karppinen
ville.karppinen@anonymised.com
+358407509542

On 09/24/2014 01:22 PM, Rahkonen Jukka (Tike) wrote:

Hi,

I had not noticed before that EPSG folks are trolling with the official remarks as in

http://www.epsg-registry.org/indicio/query?request=GetRepositoryItem&id=urn:ogc:def:crs:EPSG::3067

<gml:remarks>Identical to ETRS89 / UTM zone 35N (code 25835) except for area of use.

See ETRS89 / TM35FIN(N,E) (code 5048) for more usually used alternative with

axis order reversed.</gml:remarks>

Nobody uses EPSG:5048 in Finland as far as I know.

-Jukka Rahkonen-

Andrea Aime wrote:

On Wed, Sep 24, 2014 at 11:58 AM, Ville Karppinen <ville.karppinen@anonymised.com <mailto:ville.karppinen@anonymised.com>> wrote:

My question is related to the issue https://jira.codehaus.org/browse/GEOS-6651 which ended up to be a user error related to the bbox value. It seems that when version 1.3.0 bbox coordinates are swapped, only some of the images are shown properly. This seems to depend on the srs-value. For example in our services, &srs=EPSG:3035 shows images properly but when using &srs=EPSG:3067 images become totally white.

Yes, WMS 1.3 requires swapped coordinates only if the SRS in question uses

north/east orientation in the official EPSG database, you can check its online

version here: http://www.epsg-registry.org/

As a simplified rule, most of the geographic CRS need to use lat/lon order,

most of the projected ones are east/north instead (although there are a few exceptions

of projected SRS that still use north/east order)

Cheers

Andrea

--

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf

Technical Lead

GeoSolutions S.A.S.

Via Poggio alle Viti 1187

55054 Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39 339 8844549

http://www.geo-solutions.it

http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

-------------------------------------------------------