[Geoserver-users] Coordinatesystem issue with MrSID

Hello,

I have a problem with MrSID files.
I created an ImageMosaic datastore pointing to the MrSID files.
In the publish dialog the wrong native coordinate system will be displayed.
I added the correct one into the user_projections and set this as the reference coordinate system.
See screenshot "GeoServer - CoordSys setting.png"

In the publish page I switched to the correct coordinatedsystem for Request and Response SRS.
See screenshot "GeoServer - Publish setting.png"

The preview and clients are showing the data now at the wrong position
Center around -62.27250, 32.37444 (EPSG:4326).

The description of the MrSid says:

  <gridsysn>State plane coordinate system 1983.</gridsysn>
  <spcszone>5076</spcszone>
  <plandu>International feet</plandu>
  <horizdn>North American Datum of 1983/1991 (HPGN)</horizdn>
  
This let me choose the EPSG:7328

If I open one MrSID file in QGis it choose the wrong WPSG:2838 as well and showing the data at lon -62.xxxx (EPSG:4326).
After switching to EPSG:7328 the position is lon -123.xxxx (EPSG:4326).

Any idea what is going wrong?

-- Rüdiger

GeoServer - CoordSys setting.png

GeoServer - Publish setting.png

Dear Ruediger,
I’m not sure if that could be a specific problem in MrSID plugins but I don’t have your data so I can’t directly debug it.
However, do you have any chance to convert it to GeoTIFF without changing CRS, so that should have the same “wrong” CRS, and repeat the procedure with the GeoTIFF?
That would allows understanding if the problem is MrSID Driver specific or is it in the CRS management, instead.

Please, let me know. (Also let me know if you don’t know how to convert it to GeoTIFF through GDAL and double check the CRS for the 2 files is the same).

Cheers,
Daniele

···

On Wed, Jul 8, 2015 at 10:06 AM, Gubler, Ruediger <rgubler@anonymised.com> wrote:

Hello,

I have a problem with MrSID files.
I created an ImageMosaic datastore pointing to the MrSID files.
In the publish dialog the wrong native coordinate system will be displayed.
I added the correct one into the user_projections and set this as the reference coordinate system.
See screenshot “GeoServer - CoordSys setting.png”

In the publish page I switched to the correct coordinatedsystem for Request and Response SRS.
See screenshot “GeoServer - Publish setting.png”

The preview and clients are showing the data now at the wrong position
Center around -62.27250, 32.37444 (EPSG:4326).

The description of the MrSid says:

State plane coordinate system 1983.
5076
International feet
North American Datum of 1983/1991 (HPGN)

This let me choose the EPSG:7328

If I open one MrSID file in QGis it choose the wrong WPSG:2838 as well and showing the data at lon -62.xxxx (EPSG:4326).
After switching to EPSG:7328 the position is lon -123.xxxx (EPSG:4326).

Any idea what is going wrong?

– Rüdiger


Don’t Limit Your Business. Reach for the Cloud.
GigeNET’s Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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.

Hi,

I converted one tile of the MrSID to GeoTiff using the FME software.

The coordinatesystem was not changed in the FME.

After importing the MrSID and the GeoTiff tiles into Geoserver the WebGUI shows two different coordinatesystems.

MrSID: EPSG:2838

GeoTiff: EPSG:2913

The preview of the GeoTiff tile shows the correct coordinates.

The data (MrSID, GeoTiff) and the FME workbench is stored in our filebox for the next 2 weeks:

Please go to the INIT web site http://filebox.initag.com/ to download the files listed below.

Use the password: 2Mo*K!6p

Files:

MrSid_Test.7z

The files will be available for download until 7/27/2015 8:26:05 AM (CET).

Yours Rüdiger

Von: dany.geotools@…84… [mailto:dany.geotools@…84…] Im Auftrag von Daniele Romagnoli
Gesendet: Donnerstag, 9. Juli 2015 12:56
An: Gubler, Ruediger
Cc: geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] Coordinatesystem issue with MrSID

Dear Ruediger,

I’m not sure if that could be a specific problem in MrSID plugins but I don’t have your data so I can’t directly debug it.

However, do you have any chance to convert it to GeoTIFF without changing CRS, so that should have the same “wrong” CRS, and repeat the procedure with the GeoTIFF?

That would allows understanding if the problem is MrSID Driver specific or is it in the CRS management, instead.

Please, let me know. (Also let me know if you don’t know how to convert it to GeoTIFF through GDAL and double check the CRS for the 2 files is the same).

Cheers,

Daniele

On Wed, Jul 8, 2015 at 10:06 AM, Gubler, Ruediger <rgubler@…5482…> wrote:

Hello,

I have a problem with MrSID files.
I created an ImageMosaic datastore pointing to the MrSID files.
In the publish dialog the wrong native coordinate system will be displayed.
I added the correct one into the user_projections and set this as the reference coordinate system.
See screenshot “GeoServer - CoordSys setting.png”

In the publish page I switched to the correct coordinatedsystem for Request and Response SRS.
See screenshot “GeoServer - Publish setting.png”

The preview and clients are showing the data now at the wrong position
Center around -62.27250, 32.37444 (EPSG:4326).

The description of the MrSid says:

State plane coordinate system 1983.
5076
International feet
North American Datum of 1983/1991 (HPGN)

This let me choose the EPSG:7328

If I open one MrSID file in QGis it choose the wrong WPSG:2838 as well and showing the data at lon -62.xxxx (EPSG:4326).
After switching to EPSG:7328 the position is lon -123.xxxx (EPSG:4326).

Any idea what is going wrong?

– Rüdiger


Don’t Limit Your Business. Reach for the Cloud.
GigeNET’s Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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.

Hi Ruediger,
I have downloaded your files.

···

On Mon, Jul 13, 2015 at 8:27 AM, Gubler, Ruediger <rgubler@anonymised.com> wrote:

Hi,

I converted one tile of the MrSID to GeoTiff using the FME software.

The coordinatesystem was not changed in the FME.

After importing the MrSID and the GeoTiff tiles into Geoserver the WebGUI shows two different coordinatesystems.

MrSID: EPSG:2838

GeoTiff: EPSG:2913

Mmm… I would say that FME changed the CoordinateSystem instead, since the reported EPSGs are different…
OR, GDAL is reporting a wrong EPSG from the MrSID file whilst FME is recognizing the proper one.

I did a test by using gdal_translate to convert from MrSID to GeoTIFF and in that case the GeoTIFF’s CRS is still EPSG:2838.
Therefore, the behaviour of my GeoTIFF is the same of MrSID.

The preview of the GeoTiff tile shows the correct coordinates.

Are you referring to the BBOX reported in the data tab of the layer configuration or are you talking about the layer preview instead?
I’m asking this because I’m still unable to see anything in layerPreview, and I see NaN coordinates too in LayerPreview.
(Wondering if it’s a problem related to this specific Projection).

Please, let us know.
Cheers,
Daniele

The data (MrSID, GeoTiff) and the FME workbench is stored in our filebox for the next 2 weeks:

Please go to the INIT web site http://filebox.initag.com/ to download the files listed below.

Use the password: 2Mo*K!6p

Files:

MrSid_Test.7z

The files will be available for download until 7/27/2015 8:26:05 AM (CET).

Yours Rüdiger

Von: dany.geotools@anonymised.com [mailto:dany.geotools@anonymised.com] Im Auftrag von Daniele Romagnoli
Gesendet: Donnerstag, 9. Juli 2015 12:56
An: Gubler, Ruediger
Cc: geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] Coordinatesystem issue with MrSID

Dear Ruediger,

I’m not sure if that could be a specific problem in MrSID plugins but I don’t have your data so I can’t directly debug it.

However, do you have any chance to convert it to GeoTIFF without changing CRS, so that should have the same “wrong” CRS, and repeat the procedure with the GeoTIFF?

That would allows understanding if the problem is MrSID Driver specific or is it in the CRS management, instead.

Please, let me know. (Also let me know if you don’t know how to convert it to GeoTIFF through GDAL and double check the CRS for the 2 files is the same).

Cheers,

Daniele

On Wed, Jul 8, 2015 at 10:06 AM, Gubler, Ruediger <rgubler@anonymised.com> wrote:

Hello,

I have a problem with MrSID files.
I created an ImageMosaic datastore pointing to the MrSID files.
In the publish dialog the wrong native coordinate system will be displayed.
I added the correct one into the user_projections and set this as the reference coordinate system.
See screenshot “GeoServer - CoordSys setting.png”

In the publish page I switched to the correct coordinatedsystem for Request and Response SRS.
See screenshot “GeoServer - Publish setting.png”

The preview and clients are showing the data now at the wrong position
Center around -62.27250, 32.37444 (EPSG:4326).

The description of the MrSid says:

State plane coordinate system 1983.
5076
International feet
North American Datum of 1983/1991 (HPGN)

This let me choose the EPSG:7328

If I open one MrSID file in QGis it choose the wrong WPSG:2838 as well and showing the data at lon -62.xxxx (EPSG:4326).
After switching to EPSG:7328 the position is lon -123.xxxx (EPSG:4326).

Any idea what is going wrong?

– Rüdiger


Don’t Limit Your Business. Reach for the Cloud.
GigeNET’s Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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.

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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.

Keeping the list in the loop since other devs can provide feedbacks on the CRS topic.

···

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

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.