Larry,

You're right the CompressedFile class throws an exception if it can't
find the file. Maybe you could add a boolean parameter to it to return
null instead of an exception if the file does not exist to allow you to
ignore missing files.

Paul

Larry Becker wrote:
> Apparently DBF files are required when loading a shapefile archive.  I
> got this message when trying to load world_vector_shoreline.zip:
> "couldn't find world_vector_shoreline.dbf in compressed file
> world_vector_shoreline.zip".
>
> If you extract it to a folder first, it loads without a problem. 
> Sounds like the archive code is making unnecessary assumptions.
>
> regards,
> Larry Becker
> -- 
> http://amusingprogrammer.blogspot.com/
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to