Thanks for the help Andrea,

What srs_def would I need to use in conjuction with the -a_srs option?

From your tutorial the srs_def may be any of the usual GDAL/OGR forms, complete 
WKT, PROJ.4, EPSG:n or a file containing the WKT.

Regards,

Alex Gardner
Product Support Engineer - Collision Avoidance & Geospatial Systems
GE Mining

M +614 66 102 204
alex.gardn...@ge.com<mailto:alex.gardn...@ge.com>
www.getransportation.com/mining<http://www.getransportation.com/mining>


3 Co-Wyn Close
Fountaindale, New South Wales, 2258, Australia
Industrea Mining Technology


From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: Tuesday, August 29, 2017 5:38 PM
To: Gardner, Alex(GE Transportation) <alex.gardn...@ge.com>
Cc: geoserver-users@lists.sourceforge.net
Subject: EXT: Re: [Geoserver-users] Adding a GeoTIFF

Hi,
I believe the issue is with the coordinate reference system, it does not make 
sens (at least to me)
to claim a local CS based on a ellipsoid but without any projection in the 
middle.

You can use gdal_translate to force a proper CRS for it, I believe using th 
-a_srs option.

While you're at it, retile it and  add overviews, the performance of such a big 
tiff as is, without any pre-processing, will be
really bad anyways. Tutorial here:

http://geoserver.geo-solutions.it/edu/en/raster_data/processing.html

Cheers
Andrea


On Tue, Aug 29, 2017 at 8:36 AM, Gardner, Alex(GE Transportation) 
<alex.gardn...@ge.com<mailto:alex.gardn...@ge.com>> wrote:
Hi All,

I am new to GeoServer and was hoping for some assistance in adding a GeoTIFF 
file.

I received what I believe is a GeoTIFF file and copied it up to the 
\programs(x86)\GeoServer 2.11.2\data_dir\data directory.
I then added a new Store and selected the GeoTIFF option.
I then browse to the files location in order to set the GeoTIFF in the URL 
field.
Hitting Save throws the following ERROR: “could not list layers for this store, 
an error occurred retrieving them: no input stream for the provided source”

I assume it is a problem with my GeoTIFF file? gdalinfo shows the following 
info for the image, is there something wrong with my file? What is missing here?

Driver: GTiff/GeoTIFF
Files: imagen mina geo_geotif.tif
Size is 33044, 17418
Coordinate System is:
LOCAL_CS["unnamed",
   GEOGCS["unknown",
        DATUM["unknown",
            SPHEROID["Bessel 1841",6377397.155,299.1528131060796,
                AUTHORITY["EPSG","7004"]]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433]],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]]]
Origin = (-69.364977836724194,-22.746982851996489)
Pixel Size = (0.000006108275703,-0.000006108275703)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  COMPRESSION=LZW
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  ( -69.3649778, -22.7469829)
Lower Left  ( -69.3649778, -22.8533768)
Upper Right ( -69.1631360, -22.7469829)
Lower Right ( -69.1631360, -22.8533768)
Center      ( -69.2640569, -22.8001798)
Band 1 Block=33044x32 Type=Byte, ColorInterp=Red
Band 2 Block=33044x32 Type=Byte, ColorInterp=Green
Band 3 Block=33044x32 Type=Byte, ColorInterp=Blue

Regards,

Alex Gardner
Product Support Engineer - Collision Avoidance & Geospatial Systems
GE Mining

M +614 66 102 204
alex.gardn...@ge.com<mailto:alex.gardn...@ge.com>
www.getransportation.com/mining<http://www.getransportation.com/mining>


3 Co-Wyn Close
Fountaindale, New South Wales, 2258, Australia
Industrea Mining Technology


------------------------------------------------------------------------------
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

Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--

Regards,

Andrea Aime

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

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
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.

------------------------------------------------------------------------------
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

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

Reply via email to