[GRASSLIST:5989] Re: moving layers from one machine to another

On Thu, 3 Mar 2005, Chris Fonnesbeck wrote:

That makes sense. So, what is the recommended way, then, of moving
GRASS layers among platforms?

I'm returning Chris' question to the list, so that the answer gets into
the archives. Chris, could you state which GRASS version you are using on
both platforms? I guess this is 5.7 or 6.0 - could somebody who knows the
vector storage formats comment please?

On Thu, 3 Mar 2005 19:15:32 +0100 (CET), Roger Bivand
<Roger.Bivand@nhh.no> wrote:
> On Thu, 3 Mar 2005, Chris Fonnesbeck wrote:
>
> > Having painstakingly imported a large shapefile into Linux (see
> > previous thread on v.in.ogr), I want to use this layer on my OS X
> > machine. However, simply moving my ~/grass directory to the other
> > machine seems not to work, as attempting lo load the layer results in
> > a bus error on the Mac (works fine on the Linux machine). What is the
> > best way to move layers among GRASS workstations?
>
> If your Linux system was on Intel/AMD, I think you'll find that it is
> other-endian from your Mac - the bytes in integers, floats and doubles are
> stored in different orders. I understand that GRASS rasters are protected
> by being stored using the portable XDR representation, are GRASS vector
> layers?
>
> >
> > Thanks,
> > Chris
> >
> >
>
> --
> Roger Bivand
> Economic Geography Section, Department of Economics, Norwegian School of
> Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
> Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
> e-mail: Roger.Bivand@nhh.no
>
>

--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand@nhh.no

Just speculation, but I would be willing to bet that it is an endian-ness
related problem... Intel hardware to PPC hardware transfers have this problem
all the time...

On Thursday 03 March 2005 10:47 am, Roger Bivand wrote:

On Thu, 3 Mar 2005, Chris Fonnesbeck wrote:
> That makes sense. So, what is the recommended way, then, of moving
> GRASS layers among platforms?

I'm returning Chris' question to the list, so that the answer gets into
the archives. Chris, could you state which GRASS version you are using on
both platforms? I guess this is 5.7 or 6.0 - could somebody who knows the
vector storage formats comment please?

> On Thu, 3 Mar 2005 19:15:32 +0100 (CET), Roger Bivand
>
> <Roger.Bivand@nhh.no> wrote:
> > On Thu, 3 Mar 2005, Chris Fonnesbeck wrote:
> > > Having painstakingly imported a large shapefile into Linux (see
> > > previous thread on v.in.ogr), I want to use this layer on my OS X
> > > machine. However, simply moving my ~/grass directory to the other
> > > machine seems not to work, as attempting lo load the layer results in
> > > a bus error on the Mac (works fine on the Linux machine). What is the
> > > best way to move layers among GRASS workstations?
> >
> > If your Linux system was on Intel/AMD, I think you'll find that it is
> > other-endian from your Mac - the bytes in integers, floats and doubles
> > are stored in different orders. I understand that GRASS rasters are
> > protected by being stored using the portable XDR representation, are
> > GRASS vector layers?
> >
> > > Thanks,
> > > Chris
> >
> > --
> > Roger Bivand
> > Economic Geography Section, Department of Economics, Norwegian School
> > of Economics and Business Administration, Breiviksveien 40, N-5045
> > Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
> > e-mail: Roger.Bivand@nhh.no

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341