Opened 21 years ago
Last modified 20 years ago
#377 closed defect (worksforme)
No proj reference string in created JP2KAK GeoJP2
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Used CreateCopy to create a JP2KAK based GeoJP2 from an ERDAS IMG (with verified projection reference). Reading the JP2 back returns an empty projection reference string (GetProjectionRef()). Geotransform coeffs are there, but no projection ref. Here is the VRT for the input image: <VRTDataset rasterXSize="3847" rasterYSize="3848"> <SRS>PROJCS["Polar Stereographic",GEOGCS["Undefined",DATUM ["Undefined",SPHEROID["WGS 84",6378137,298.2572235630016]],PRIMEM["Greenwich",0],UNIT ["degree",0.0174532925199433]],UNIT["meters",1],PROJECTION ["Polar_Stereographic"],PARAMETER ["latitude_of_origin",60],PARAMETER ["central_meridian",180],PARAMETER ["scale_factor",1],PARAMETER["false_easting",0],PARAMETER ["false_northing",0]]</SRS> <GeoTransform>-5.2913714043326245e+005, 5.5000000000000000e+002, 0.0000000000000000e+000, 1.5872628595667370e+006, 0.0000000000000000e+000,- 5.5000000000000000e+002</GeoTransform> <VRTRasterBand dataType="Byte" band="1"> <SimpleSource> <SourceFilename>x:/NIC/ERDAS_IMG/f5n.24.03139.2201.v.img</SourceFilename> <SourceBand>1</SourceBand> <SrcRect xOff="0" yOff="0" xSize="3847" ySize="3848"/> <DstRect xOff="0" yOff="0" xSize="3847" ySize="3848"/> </SimpleSource> </VRTRasterBand> </VRTDataset> ------------------------------------------------------------------ Here is the WKT the ERDAS IMG file I'm opening gives: PROJCS["Polar Stereographic", GEOGCS["Undefined", DATUM["Undefined", SPHEROID["WGS 84",6378137,298.2572235630016]], PRIMEM["Greenwich",0], UNIT["degree",0.0174532925199433]], UNIT["meters",1], PROJECTION["Polar_Stereographic"], PARAMETER["latitude_of_origin",60], PARAMETER["central_meridian",180], PARAMETER["scale_factor",1], PARAMETER["false_easting",0], PARAMETER["false_northing",0]]
Change History (3)
comment:3 by , 20 years ago
Closing this since there hasn't been any further info. Let me know if you can help me reproduce the problem.
Note:
See TracTickets
for help on using tickets.