Jump to content

Module:MapClip/testcases: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Looks like feature2long is being rounded off to the nearest integer! Perhaps this explains many many things.
Removing some invalid comments, more examples from Florida Keys
Line 1: Line 1:
{{#invoke:MapClip|map|regionwestedge=-85|regioneastedge=-60|regionnorthedge=45|regionsouthedge=25|feature1=New York|feature1lat=40°40.2′N|feature1long=73°56.4′W|grid=red|nowiki=yes}}
Apparently there's some inaccuracy in how the map coordinates are assigned in the first place!!!


{{#invoke:MapClip|map|regionwestedge=-85|regioneastedge=-60|regionnorthedge=45|regionsouthedge=25|feature1lat=40°40.2′N|feature1long=73°56.4′W|feature2long=-70|feature2lat=40|grid=red|nowiki=yes}}
{{#invoke:MapClip|map|regionwestedge=-85|regioneastedge=-60|regionnorthedge=45|regionsouthedge=25|feature1=New York|feature1lat=40°40.2′N|feature1long=73°56.4′W|grid=red}}


{{#invoke:MapClip|map|regionwestedge=-85|regioneastedge=-60|regionnorthedge=45|regionsouthedge=25|feature1=New York|feature1lat=40°40.2′N|feature1long=73°56.4′W|feature2long=-70|feature2lat=40|grid=red}}
{{#invoke:MapClip|map|regionwestedge=-85|regioneastedge=-80|regionnorthedge=26|regionsouthedge=22|feature1=Key West|feature1lat=24°33′33″N|feature1long=81°47′03″W|grid=red}}


{{#invoke:MapClip|map|regionwestedge=-85|regioneastedge=-80|regionnorthedge=26|regionsouthedge=22|feature1=Key West|feature1lat=24°33′33″N|feature1long=81°47′03″W|feature2long=-82|feature2lat=24|grid=red}}
{{#invoke:MapClip|map|regionwestedge=-82|regioneastedge=-80|regionnorthedge=26|regionsouthedge=24|feature1=Key West|feature1lat=24°33′33″N|feature1long=81°47′03″W|feature2=Old Rhodes Key|feature2lat=25.365957°N|feature2long=80.241866°W|feature3=Old Totten Key|feature3lat=25.3796°N|feature3long=80.2484°W|feature4=Reid Key|feature4lat=25.392779°N|feature4long=80.240149°W|feature5=Duck Key|feature5lat=24°46′32″N|feature5long=80°54′39″W|feature6=Pigeon Key|feature6lat=24.703991°N|feature6long=81.155308°W|feature7=Summerland Key|feature7lat=24.657°N|feature7long=81.441°W|grid=red}}

{{#invoke:MapClip|map|regionwestedge=-82|regioneastedge=-81|regionnorthedge=25|regionsouthedge=24|feature1=Key West|feature1lat=24°33′33″N|feature1long=81°47′03″W|feature2long=-81.9|feature2lat=24.8|grid=red}}

This error in Key West seems to be more than a bug: looking at the original image in GIMP, the island occupies x=174,175;y=1445,1446. Added to 1991,1990 I get 2164,1445 (+1,+1). From the article the position is 81.7841666666 W 24.55916666 N. If pixel per degree longitude = 1991*4/360 then 21.12222222 should be the ratio. But 180-81.784166666 =98.215833333 E which times 21.12222222 gets me 2074, not 2164! It may be tricky to get it right.


{{#invoke:MapClip|map|regionwestedge=-85|regioneastedge=20|regionnorthedge=60|regionsouthedge=-60|feature1=Key West|feature1lat=24°33′33″N|feature1long=81°47′03″W|grid=red}}
{{#invoke:MapClip|map|regionwestedge=-85|regioneastedge=20|regionnorthedge=60|regionsouthedge=-60|feature1=Key West|feature1lat=24°33′33″N|feature1long=81°47′03″W|grid=red}}

Revision as of 23:19, 15 April 2013

<div style="position:relative;overflow:hidden;width:280px;height:198px;"><div style="position:absolute;overflow:visible;top:-117px;left:-4px;clip:rect(132px,264px,308px,44px);">[[File:Topographic30deg_N30W60.png|264px|]]</div><div style="position:absolute;overflow:visible;top:147px;left:-4px;clip:rect(-132px,264px,44px,44px);">[[File:Topographic30deg_N0W60.png|264px|]]</div><div style="position:absolute;overflow:visible;border:solid red;border-width:0 1px 0 0;top:15px;width:0px;height:176px;left:84px;"></div><div style="position:absolute;top:-2px;width:40px;font-size:75%;color:red;text-align:right;left:54px;">80W</div><div style="position:absolute;overflow:visible;border:solid red;border-width:0 1px 0 0;top:15px;width:0px;height:176px;left:172px;"></div><div style="position:absolute;top:-2px;width:40px;font-size:75%;color:red;text-align:right;left:142px;">70W</div><div style="position:absolute;overflow:visible;border:solid red;border-width:0 1px 0 0;top:15px;width:0px;height:176px;left:260px;"></div><div style="position:absolute;top:-2px;width:40px;font-size:75%;color:red;text-align:right;left:230px;">60W</div><div style="position:absolute;overflow:visible;border:solid red;border-width:0 0 1px 0;top:59px;height:0px;width:220px;left:40px;"></div><div style="position:absolute;top:50px;width:40px;font-size:75%;color:red;text-align:right;left:0px;">40N</div><div style="position:absolute;overflow:visible;border:solid red;border-width:0 0 1px 0;top:147px;height:0px;width:220px;left:40px;"></div><div style="position:absolute;top:138px;width:40px;font-size:75%;color:red;text-align:right;left:0px;">30N</div><div style="position:absolute;overflow:visible;height:15px;width:15px;top:41px;left:130px;">[[File:Full Star Yellow.svg|15px|link=New York|New York]]</div></div>

80W
70W
60W
40N
30N
New York
84W
82W
80W
26N
24N
22N
Key West
82W
81W
80W
26N
25N
24N
Key West
Old Rhodes Key
Old Totten Key
Reid Key
Duck Key
Pigeon Key
Summerland Key
60W
30W
0E
60N
30N
0N
30S
60S
Key West