Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

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: [mg96232] Re: very slow Save[]s on Mathematica V7??
  • From: Igor Antonio <igorantonio at gmail.com>
  • Date: Tue, 10 Feb 2009 05:47:58 -0500 (EST)
  • References: <gmp0ot$bvf$1@smc.vnet.net>

On Feb 9, 4:33 am, congruentialumina... at yahoo.com wrote:

> I used to do complicated graphics with V6 and I am sure Save[] did not
> take this long. Here is more strange info on this. The last command
> below is: "Import["http://exampledata.wolfram.com/usamap.zip";,
> ImageSize -> Medium]"
>
> On V7 "% // ByteCount" gives 14792200
> On V6 the same command shows only 312?!?!?
>
> Does anyone know of a work-around for this annoying V7 problem?

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: NMinimize Bug in Mathematica 7.0?
  • Next by Date: Re: NMinimize Bug in Mathematica 7.0?
  • Previous by thread: JLink problem, Mathematica 6, OSX, Java SE 6 (64 bit).
  • Next by thread: Re: very slow Save[]s on Mathematica V7??