Re: [Geoserver-users] Failed to Add Raster Data Source

2019-08-16 Thread Andrea Aime
On Fri, Aug 16, 2019 at 1:10 AM Marks, Constant wrote: > I found that adding the prj file fixed this problem thanks to this python > script written by Mersey Viking found below. > > > > My question then is why does geoserver need this file for some tifs and > not for others? Is there something

Re: [Geoserver-users] Failed to Add Raster Data Source

2019-08-15 Thread Jody Garnett
tfw.write("%0.8f\n" % xform[2]) > >tfw.write("%0.8f\n" % xform[4]) > >tfw.write("%0.8f\n" % xform[5]) > > tfw.write("%0.8f\n" % edit1) > >tfw.write("%0.8f\n" % edit2) > >

Re: [Geoserver-users] Failed to Add Raster Data Source

2019-08-15 Thread Marks, Constant
s.argv[2]) From: Marks, Constant Sent: Thursday, August 15, 2019 2:03 PM To: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Failed to Add Raster Data Source Hello all. This may have come up before but I did not see a solution. Thank in advance for your help! I am stru

Re: [Geoserver-users] Failed to Add Raster Data Source

2019-08-15 Thread Marks, Constant
Hello all. This may have come up before but I did not see a solution. Thank in advance for your help! I am struggling to add a GeoTiff raster file to Geoserver. After some transformations and adding color to the original GeoTiff (which would also not load) here are the details:

Re: [Geoserver-users] Failed to Add Raster Data Source

2018-01-25 Thread Kris Johnson
Hi Daniele, Here is the error: 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 =

Re: [Geoserver-users] Failed to Add Raster Data Source

2018-01-24 Thread Daniele Romagnoli
Hi Kris, On Tue, Jan 23, 2018 at 7:23 PM, Kris Johnson wrote: > 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

Re: [Geoserver-users] Failed to Add Raster Data Source

2018-01-23 Thread Kris Johnson
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

Re: [Geoserver-users] Failed to Add Raster Data Source

2018-01-19 Thread Daniele Romagnoli
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:

Re: [Geoserver-users] Failed to Add Raster Data Source

2018-01-18 Thread Kris Johnson
Hi Russ, Thanks for this suggestion. I checked the permissions (via ls command) on the directory: drwxr-xr-x 2 root root0 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

Re: [Geoserver-users] Failed to Add Raster Data Source

2018-01-18 Thread Kris Johnson
Hi Daniele, Here's the output from gdalinfo: Driver: GTiff/GeoTIFF Files: L:\Statewide_NWI_LiDAR Derived_Data_Layers\DEM_3m_Statewide\DEM_Statewide _3m1.tif L:\Statewide_NWI_LiDAR Derived_Data_Layers\DEM_3m_Statewide\DEM_Statewide _3m1.tif.ovr L:\Statewide_NWI_LiDAR

Re: [Geoserver-users] Failed to Add Raster Data Source

2018-01-18 Thread Russ
I sometimes get this and it is normally permissions on the files/directory. > On 18 Jan 2018, at 17:21, Daniele Romagnoli > wrote: > > Hello Kris, > I see this message on your log: > GeoTiffMetadata2CRSAdapter::createCoordinateSystem:Only Geographic & >

Re: [Geoserver-users] Failed to Add Raster Data Source

2018-01-18 Thread Daniele Romagnoli
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,