[Geoserver-users] srs epsg:unknown error

I'm new to geoserver, but from what I've seen it looks
great! However, I can't get it to load my geotiff file.

I went through the tutorial using sample.tiff and it loaded
fine. When I do those same steps with my own geotiff (whose
gdalinfo is below), I get the error:
   Unknown SRS EPSG:UNKNOWN
upon submitting it in the 'Coverage Editor/Edit Coverage
meta-data' page.

There is a .tfw file with the .tiff. Is that data reduntant
to what is in the geotiff header of the file?

Do I need to add more epsg definitions to the
epsg.properties file? There are only 26 lines in that file.
Shouldn't there be lots more?

Can geoserver handle this format? Do I need to use
gdal_translate or something similar to convert this file to
something that geoserver does like?

Thank you,

Wendell

server: geoserver-1.6.4b-bin.zip
os: Fedora 3
-----------------------------------------------------------------------------------------

PROJCS[" Projection Name = Lambert Conformal Conic Units =
meters GeoTIFF Units = meters",
    GEOGCS["NAD83",
        DATUM["North_American_Datum_1983",
            SPHEROID["GRS 1980",6378137,298.2572221010042,
                AUTHORITY["EPSG","7019"]],
            AUTHORITY["EPSG","6269"]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433],
        AUTHORITY["EPSG","4269"]],
    PROJECTION["Lambert_Conformal_Conic_2SP"],
    PARAMETER["standard_parallel_1",38.66667],
    PARAMETER["standard_parallel_2",33.33333],
    PARAMETER["latitude_of_origin",34],
    PARAMETER["central_meridian",-105.5],
    PARAMETER["false_easting",0],
    PARAMETER["false_northing",0],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]]]

Hi Wendell,
GeoServer supports both GeoTIFFs and images with world file attached the problem here is to understand if your image is a valid geotiff or not. You need to choose the specific plugin when creating the CoverageStore.
However if your image is a GeoTIFF the TFW file is unuseful.

Your problem may depend to the fact that CRS information are not fully stored into the geotiff or at least your CRS does not have a known EPSG code attached.
You can always try to force one by manually inserting the code and then cliccking the ‘generate’ button. GeoServer will force a projection from your native ‘UNKNOWN’ CRS (i.e. defined by a WKT lacking of a valid EPSG code) to the one you specified. Of course you have to be sure that the EPSG code you specify is defined somewhere. Notice that the epsg.properties file is used only for custom definitions, the real EPSG database is handled by GeoTools under the hood (you should notice a geotools folders in the temp directory of your Servlet Container).

Cheers,
Alessio.

On Wed, Jun 18, 2008 at 3:51 AM, Wendell Turner <wendell@anonymised.com> wrote:

I’m new to geoserver, but from what I’ve seen it looks
great! However, I can’t get it to load my geotiff file.

I went through the tutorial using sample.tiff and it loaded
fine. When I do those same steps with my own geotiff (whose
gdalinfo is below), I get the error:
Unknown SRS EPSG:UNKNOWN
upon submitting it in the ‘Coverage Editor/Edit Coverage
meta-data’ page.

There is a .tfw file with the .tiff. Is that data reduntant
to what is in the geotiff header of the file?

Do I need to add more epsg definitions to the
epsg.properties file? There are only 26 lines in that file.
Shouldn’t there be lots more?

Can geoserver handle this format? Do I need to use
gdal_translate or something similar to convert this file to
something that geoserver does like?

Thank you,

Wendell

server: geoserver-1.6.4b-bin.zip
os: Fedora 3

PROJCS[" Projection Name = Lambert Conformal Conic Units =
meters GeoTIFF Units = meters",
GEOGCS[“NAD83”,
DATUM[“North_American_Datum_1983”,
SPHEROID[“GRS 1980”,6378137,298.2572221010042,
AUTHORITY[“EPSG”,“7019”]],
AUTHORITY[“EPSG”,“6269”]],
PRIMEM[“Greenwich”,0],
UNIT[“degree”,0.0174532925199433],
AUTHORITY[“EPSG”,“4269”]],
PROJECTION[“Lambert_Conformal_Conic_2SP”],
PARAMETER[“standard_parallel_1”,38.66667],
PARAMETER[“standard_parallel_2”,33.33333],
PARAMETER[“latitude_of_origin”,34],
PARAMETER[“central_meridian”,-105.5],
PARAMETER[“false_easting”,0],
PARAMETER[“false_northing”,0],
UNIT[“metre”,1,
AUTHORITY[“EPSG”,“9001”]]]


Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


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

Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000

http://www.geo-solutions.it