Le Wed, Jul 14, 2021 at 03:48:11PM -0500, dev1...@polarismail.net a écrit :
> Hello,
> 
> I have been using the geod command in the proj package to perform
> geodetic forward calculations. My testing has produced some rather
> unusual output, captured here:
> 
> Script started on Wed Jul 14 15:08:01 2021
> geography.657$ uname -a
> OpenBSD ip72.ok.cox.com 6.9 GENERIC.MP#3 amd64
> geography.658$ geod +ellps=sphere +units=km << END 
> > 0N 0E 269d58' 100.0
> > 0N 0E 269d59' 100.0
> > 0N 0E 270d    100.0
> > 0N 0E 270d1'  100.0
> > 0N 0E 270d2'  100.0
> > END
> 0d0'1.883"S   0d53'57.559"W   89d58'0.015"
> 0d0'0.942"S   0d53'57.559"W   89d59'0.007"
> 0dN   0d53'57.559"E   -90d
> 0d0'0.942"N   0d53'57.559"W   90d0'59.993"
> 0d0'1.883"N   0d53'57.559"W   90d1'59.985"
> geography.665$ ^D
> 
> Script done on Wed Jul 14 15:08:18 2021
> 
> I intended to make five steps of 100 km west from the geographic origin.
> It appears that steps approximately west go into the western
> hemisphere, as expected. In the third calculation, stepping exactly
> west, 270 degrees, obtains a terminus to the east.
> 
> This only occurs on my two OpenBSD machines. Other platforms produce
> output like:

you havent at all said what proj version you were running... so i have
no idea if what you're seeing is a different behaviour between the
openbsd build of proj (options, code portability, etc) and the same
version self built on ubuntu, or if that was totally different versions
and the different behaviour might come from that.. if so, peruse the
changelog between the versions ?

either way, i'd recommend you to bring that upstream, since as the
packager/maintainer i only care about proj for the projects using it,
and i dont have a large knowledge of its internals/workings/tools.

Landry

Reply via email to