anything
AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: Custom .STL files - problems  (Read 4610 times)

0 Members and 1 Guest are viewing this topic.

gleff

  • Full Member
  • ***
  • Posts: 111
Custom .STL files - problems
« on: September 24, 2009, 04:46:44 AM »
Hi All,

I'm trying to work out how to modify .STL files and having an extremely difficult time doing it.

I'm trying to replace the Sydney.jpg file with an image from Google Maps for all of NSW, Australia.

I've saved a .jpg of all of NSW which can be seen at the end of the post. I've tried following the guide at http://www.airnavsystems.com/forum/index.php?topic=1376.0 but it's not making a great deal of sense.  When I modify the values of the Sydney.stl file the end result is either no image, or the image appears completely back to front (like a mirror image), and in the wrong spot on the map (nowhere near where it should be).

Basically, the above forum post isn't very clear to me.  On one hand the initial post indicates Line 1 to 4 in the file is Left, Top, Right, Bottom, but the post afterwards indicates Left, Bottom, Right-Left, Top-Bottom (not sure what that means), and then in the sample xls file, it shows it as Top, Left, Bottom, Right.

Can someone please assist in me figuring this out by answering the following:

1. What is the correct order
2. Given that Google Maps shows my co-ordinates as the following, can someone walk through the calculations, and which line is which in the file.


Top:
Lat: -28 31 49.74
Lon: 149 58 54.08

Right:
Lat: -28 49 10.74
Lon: 153 33 47.64

Bottom:
Lat: -37 32 21.66
Lon: 150 4 10.49

Left:
Lat: -31 3 58.00
Lon: 140 57 3.34


I've been converting the DD MM SS to Decimal Degrees via http://www.csgnetwork.com/gpscoordconv.html and then multiplying the figure eg. Decimal Degrees * 60 * 60 * 1500.  I've also tried just plugging in figures into the .xls file, but no matter what I do, I get really obscure weird and incorrect results.

Can anyone please assist with as much info as possible.

Here is the image i'm trying to place on the map.



Thanks
Geoff
http://www.flighttracker.gleff.com - based in Sydney, Australia

tarbat

  • ShipTrax Beta Testers
  • Hero Member
  • *
  • Posts: 4219
    • Radarbox at Easter Ross
Re: Custom .STL files - problems
« Reply #1 on: September 24, 2009, 06:21:46 AM »
Firstly, here's a more up-to-date stl.xls file - I've entered your co-ords into this spreadsheet.

Make sure you're entering co-ords in the format of:
    N/S
    Degrees
    Seconds (decimal)

Simply take the co-ords of the top left corner, and those of the bottom right corner, and enter them in the spreadsheet.
« Last Edit: September 24, 2009, 06:37:26 AM by tarbat »

gleff

  • Full Member
  • ***
  • Posts: 111
Re: Custom .STL files - problems
« Reply #2 on: September 24, 2009, 06:41:12 AM »
Tarbat

You're a lifesaver.. That worked a charm.  The new spreadsheet is much better, and my obvious issue was forgetting to change the North to South and East to West identifier..  No wonder it was doing strange things.  Works a charm now.

Thank you heaps.
Geoff
http://www.flighttracker.gleff.com - based in Sydney, Australia

gleff

  • Full Member
  • ***
  • Posts: 111
Re: Custom .STL files - problems
« Reply #3 on: October 06, 2009, 02:11:59 PM »
I'm pretty crap at this, but can someone modify the stl.xls file above and repost so that I can enter the RB co-ordinates from the .stl file and it then gives me the Degrees Minutes for the map.

Currently, I put in the Degrees Minutes, and it gives me the .stl co-ordinates.. I'd like to go the other way.   Any help would be greatly appreciated.

http://www.flighttracker.gleff.com - based in Sydney, Australia