MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: very slow Save[]s on Mathematica V7??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96430] Re: very slow Save[]s on Mathematica V7??
  • From: Igor Antonio <igorantonio at gmail.com>
  • Date: Fri, 13 Feb 2009 03:45:13 -0500 (EST)
  • References: <gmp0ot$bvf$1@smc.vnet.net> <gmrlvq$9ij$1@smc.vnet.net>

What are you exactly asking for #1?  If the change is documented?  If
the new format is documented?  SHP documentation can be found in the
Help Viewer. You can also do FileFormat[] on your file to figure out
what format Import is going to use.

For #2, you can explicitly give the format:

Import["file.zip", "ZIP"] will give you the list of filenames
contained in the file.

Igor

On Feb 11, 4:22 am, congruentialumina... at yahoo.com wrote:
> Thanks Igor. 2 questions:
>
> 1. Is this documented anywhere?
> 2. is there an option to inhibit this "default" behavior?
>
> Regards..RogerW
>
> On Feb 10, 2:47 am, Igor Antonio <igoranto... at gmail.com> wrote:
>
>
>
> > Franklin,
>
> > Support for SHP files was added in V7.  In version 6, you're just
> > importing the list of filenames inside the zip file.  With V7, Import
> > expands the zip file, recognizes the SHP bundle, and Imports the map
> > contained in the file.
>
> > In[2]:= a =
> >  Import["http://exampledata.wolfram.com/usamap.zip";,
> >   ImageSize -> Medium]
>
> > Out[2]= {"railroads.dbf", "railroads.prj", "railroads.shp", \
> > "railroads.shx", "states.dbf", "states.prj", "states.shp", \
> > "states.shx"}
>
> > In[3]:= $Version
>
> > Out[3]= "6.0 for Mac OS X x86 (64-bit) (May 21, 2008)"
>
> > ========================
==
> ==
> > =================
>
> > In[5]:= a =
> >   Import["http://exampledata.wolfram.com/usamap.zip";,
> >    ImageSize -> Medium];
>
> > In[6]:= Head@a
>
> > Out[6]= Graphics
>
> > In[7]:= ByteCount@a
>
> > Out[7]= 15319544
>
> > In[8]:= $Version
>
> > Out[8]= "7.0 for Mac OS X x86 (64-bit) (November 11, 2008)"
>
> > Igor



  • Prev by Date: Re: Best syntax for derivative
  • Next by Date: Re: linear regression with errors in both variables
  • Previous by thread: Re: very slow Save[]s on Mathematica V7??
  • Next by thread: Re: very slow Save[]s on Mathematica V7??