[OSRS-PROJ] orthographic projection with proj4 and mapserver.

Craig Bruce csbruce at cubewerx.com
Wed Aug 13 18:32:05 EDT 2003

"Gerald I. Evenden" <gerald.evenden at verizon.net> wrote:

> Whatever "on-the-fly" means?
> Presumably "mapserver" is some kind of graphic program.

"On-the-fly" presumably means that the source data is reprojected in real
time as requested when the map is drawn.  The "map server" is likely an
OpenGIS® Consortium Web Map Server (OGC WMS):


Our OGC-compatible map server and client have the same feature (long URL):


> On the surface, it appears that points beyond the visible rim
> are not being properly sensed for their "invisiblity."  PROJ
> should return an error for such points and the graphic program
> should properly sense them.  With information provided, it is
> difficult to know who to blame.

Proper graphical clipping is a tough problem.  It looks like the specific
problem in this case is with the polygons that are half visible and half
invisible.  The invisible vertices appear to be all substituted with (0,0)
coordinates, though I thought that the PROJ.4 library used -infinity as
its 'invalid coordinate' value.  To plot such a polygon mathematically
correctly, you'd need to cut it in two (or more) pieces along the line of
the horizon of the projection, which would be a smooth curve in this case.
Other short-cut cheats are also possible.

Dr. Craig S. Bruce        | Tel: 819-771-8303 x205 |             CubeWerx Inc.
Senior Software Developer |    Fax: 613-771-8388   |  Gatineau, Québec, Canada
csbruce at cubewerx.com      | http://www.csbruce.com |  http://www.cubewerx.com/
          "Do not try to think outside the box.  That's impossible.
           Instead, realize the truth.  There is no box." -- unknown
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.

More information about the Proj mailing list