Hi Daniele,
I tried creating the PRJ file as you instructed, but still encountered an
error.
However, when I examined the raster as you suggested with listgeo, it would
not even load and reported the following error:
Not a TIFF file, bad version number 43 (0x2b).
I'm not sure what that error indicates, but I'm going to try and reproduce
this raster (ie. re-export) again, and see if that solves it.
Thanks again for your help. I'll let you know what I find.
On Fri, Jan 19, 2018 at 3:37 AM, Daniele Romagnoli <
daniele.romagn...@geo-solutions.it> wrote:
> Hi Kris,
> I think that GeoServer is able to read/access that file since the metadata
> parsing was able to open a stream on that (at least, this is what I see
> from the logs).
> In my opinion, it is unable to setup the CoordinateReferenceSystem due to
> a not supported modelType found on the GeoTIFF tags:
> *GeoTiffMetadata2CRSAdapter::createCoordinateSystem:Only Geographic &
> Projected Systems are supported.*
> Listgeo tool can be helpful to report the actual ModelType.
>
> The GeoServer (GeoTools) GeoTiff reader only supports: ModelTypeGeographic
> and ModelTypeProjected
>
> References here: http://geotiff.maptools.org/spec/geotiff6.html#6.3
>
> You may want to try writing a text file with the WKT CRS definition stored
> on that (you may copy it from: http://spatialreference.
> org/ref/epsg/26915/prettywkt/).
> Then, rename that txt file to a file with .prj extension and same name of
> your actual GeoTIFF file and put that prj file beside the GeoTIFF itself.
> At that point, GeoServer will read the CoordinateReferenceSystem
> definition from the prj file instead of trying to parse the inner GeoTIFF
> tags.
>
> Please, let us know if that solves your problem.
> Regards,
> Daniele
>
>
> On Thu, Jan 18, 2018 at 8:13 PM, Kris Johnson <krist...@d.umn.edu> wrote:
>
>> Hi Russ,
>>
>> Thanks for this suggestion. I checked the permissions (via ls command) on
>> the directory:
>> drwxr-xr-x 2 root root 0 Jan 3 18:17 DEM_3m_Statewide
>> (Same permissions for all parent directories).
>>
>> ...and the files themselves:
>> -rwxr-xr-x 1 root root 90 Dec 21 18:12 DEM_Statewide_3m1.tfw
>> -rwxr-xr-x 1 root root 69G Dec 21 20:43 DEM_Statewide_3m1.tif
>> -rwxr-xr-x 1 root root 5.2K Jan 3 18:15 DEM_Statewide_3m1.tif.aux.xml
>> -rwxr-xr-x 1 root root 25G Dec 22 01:11 DEM_Statewide_3m1.tif.ovr
>> -rwxr-xr-x 1 root root 6.1K Jan 3 18:17 DEM_Statewide_3m1.tif.xml
>>
>> Here's the result of stat command on the TIF file itself:
>> File: /var/local/lidar/Statewide_NWI_LiDAR Derived_Data_Layers/DEM_3m_Sta
>> tewide/DEM_Statewide_3m1.tif
>> Size: 73163857426 Blocks: 142898160 IO Block: 16384 regular file
>> Device: 52h/82d Inode: 3096224743846410 Links: 1
>> Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
>> Access: 2017-12-21 18:12:46.841214100 +0000
>> Modify: 2017-12-21 20:43:39.126323800 +0000
>> Change: 2017-12-21 20:43:39.126323800 +0000
>> Birth: -
>>
>> I'm no linux expert, but I'm assuming geoserver would just need read
>> access, which is looks like everyone has.
>>
>> Do you have another method I might be overlooking to make sure Geoserver
>> has the proper access to those files and directories?
>> Another thought that is that the mount is a network drive from a windows
>> machine mounted on the host (and then mounted on the container). So this is
>> why I was curious about permissions and access.
>>
>> On Thu, Jan 18, 2018 at 12:06 PM, Russ <r...@russ-hore.co.uk> wrote:
>>
>>> I sometimes get this and it is normally permissions on the
>>> files/directory.
>>>
>>> On 18 Jan 2018, at 17:21, Daniele Romagnoli <
>>> daniele.romagn...@geo-solutions.it> wrote:
>>>
>>> Hello Kris,
>>> I see this message on your log:
>>> GeoTiffMetadata2CRSAdapter::createCoordinateSystem:Only Geographic &
>>> Projected Systems are supported.
>>>
>>> Do you have any chance to run "gdalinfo" on that file and report back
>>> the output of that command?
>>>
>>> Regards,
>>> Daniele
>>>
>>> On Thu, Jan 18, 2018 at 4:54 PM, Kris Johnson <krist...@d.umn.edu>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> I am running Geoserver (v. 2.12.1) in a docker container based on this
>>>> repo (https://github.com/oscarfonts/docker-geoserver)
>>>>
>>>> I am attempting to create a new layer based on a large GeoTIFF (150GB
>>>> uncompressed). The TIF file is on a directory mounted to the container.
>>>>
>>>> Here is the error message that appears:
>>>>
>>>>>
>>>>> Could not list layers for this store, an error occurred retrieving
>>>>> them: Failed to create reader from
>>>>> file:///var/local/lidar/Statewide_NWI_LiDAR
>>>>> Derived_Data_Layers/DEM_3m_Statewide/DEM_Statewide_3m1.tif and hints
>>>>> Hints: EXECUTOR_SERVICE = java.util.concurrent.ThreadPoo
>>>>> lExecutor@691d105[Running, pool size = 0, active threads = 0, queued
>>>>> tasks = 0, completed tasks = 0] REPOSITORY =
>>>>> org.geoserver.catalog.CatalogR
>>>>> epository@6f576373 System defaults: FORCE_AXIS_ORDER_HONORING = http
>>>>> STYLE_FACTORY = StyleFactoryImpl COMPARISON_TOLERANCE = 1.0E-8
>>>>> LENIENT_DATUM_SHIFT = true FILTER_FACTORY = FilterFactoryImpl
>>>>> GRID_COVERAGE_FACTORY = GridCoverageFactory TILE_ENCODING = null
>>>>> FORCE_LONGITUDE_FIRST_AXIS_ORDER = true FEATURE_FACTORY =
>>>>> org.geotools.feature.LenientFeatureFactoryImpl@1a10bb77
>>>>
>>>>
>>>> I have attached the logfile as well.
>>>> Thank you for any help you can provide.
>>>>
>>>> --
>>>> Kris Johnson
>>>> Natural Resources Research Institute
>>>> 5013 Miller Trunk Highway, Duluth, MN 55811
>>>> <https://maps.google.com/?q=5013+Miller+Trunk+Highway,+Duluth,+MN+55811&entry=gmail&source=g>
>>>> p: 218.788.2767 <(218)%20788-2767>
>>>> www.nrri.umn.edu
>>>>
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> Geoserver-users mailing list
>>>>
>>>> Please make sure you read the following two resources before posting to
>>>> this list:
>>>> - Earning your support instead of buying it, but Ian Turton:
>>>> http://www.ianturton.com/talks/foss4g.html#/
>>>> - The GeoServer user list posting guidelines:
>>>> http://geoserver.org/comm/userlist-guidelines.html
>>>>
>>>> If you want to request a feature or an improvement, also see this:
>>>> https://github.com/geoserver/geoserver/wiki/Successfully-req
>>>> uesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>>
>>>>
>>>> Geoserver-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Daniele Romagnoli
>>> ==
>>> 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 di Montramito 3/A
>>> <https://maps.google.com/?q=Via+di+Montramito+3/A55054+%C2%A0Massarosa&entry=gmail&source=g>
>>> 55054
>>> <https://maps.google.com/?q=Via+di+Montramito+3/A55054+%C2%A0Massarosa&entry=gmail&source=g>
>>>
>>> <https://maps.google.com/?q=Via+di+Montramito+3/A55054+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E%C2%A0Massarosa+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E&entry=gmail&source=g>
>>> Massarosa
>>> <https://maps.google.com/?q=Via+di+Montramito+3/A55054+%C2%A0Massarosa&entry=gmail&source=g>
>>> (LU)
>>> Italy
>>> phone: +39 0584 962313 <+39%200584%20962313>
>>> fax:
>>> <https://maps.google.com/?q=Via+di+Montramito+3/A55054+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E%C2%A0+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%253Chttps://maps.google.com/?q%253DVia%252Bdi%252BMontramito%252B3/A55054%252B%2525C2%2525A0Massarosa%2526entry%253Dgmail%2526source%253Dg%253E%25C2%25A0Massarosa%2B%253Chttps://maps.google.com/?q%253DVia%252Bdi%252BMontramito%252B3/A55054%252B%2525C2%2525A0Massarosa%2526entry%253Dgmail%2526source%253Dg%253E%26entry%3Dgmail%26source%3Dg%3EMassarosa+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E&entry=gmail&source=g>
>>> +39 0584 1660272 <+39%200584%20166%200272>
>>>
>>> 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.
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>
>>> _______________________________________________
>>> Geoserver-users mailing list
>>>
>>> Please make sure you read the following two resources before posting to
>>> this list:
>>> - Earning your support instead of buying it, but Ian Turton:
>>> http://www.ianturton.com/talks/foss4g.html#/
>>> - The GeoServer user list posting guidelines:
>>> http://geoserver.org/comm/userlist-guidelines.html
>>>
>>> If you want to request a feature or an improvement, also see this:
>>> https://github.com/geoserver/geoserver/wiki/Successfully-req
>>> uesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>
>>>
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>>
>> --
>> Kris Johnson
>> Natural Resources Research Institute
>> 5013 Miller Trunk Highway, Duluth, MN 55811
>> <https://maps.google.com/?q=5013+Miller+Trunk+Highway,+Duluth,+MN+55811&entry=gmail&source=g>
>> p: 218.788.2767 <(218)%20788-2767>
>> www.nrri.umn.edu
>>
>>
>
>
> --
> Regards,
> Daniele Romagnoli
> ==
> 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 di Montramito 3/A
> <https://maps.google.com/?q=Via+di+Montramito+3/A55054+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E%C2%A0+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%253Chttps://maps.google.com/?q%253DVia%252Bdi%252BMontramito%252B3/A55054%252B%2525C2%2525A0Massarosa%2526entry%253Dgmail%2526source%253Dg%253E%25C2%25A0Massarosa%2B%253Chttps://maps.google.com/?q%253DVia%252Bdi%252BMontramito%252B3/A55054%252B%2525C2%2525A0Massarosa%2526entry%253Dgmail%2526source%253Dg%253E%26entry%3Dgmail%26source%3Dg%3EMassarosa+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E&entry=gmail&source=g>
> 55054
> <https://maps.google.com/?q=Via+di+Montramito+3/A55054+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E%C2%A0+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%253Chttps://maps.google.com/?q%253DVia%252Bdi%252BMontramito%252B3/A55054%252B%2525C2%2525A0Massarosa%2526entry%253Dgmail%2526source%253Dg%253E%25C2%25A0Massarosa%2B%253Chttps://maps.google.com/?q%253DVia%252Bdi%252BMontramito%252B3/A55054%252B%2525C2%2525A0Massarosa%2526entry%253Dgmail%2526source%253Dg%253E%26entry%3Dgmail%26source%3Dg%3EMassarosa+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E&entry=gmail&source=g>
> Massarosa
> <https://maps.google.com/?q=Via+di+Montramito+3/A55054+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E%C2%A0+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%253Chttps://maps.google.com/?q%253DVia%252Bdi%252BMontramito%252B3/A55054%252B%2525C2%2525A0Massarosa%2526entry%253Dgmail%2526source%253Dg%253E%25C2%25A0Massarosa%2B%253Chttps://maps.google.com/?q%253DVia%252Bdi%252BMontramito%252B3/A55054%252B%2525C2%2525A0Massarosa%2526entry%253Dgmail%2526source%253Dg%253E%26entry%3Dgmail%26source%3Dg%3EMassarosa+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E&entry=gmail&source=g>
> (LU)
> Italy
> phone: +39 0584 962313 <+39%200584%20962313>
> fax: +39 0584 1660272 <+39%200584%20166%200272>
>
> 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.
>
>
--
Kris Johnson
Natural Resources Research Institute
5013 Miller Trunk Highway, Duluth, MN 55811
p: 218.788.2767
www.nrri.umn.edu
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users