[Geoserver-devel] [JIRA] (GEOS-7541) Geoserver is unable to determine projection for TIFF

Aaron Miller created an issue

GeoServer / BugGEOS-7541

Geoserver is unable to determine projection for TIFF

Issue Type:

BugBug

Affects Versions:

2.8.0

Assignee:

Unassigned

Components:

Image mosaic JDBC

Created:

11/May/16 7:35 PM

Environment:

Build Information
Version
2.8-SNAPSHOT
Git Revision
5ba955074e0c5b78a5c9576dba955bec93008889
Build Date
14-Jan-2016 20:47
GeoTools Version
14-SNAPSHOT (rev 109456cbb2cf31ce318330bad5d0176e3d04e4a9)
GeoWebCache Version
1.8-SNAPSHOT (rev 1.8.x/854b89c13d79df5a232c32245f956cfb70de56f5)

Mac OSx

Priority:

MediumMedium

Reporter:

Aaron Miller

When importing a mosaic or publishing a mosaic datastore geoserver returns “Projection could not be determined.”

gdalinfo is able to read the header and return expected values. In geoserver the native SRS for the layer is “uknown” the following is from the information box next to the native SRS:

PROJCS[“PCS Name = NAD_1983_2011_StatePlane_New_York_Long_Isl_FIPS_3104_Ft_US”,
GEOGCS[“GCS Name = GCS_NAD_1983_2011”,
DATUM[“Datum = NAD_1983_2011”,
SPHEROID[“Ellipsoid = GRS_1980”, 6378137.0, 298.257222101]],
PRIMEM[“Greenwich”, 0.0],
UNIT[“degree”, 0.017453292519943295],
AXIS[“Geodetic longitude”, EAST],
AXIS[“Geodetic latitude”, NORTH]],
PROJECTION[“Lambert_Conformal_Conic_2SP”],
PARAMETER[“central_meridian”, -74.0],
PARAMETER[“latitude_of_origin”, 40.166666666666664],
PARAMETER[“standard_parallel_1”, 41.03333333333333],
PARAMETER[“false_easting”, 3229160.208333333],
PARAMETER[“false_northing”, 0.0],
PARAMETER[“scale_factor”, 1.0],
PARAMETER[“standard_parallel_2”, 40.666666666666664],
UNIT[“foot_survey_us”, 0.30480060960121924],
AXIS[“Easting”, EAST],
AXIS[“Northing”, NORTH]]

this results in geoserver producing blank(white) tiles and is unable to return a feature info in the preview. If the SRS handling is changed to “Reproject native to declared” the image and feature info are returned in the preview.

GDALINFO:

Aarons-MBP:nycTiffs amiller$ gdalinfo 987207.tif
Driver: GTiff/GeoTIFF
Files: 987207.tif
Size is 5000, 5000
Coordinate System is:
PROJCS[“NAD_1983_2011_StatePlane_New_York_Long_Isl_FIPS_3104_Ft_US”,
GEOGCS[“GCS_NAD_1983_2011”,
DATUM[“NAD_1983_2011”,
SPHEROID[“GRS_1980”,6378137,298.257222101]],
PRIMEM[“Greenwich”,0],
UNIT[“degree”,0.0174532925199433]],
PROJECTION[“Lambert_Conformal_Conic_2SP”],
PARAMETER[“standard_parallel_1”,40.66666666666666],
PARAMETER[“standard_parallel_2”,41.03333333333333],
PARAMETER[“latitude_of_origin”,40.16666666666666],
PARAMETER[“central_meridian”,-74],
PARAMETER[“false_easting”,984250],
PARAMETER[“false_northing”,0],
UNIT[“US survey foot”,0.3048006096012192,
AUTHORITY[“EPSG”,“9003”]]]
Origin = (987500.000000000000000,210000.000000000000000)
Pixel Size = (0.500000000000000,-0.500000000000000)
Metadata:
AREA_OR_POINT=Area
TIFFTAG_DATETIME=2015:01:23 16:34:38
TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
TIFFTAG_SOFTWARE=Adobe Photoshop CS5 Windows
TIFFTAG_XRESOLUTION=72
TIFFTAG_YRESOLUTION=72
Image Structure Metadata:
INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left ( 987500.000, 210000.000) ( 73d59’17.78"W, 40d44’35.08"N)
Lower Left ( 987500.000, 207500.000) ( 73d59’17.78"W, 40d44’10.38"N)
Upper Right ( 990000.000, 210000.000) ( 73d58’45.30"W, 40d44’35.07"N)
Lower Right ( 990000.000, 207500.000) ( 73d58’45.31"W, 40d44’10.37"N)
Center ( 988750.000, 208750.000) ( 73d59’ 1.54"W, 40d44’22.73"N)
Band 1 Block=5000x1 Type=Byte, ColorInterp=Red
Band 2 Block=5000x1 Type=Byte, ColorInterp=Green
Band 3 Block=5000x1 Type=Byte, ColorInterp=Blue
Band 4 Block=5000x1 Type=Byte, ColorInterp=Undefined

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.5.2#72002-sha1:b4422fe)

Atlassian logo