MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Miscellaneous'WorldPlot'

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55870] Miscellaneous'WorldPlot'
  • From: "Hanka Lakomá" <hana.lakoma at centrum.cz>
  • Date: Fri, 8 Apr 2005 01:36:53 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Group,
I try to get a map in stereographic projection in transverse position (the centre of the map is point 0°latitude, 0°longitude). 
I have cartographic equations of this projection in wanted position. So I put them to WorldProjection:

Miscellaneous'WorldPlot'
WorldPlot [Europe,
    WorldRange->{{-90,90},{-90,90}},
    WorldProjection->({2*Cos[#1*Pi/10800]*Sin[#2*Pi/10800]/
                              (1+Cos[#1*Pi/10800]*Cos[#2*Pi/10800]),
                              2*Sin[#1*Pi/10800]/
                              (1+Cos[#1*Pi/10800]*Cos[#2*Pi/10800])}&)] 

and I get from Mathematica 4.2:
WorldGraphics::"badproj" :
The projection function {....,...} did not return a valid coordinate...
  
If I change Europe for another possible continent or state it gives the same type of error...
If I change WorldRange for another possible it gives the same type of error...
Is a problem in projection function and Why? I know from cartography textbooks that equations are correct...
Any help would be appreciated.
Thank you for your time and consideration.
Hanka


  • Prev by Date: Re: extracting decimal digits of Pi
  • Next by Date: Re: Op-codes in CompiledFunction
  • Previous by thread: Re: Replacement gyrations
  • Next by thread: Re: Miscellaneous'WorldPlot'