<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I've been struggling with proj_lp_dist for countless hours, but
finally got it working. However, I'm trying to find out what the
actual problem is. I called proj_create with "EPSG:4326" but the
distance returned when using this object is always Infinity. Based
on another post, I tried used the +proj syntax instead,
"+proj=longlat +datum=WGS84". I'm not very familiar with this
syntax, so maybe there's something better. This actually works. As
best as I can figure, proj_create does not initialize the
ellipsoid parameters. Using a proj-style string does. Is there a
better way to do this? I've poured over the documentation and
can't find anything that would suggest this is what is required to
make the function work.<br>
</p>
</body>
</html>