Hi Alexandre,
This should work. Have your run the RpfTocHandler directly, as an
application, with your rpf directory as an argument? It would be
interesting to see how that worked out, in terms of seeing what the
rpf/A.TOC file contains.
Regards,
- Don
On May 7, 2008, at 11:16 AM, Alexandre Gagnon wrote:
> Hi,
>
> I'm reading RPF files (CIB), loop through each RpfTocEntry and I
> want to read the list of Frames but it is always null. Why ? Am I
> missing something ?
>
> Here is my code :
>
> File dir = new File ("C:/projets/ValcartierData/CIB/CIB01/NA372J_1/
> rpf");
> RpfTocHandler toc = new RpfTocHandler(dir.getPath());
> for ( RpfTocEntry entry : toc.getEntries()) {
> // entry.frames is always null ???
> if (entry.frames == null) {
> throw new Exception ("No frames");
> }
> }
>
>
> Thanks
> Alexandre Gagnon
> Géomatique
> DMR, une division de Fujitsu Conseil (Canada) inc.
> Bureau : 418 653-6882 poste 6918
> Alexandre_Gagnon_at_dmr.ca
> dmr.ca
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri May 16 2008 - 12:58:21 EDT