tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ann Burgess (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-1357) Buffered text in EnviHeaderParser
Date Sat, 28 Jun 2014 01:49:26 GMT

    [ https://issues.apache.org/jira/browse/TIKA-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14046627#comment-14046627
] 

Ann Burgess commented on TIKA-1357:
-----------------------------------

That bit of code certainly works Tyler, new -x output reads:

<head>
<meta name="Content-Length" content="818"/>
<meta name="Content-Encoding" content="ISO-8859-1"/>
<meta name="Content-Type" content="application/envi.hdr"/>
<meta name="resourceName" content="envi_test_header.hdr"/>
<title/>
</head>
<body><p>ENVI</p>
<p>description = {</p>
<p>  GEO-TIFF File Imported into ENVI [Fri May 25 14:06:23 2012]}</p>
<p>samples = 2400</p>
<p>lines   = 2400</p>
<p>bands   = 7</p>
<p>header offset = 0</p>
<p>file type = ENVI Standard</p>
<p>data type = 2</p>
<p>interleave = bip</p>
<p>sensor type = Unknown</p>
<p>byte order = 0</p>
<p>map info = {Sinusoidal, 1.5000, 1.5000, -10007091.3643, 5559289.2856,
4.6331271653e+02, 4.6331271653e+02, , units=Meters}</p>
<p>projection info = {16, 6371007.2, 0.000000, 0.0, 0.0, Sinusoidal,
units=Meters}</p>
<p>coordinate system string =
{PROJCS["Sinusoidal",GEOGCS["GCS_ELLIPSE_BASED_1",DATUM["D_ELLIPSE_BASED_1",SPHEROID["S_ELLIPSE_BASED_1",6371007.181,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Sinusoidal"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],UNIT["Meter",1.0]]}</p>
<p>wavelength units = Unknown</p>


Is this what you were aiming for Nick?  If so, I'll create patch.




On Fri, Jun 27, 2014 at 8:56 AM, Tyler Palsulich (JIRA) <jira@apache.org>




-- 
------------------------------------------------------------------------------------------
Ann Bryant Burgess, PhD

Postdoctoral Fellow
Computer Science Department
University of Southern California
Viterbi School of Engineering
Los Angeles, CA

Alaska Science Center/USGS
Anchorage, AK

Cell:  (585) 738-7549
Office:  (907) 786-7059
Fax:  (907) 786-7150
E-mail: anniebryant.burgess@gmail.com
Office Address: 4210 University Dr., Anchorage, AK 99508-4626
-------------------------------------------------------------------------------------------


> Buffered text in EnviHeaderParser
> ---------------------------------
>
>                 Key: TIKA-1357
>                 URL: https://issues.apache.org/jira/browse/TIKA-1357
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>    Affects Versions: 1.6
>            Reporter: Ann Burgess
>            Priority: Minor
>              Labels: parser
>
> User BufferedReader to insert line by line p tags when parsing ENVI headers per reviewer
comment: https://reviews.apache.org/r/22892/#comment81964



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message