[
https://issues.apache.org/jira/browse/TIKA-2770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16673167#comment-16673167
]
ASF GitHub Bot commented on TIKA-2770:
--------------------------------------
lewismc commented on issue #257: fix for TIKA-2770 contributed by kristencheung
URL: https://github.com/apache/tika/pull/257#issuecomment-435399981
Hi @kristencheung I tried this patch out and it is not producing expected
results.
For example see below where I attempt to extract metadata from the
[ang20150420t182050_corr_v1e_img.hdr test file shipped with
Tika](https://github.com/apache/tika/blob/master/tika-parsers/src/test/resources/test-documents/ang20150420t182050_corr_v1e_img.hdr)
I think we need to provider a unit test with this pull request to validate
correct behaviour.
```
curl -T ang20150420t182050_corr_v1e_img.hdr http://localhost:9998/meta
--header "Content-Type: application/envi.hdr"
"envi.byte.order","0"
"X-Parsed-By","org.apache.tika.parser.DefaultParser","org.apache.tika.parser.envi.EnviHeaderParser"
"envi.sensor.type","Unknown"
"envi.bands","432"
"envi.header.offset","0"
"language","en"
"envi.interleave","bil"
"envi.wavelength.units","Nanometers"
"envi.lines","14674"
"envi.file.type","ENVI Standard"
"envi.samples","739"
"Content-Encoding","ISO-8859-1"
"envi.data.type","4"
"Content-Type","application/envi.hdr"
```
Note, the file
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Convert EnviHeader "map info" from UTM to LatLon
> ------------------------------------------------
>
> Key: TIKA-2770
> URL: https://issues.apache.org/jira/browse/TIKA-2770
> Project: Tika
> Issue Type: Improvement
> Components: parser
> Affects Versions: 2.0.0
> Reporter: Kristen Cheung
> Assignee: Lewis John McGibbney
> Priority: Major
> Fix For: 1.20
>
>
> Would like to create the conversion logic for coordinates from Universal
> Transverse Mercator (UTM) to Geographic (Lat/Lon) Coordinate System in Apache
> Tika Extraction logic, found in
> tika/tika-parsers/src/main/java/org/apache/tika/parser/envi/EnviHeaderParser.java
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)