[Mapserver-users] distanceToPoint in kilometres?

Steve Lime steve.lime at dnr.state.mn.us
Mon Nov 3 18:08:39 EST 2003


Also note that mapscript itself has project methods defined for points
and shapes if MapScript is built with Proj.4, at least the Swig'd
version does...

Steve

>>> Erich Schroeder <erich at museum.state.il.us> 11/3/2003 4:10:17 PM
>>>
Nevermind, I found it. I just had never heard of it before.

On Mon, 3 Nov 2003, Erich Schroeder wrote:

> On Mon, 3 Nov 2003, Daniel Morissette wrote:
> 
> > Yewondwossen Assefa wrote:
> > > One possible way of doing that would be to convert your 2
lat/long 
> > > positions to a projected unit system and then use the
distanceToPoint 
> > > (or your local code) to compute the distance.
> > > You can use the php_proj utility (which uses Proj.4) to do your 
> > > conversion. If you are builing mapserver yourself, the file is 
> 
> Whoa, I must have missed this before. What is the "php_proj"
utility?
> 
> Erich
> 
> 

-- 
---------------------------------------------------------------------
Erich Schroeder                    Phone: (217)785-0033
Curator, Information Technologies  FAX:   (217)785-2857
Illinois State Museum GIS Lab     
email:erich(at)illinois.state.museum
                 http://illinois.state.museum/ 
---------------------------------------------------------------------

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu 
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list