I am trying to create a layer, either from a mosaic of NITF files, or even just
a single NITF file. Some NITF files seem to work OK, but I have a many NITF2.1
files which have valid georeferencing but which fail to either mosaic or even
load as separate NITF files. It is as if the NITF georeferencing is not being
used.
When using the mosaic method, the store '.prj' file ends up with:
LOCAL_CS["Wildcard 2D cartesian plane in metric unit", LOCAL_DATUM["Unknown",
0], UNIT["m", 1.0], AXIS["x", EAST], AXIS["y", NORTH],
AUTHORITY["EPSG","404000"]] which doesn't look right given that the NITF
gdalinfo's are all close to...
Driver: NITF/National Imagery Transmission Format
Files: blah.ntf
Size is 5120, 10464
Coordinate System is `'
GCP Projection =
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9108"]],
AUTHORITY["EPSG","4326"]]
GCP[ 0]: Id=UpperLeft, Info=
(0.5,0.5) -> (1.292,52.662,0)
GCP[ 1]: Id=UpperRight, Info=
(5119.5,0.5) -> (1.315,52.662,0)
GCP[ 2]: Id=LowerRight, Info=
(5119.5,10463.5) -> (1.309,52.633,0)
GCP[ 3]: Id=LowerLeft, Info=
(0.5,10463.5) -> (1.29,52.633,0)
Metadata:
NITF_ABPP=10
NITF_CCS_COLUMN=0
NITF_CCS_ROW=0
NITF_CLEVEL=06
NITF_ENCRYP=0
NITF_FBKGC= 48, 48, 48
NITF_FDT=20150922084921
NITF_FHDR=NITF02.10
NITF_FSCATP=O
NITF_FSCAUT=DGIC UK
NITF_FSCLAS=U
NITF_FSCLSY=UK
NITF_FSCLTX=
NITF_FSCODE=
NITF_FSCOP=00000
NITF_FSCPYS=00000
NITF_FSCRSN=
NITF_FSCTLH=
NITF_FSCTLN=
NITF_FSDCDT=
NITF_FSDCTP=O
NITF_FSDCXM=
NITF_FSDG=
NITF_FSDGDT=
NITF_FSREL=UK US
NITF_FSSRDT=
NITF_FTITLE=For map demo
NITF_IALVL=0
NITF_IC=NC
NITF_ICAT=EO
NITF_ICORDS=D
NITF_IDATIM=20020718092745
NITF_IDLVL=1
NITF_IGEOLO=+52.662+001.292+52.662+001.315+52.633+001.309+52.633+001.290
NITF_IID1=B014.F0003
NITF_IID2=18JUL029Z0000012ZX0E0003ZZ000A3856011611
NITF_ILOC_COLUMN=0
NITF_ILOC_ROW=0
NITF_IMAG=1.0
NITF_IMODE=B
NITF_IREP=MONO
NITF_ISCATP=O
NITF_ISCAUT=DGIC UK
NITF_ISCLAS=U
NITF_ISCLSY=UK
NITF_ISCLTX=
NITF_ISCODE=
NITF_ISCRSN=
NITF_ISCTLH=
NITF_ISCTLN=
NITF_ISDCDT=
NITF_ISDCTP=O
NITF_ISDCXM=
NITF_ISDG=
NITF_ISDGDT=
NITF_ISORCE= Ground Station
NITF_ISREL=UK US
NITF_ISSRDT=
NITF_ONAME=
NITF_OPHONE=
NITF_OSTAID=Ground Stn
NITF_PJUST=R
NITF_PVTYPE=INT
NITF_STYPE=BF01
NITF_TGTID=
Corner Coordinates:
Upper Left ( 0.0, 0.0)
Lower Left ( 0.0,10464.0)
Upper Right ( 5120.0, 0.0)
Lower Right ( 5120.0,10464.0)
Center ( 2560.0, 5232.0)
Band 1 Block=512x512 Type=UInt16, ColorInterp=Gray
I can view the NITF files and georeference them using GeoView and our own NITF
viewer. I can preview the layer containing a single NITF file (in geoserver)
but the georeferencing seems to be rubbish (perhaps origin at zero zero) even
though the IGEOLO seems sound.
Any ideas?
Note that the mosaic tool crashes with (no too surprisingly) 'No transformation
available from system "EngineeringCRS[Wildcard 2D Cartesian plan in metric
unit]" to "GeographicCRS[WGS84(DD)]"'
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users