Orthographic projection

Topics: SharpMap v0.9 / v1.x
May 25, 2008 at 9:09 AM
Hi all,

Is it possible (using SharpMap v0.9) to change the map projection to Orthographic or General Perspective? I am trying to shift the map presentation to one resembling a spherical "view from space" (similar to Google Earth). I am aware that one can inject custom projections to the coordinate system but I am unfamiliar with the way the projection must be described.

Has anyone done this successfully?
May 28, 2008 at 10:31 AM
May 28, 2008 at 11:39 AM
Hi Dimitris, this may be useful [url:http://cfis.savagexi.com/articles/2006/05/03/google-maps-deconstructed] it as some settings for proj4 You should be able to convert them for use in sharpmap/proj.net HTH jd
Jun 9, 2008 at 10:54 AM
Edited Jun 9, 2008 at 10:57 AM
Thank you, but I probably didn't clarify my query sufficiently. My ultimate aim to is to somehow achieve this style of map representation:

Hopefully this makes it a bit clearer on what I am trying to do.
Jun 12, 2008 at 11:07 PM
I added an orthographic projection to SharpMap v2.0, which you can find here: http://code.google.com/p/sharpmapv2/source/browse/trunk/Proj.Net/ProjNet/CoordinateSystems/Projections/Orthographic%601.cs.

If you are using v0.9, feel free to back-port this, as it should clean up quite easily. Don't forget to upload it as a patch to share your work with all of us if you do!
Jun 13, 2008 at 4:55 AM
Rory, thank you. I'll give this a try as soon as I can put aside some time in getting v2.0 up and running.
Jun 13, 2008 at 5:08 AM
@Dimitris -

You could also try just importing this file into the v0.9 code, since it will mostly be the same... not that I want to dissuade you from trying out v2.0... ;)