seandepagnier / weatherfax_pi

weather fax plugin for opencpn
GNU General Public License v3.0
20 stars 27 forks source link

Use of the coordinatesets.xml data is broken, many internet downloads do not work. #110

Closed rgleason closed 5 years ago

rgleason commented 5 years ago

For example, Aviation from Weatherfaxinternetretrieval.xml
(had to change format of the xml code or it does not show.)

Region Name="Sat Images Infrared-color" Map Url="sat_ircol_a.jpg" Contents="Americas" Area="A" /> Map Url="sat_ircol_b1.jpg" Contents="Atlantic" Area="B1" /> Map Url="sat_ircol_c.jpg" Contents="Europe Africa" Area="C" /> Map Url="sat_ircol_d.jpg" Contents="Europe Africa Asia" Area="D" /> Map Url="sat_ircol_e.jpg" Contents="Indian Ocean and Oceania" Area="E" /> Map Url="sat_ircol_f.jpg" Contents="Pacific" Area="F" /> Map Url="sat_ircol_m.jpg" Contents="North Pacific" Area="M" /> Area Name="A" lat1="50S" lat2="70N" lon1="130W" lon2="30W" /> Area Name="B1" lat1="45S" lat2="63N" lon1="120W" lon2="40E" /> Area Name="C" lat1="40S" lat2="75N" lon1="35W" lon2="70E" /> Area Name="D" lat1="20S" lat2="62N" lon1="10W" lon2="130E" /> Area Name="E" lat1="50S" lat2="40N" lon1="26E" lon2="180" /> Area Name="F" lat1="50S" lat2="50N" lon1="100E" lon2="110W" /> Area Name="M" lat1="10S" lat2="70N" lon1="100E" lon2="110W" /> /Region

From Coordinatesets.xml

When I try to enter X2="917" Y2="562" the program simply corrects to X2="691" Y2="562" which is just wrong to show the image properly.

### What is going on????

These images were all working properly before, now many many of them are broken!!!

What is this for?

https://github.com/seandepagnier/weatherfax_pi/commit/cdc7702a4ed4ed9a32b7f43f8ef96824c986cb7e

Could it be the cause?

rgleason commented 5 years ago

This example of a problem was fixed by going from mercator to fixed-flat, however there is still something going on because many images do not display. May close this later.

rgleason commented 5 years ago

Old problem, fixed