[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-sig-geo
Subject:    Re: [R-sig-Geo] projection() and proj4string()
From:       Barry Rowlingson <b.rowlingson () lancaster ! ac ! uk>
Date:       2010-05-30 1:01:04
Message-ID: AANLkTin5r1hx_54Eo_Y22N-sgW4tENcZakHuEZc7K_5U () mail ! gmail ! com
[Download RAW message or body]

On Sat, May 29, 2010 at 8:52 PM, Jacob van Etten <jacobvanetten@yahoo.com>wrote:

> Hi Barry,
>
> What do you mean with a broken OO model?
>
>
It's one of the red flags of Object-oriented programming. You shouldn't test
for the class of an object and then do something based on that - you should
write methods for those classes so the code gets executed magically by the
OO mechanism.

 So there should be a generic 'projection', and methods
projection.BasicRaster and projection.Spatial (in S3 terms).

Barry

	[[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic