Keeping the list in the loop since other devs can provide feedbacks on the
CRS topic.
---------- Forwarded message ----------
From: Gubler, Ruediger <rgub...@init-ka.de>
Date: Mon, Jul 13, 2015 at 2:37 PM
Subject: AW: [Geoserver-users] Coordinatesystem issue with MrSID
To: Daniele Romagnoli <daniele.romagn...@geo-solutions.it>
Hi Daniele,
I can view the data in the cached layer preview.
Generate tiles for zoom step 00 and 01 and start the preview.
This shows me the data and the coordinates in EPSG:4326.
The FME log says:
Predefined coordinate system `ORHP-NIF' (Oregon North Zone, Int. FT (or use
HARN/WO.OR-NIF)) matches dataset coordinate system
The OGC definition of the FME coordinate system 'ORHP-NIF' is
'PROJCS["NAD83(HARN) / Oregon
North",GEOGCS["NAD83(HARN)",DATUM["NAD83_High_Accuracy_Regional_Network",SPHEROID["GRS
1980",6378137,298.2572221010002,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6152"]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433],AUTHORITY["EPSG","4152"]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",46],PARAMETER["standard_parallel_2",44.33333333333334],PARAMETER["latitude_of_origin",43.66666666666666],PARAMETER["central_meridian",-120.5],PARAMETER["false_easting",8202099.737532808],PARAMETER["false_northing",0],UNIT["foot",0.3048,AUTHORITY["EPSG","9002"]],AUTHORITY["EPSG","2838"]]'
>From spatialreference, EPSG:2838 seems a "meter" of the Oregon North Zone
projection,
http://spatialreference.org/ref/epsg/2838/prettywkt/
Whilst 2913 is the "foot" one.
http://spatialreference.org/ref/epsg/2913/prettywkt/
FME Configuration: Source coordinate system for reader MRSID_1[MRSID] set
to `ORHP-NIF' as read from input data
Coordinate System `ORHP-NIF' parameters: CS_NAME=`ORHP-NIF' DESC_NM=`Oregon
North Zone, Int. FT (or use HARN/WO.OR-NIF)' DT_NAME=`HPGN' GROUP=`SPCSHPI'
MAP_SCL=`1' ORG_LAT=`43.6666666666667' ORG_LNG=`-120.5' PARM1=`46'
PARM2=`44.3333333333333' PROJ=`LM' QUAD=`1' SCL_RED=`1' SOURCE=`Calculated
from ORHP-N by Mentor Software' UNIT=`IFOOT' X_OFF=`8202099.73753281'
You MrSID sample has some GeoTIFF tags in metadata:
GEOTIFF_NUM__3072__ProjectedCSTypeGeoKey=2838
GEOTIFF_NUM__3076__ProjLinearUnitsGeoKey=9002 ---> (Linear foot, from here
<http://www.remotesensing.org/geotiff/spec/geotiff6.html#6.3.1.3>)
Maybe, the GDAL driver is having troubles in parsing it whilst FME reports
it has 2838 and rewrite it as 2913.
That being said,
could you please summarize how did you configure the layer you are
currently successfully seeing in layer cache preview?
- file: 1n1e01u.tif?
- CRS settings: Are you using 2913 or your custom 7328? And are you using
force declared?
Cheers,
Daniele
-- Rüdiger
*Von:* dany.geoto...@gmail.com [mailto:dany.geoto...@gmail.com] *Im Auftrag
von *Daniele Romagnoli
*Gesendet:* Montag, 13. Juli 2015 12:07
*An:* Gubler, Ruediger
*Cc:* geoserver-users@lists.sourceforge.net
*Betreff:* Re: [Geoserver-users] Coordinatesystem issue with MrSID
Hi Ruediger,
I have downloaded your files.
On Mon, Jul 13, 2015 at 8:27 AM, Gubler, Ruediger <rgub...@init-ka.de>
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.geoto...@gmail.com [mailto:dany.geoto...@gmail.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 <rgub...@init-ka.de>
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:
<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
------------------------------------------------------------------------------
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.
--
==
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.
------------------------------------------------------------------------------
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