Reproject is not taking source.Over into account before it calls Adjlon near the end of ConvertToLatLon. I suggest to wrap the line with
if (!source.Over)
{
xy[i * 2] = Adjlon(xy[i * 2]);
}
This is similar to how ConvertToProjected does it.
Comments: ** Comment from web user: mogikanin **
if (!source.Over)
{
xy[i * 2] = Adjlon(xy[i * 2]);
}
This is similar to how ConvertToProjected does it.
Comments: ** Comment from web user: mogikanin **
Hi, geostats. Thank you for the sample. I applied suggested fix to the source code.