RFC 14 out for comment...

Sean Gillies sgillies at FRII.COM
Mon Apr 10 23:29:59 EDT 2006


On Apr 10, 2006, at 3:31 PM, Steve Lime wrote:

> Hi all: I posted a new RFC for supporting relative coordinates  
> (primarily =
> for inline features)
> to the mapserver website. Comments would be appreciated. The actual =
> computations
> are trivial to make this work. The issues are more implementation  
> related- =
> hanging a
> new parameter off a shapeObj vs something else and so on...
>
> I have coded up one solution and the end result is very useful.
>
> Steve

Steve,

To me, "relative to XX" is just a shorthand description of a  
coordinate reference systems. When I think of it as a CRS, it clearly  
should be defined at the layer level like the geographic and  
projected coordinate systems already in play.

     layer.setImageOrigin(LR)   # or maybe even override setProjection()
     layer.transform = MS_FALSE
     layer.addFeature(shape)
     layer.draw()

My $0.02
Sean

---
Sean Gillies
http://zcologia.com



More information about the mapserver-dev mailing list