Re: Miscellaneous'WorldPlot'
- To: mathgroup at smc.vnet.net
- Subject: [mg55910] Re: [mg55870] Miscellaneous'WorldPlot'
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Sat, 9 Apr 2005 03:56:41 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
$Version 5.1 for Mac OS X (January 27, 2005) Needs["Miscellaneous`WorldPlot`"]; It doesn't seem to like exact values. Force use of inexact numbers (e.g., I used 2. vice 2) WorldPlot[World,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])}&)]; Bob Hanlon > > From: "Hanka Lakomá" <hana.lakoma at centrum.cz> To: mathgroup at smc.vnet.net > Date: 2005/04/08 Fri AM 01:36:53 EDT > To: mathgroup at smc.vnet.net > Subject: [mg55910] [mg55870] Miscellaneous'WorldPlot' > > 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 > >