Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dickel

Pages: [1]
1
QB64 Discussion / Re: World map
« on: October 17, 2018, 06:48:44 am »
Many thanks to bplus — the implementation was relatively painless.  Not quite as clean as I'd like it but it's a good start.  Rather than trying to clean up the map outlines I'll try for a better map and see how that goes.

Once again, thanks for all your help.

2
QB64 Discussion / Re: World map
« on: October 16, 2018, 01:26:15 am »
Quote
Beautifully retro!

I think I see what you're up to on this mission. We're all tuned in, so keep up the flow.

As for the homework thing, the red flag, so to speak, is when someone pops in out of the blue, and asks a straightforward question about... well... hm... Maybe to answer this, I defer to the supreme court's definition of pornography. I can't define it, but I know it when I see it. They were wrong about that, and so was I in this case.

Thanks - that was at least part of the nostalgia!  Excellent progress with getting the map into the text file.  Now some editing to tidy up the outlines and remove some of those 'flyspots'.

Now I see where 'homework' is coming from - perhaps I should have been a bit more explicit.  All good!

Best

3
QB64 Discussion / Re: World map
« on: October 15, 2018, 09:34:55 pm »
Here's the right one WITH the legend stuff — used only "Dos" available colors.

4
QB64 Discussion / Re: World map
« on: October 15, 2018, 09:07:34 pm »
Screenshot was easier than I thought!

Two plots on screen:  Top represents Maximum Usable Frequency (MUF); Bottom represents Absorption Limiting Frequency (ALF).
"Maps" are centered on equator and 180 degrees with a 15-degree grid.  Legend stuff at the bottom.

A white "continental outline" overlay will be nice!

Best
Dick

5
QB64 Discussion / Re: World map
« on: October 15, 2018, 08:23:22 pm »
Quote
My bad on the homework thing - I mean, you know how this question was sounding. Can't blame us (me)! Anyway, welcome aboard.

Lemme make one question-comment... are you trying to get accurate distances on the globe using a Mercator projection? Cause... you can't right? My humble understanding of geometry (taking the earth as a sphere) dictates that you need to correct for the actual shape of the planet using a suitable coordinate system.

If you've done so, then great. If this sounds foreign, then imagine a 6 inch line in the map drawn just under the north pole. How many miles long is that? Next imagine the same-length line drawn horizontally near the equator. That one will represent way more miles.

So that's the comment. The question is: what's your distance formula?

Thanks STx.  I don't see how "homework" came into it — must be something between the lines that I can't see — but hey, no problem at all.

No, the distances are all calculated internally for a 'spherical' earth (using high-falutin' trig functions that I couldn't possibly understand!) but the RESULTS are plotted on a 360 x 180 map — hence "Mercator" projection.

I'll see if I can find a link to the original program: "MicroMUF".

6
QB64 Discussion / Re: World map
« on: October 15, 2018, 08:05:28 pm »
Thanks bplus.  It so happens that I DO have a map with more detail (NZ AND Tasmania!) but it also has a lot of "flyspots" on it which will require a tidy-up first.  I'll give it a shot. . .

7
QB64 Discussion / Re: World map
« on: October 15, 2018, 06:21:54 pm »
Thanks for all your replies.  Homework?  Where did that come from?  Nope, not homework!  Here's the background. 

About 25 years ago I re-wrote an existing HF radio propagation program.  The original calculated only between two fixed points — a transmitter and a receiver.  I re-wrote it to calculate from a single point (receiver) to all other points on the earth's surface at fifteen degree intervals.  (Point of interest — that version took 5 days to run on a 2Mhz Motorola MC6809 running XBASIC.)  Several years ago (when machines started to get seriously fast) I changed that to calculate at one degree intervals, i.e., a 360 x 180 map.  (I don't know how to grab a screenshot of the result but will do so when I figure it out.)

A couple of months ago I came across this site and decided to try the program again — it ran just fine and super fast too — about 5 seconds!  I never did get around to overlaying the screen plot with a world map but I am intending to do that now.

Looks to me like bplus is on the mark and I will see what I can do with his text file as that seems the best way to go.  My map is centered on 180 degrees (roughly New Zealand) so I will need to rearrange.  Thanks again.

(Yes, NZ would be a great addition (and on a lesser note, Tasmania).  Ha!  (Kiwi)

8
QB64 Discussion / World map
« on: October 15, 2018, 09:06:51 am »
New member here.
I have a requirement for a world map, Mercator-type projection, showing continental outlines - in the form of a 360 x 180 'dot' array to be used as an on-screen overlay for previously calculated data.  Does anyone know where I might find such an array?

Attached is an image of the general idea.

Pages: [1]