[Chameleon] GeoToPixel Function

Paul Dymecki pdymecki at sympatico.ca
Thu Apr 14 01:53:33 EDT 2005


Hi Paul,
    The Geo2Pix function seems pretty widely used throughout Chameleon,
though i'm having a bit of a time getting it to give me the a pixel position
i can pass to a mapObject's zoomToPoint function.  Would i have to
re-project a geo value before passing it to Geo2Pix?
thx,
Paul


----- Original Message ----- 
From: "Paul Spencer" <pspencer at dmsolutions.ca>
To: "Paul Dymecki" <pdymecki at sympatico.ca>
Cc: <Chameleon at lists.maptools.org>
Sent: Thursday, April 07, 2005 8:03 PM
Subject: Re: [Chameleon] GeoToPixel Function


> Paul,
>
> if you are looking for something that is php-accessible, I don't think
> it exists so you'll need a php function for that.  Check the functions
> in geomath.php in chameleon, there is both Geo2Pix and Pix2Geo
>
> Cheers
>
> Paul
>
> Paul Dymecki wrote:
> > I was wondering if anyone knows of a mapscript function that converts a
> > geoCoded point to a pixel point?
> > thx,
> > Paul
> >
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
> >
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon



More information about the Chameleon mailing list