Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
Chart koordinates
Old
  (#1)
Newbie
Guest
 
Posts: n/a
Default Chart koordinates - 06-04-2007, 09:45 AM

Hi
I have made a navigation program. The navigation screen is setup in a
picturebox which is based on the vessel position.

NOW, I would like to be able to load bitmaps (e.g. a scanned sea chart) into
the above mentioned picture box as background charts.

I imagine setting up a coordinate system in every bitmap by adding
coordinates to two or more known points in the bitmap.
Is there any suggestions on how to store these coordinates and how to
handle this in the navigation screen ??


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Chart koordinates
Old
  (#2)
Raoul Watson
Guest
 
Posts: n/a
Default Re: Chart koordinates - 06-04-2007, 09:45 AM


"Newbie" <EMAIL REMOVED> wrote in message
news:411da97c$0$200$EMAIL REMOVED. ..
> Hi
> I have made a navigation program. The navigation screen is setup in a
> picturebox which is based on the vessel position.
>
> NOW, I would like to be able to load bitmaps (e.g. a scanned sea chart)

into
> the above mentioned picture box as background charts.
>
> I imagine setting up a coordinate system in every bitmap by adding
> coordinates to two or more known points in the bitmap.
> Is there any suggestions on how to store these coordinates and how to
> handle this in the navigation screen ??
>
>


I would divide the map into squares that will be saved as jpg or bmp. Each
square would cover a certain coordinate grid. Depending on how detailed you
need to be, the pictures could be divided into degrees and seconds of the
latitude and longitude.

For example you can have each degree containing 60 pictures (for the
minutes). So for let's say coordinates N40 W74 you would have 60 x 60 files
(3600 files) for each minute of longitutude and latitude. For example
N04001W7401 (W7402-60), then N4002-60.

In your code, as you navigate around you will have a map loading logic that
will take your cirrent coordinate and translate it to a mapname. If the map
is not in memory, it will load it.


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Chart koordinates
Old
  (#3)
Newbie
Guest
 
Posts: n/a
Default Re: Chart koordinates - 06-04-2007, 09:45 AM


> I would divide the map into squares that will be saved as jpg or bmp. Each
> square would cover a certain coordinate grid. Depending on how detailed

you
> need to be, the pictures could be divided into degrees and seconds of the
> latitude and longitude.
>
> For example you can have each degree containing 60 pictures (for the
> minutes). So for let's say coordinates N40 W74 you would have 60 x 60

files
> (3600 files) for each minute of longitutude and latitude. For example
> N04001W7401 (W7402-60), then N4002-60.
>
> In your code, as you navigate around you will have a map loading logic

that
> will take your cirrent coordinate and translate it to a mapname. If the

map
> is not in memory, it will load it.
>


How would you store the coordinate information for each picture ?? in a text
file that has the coordinate limits of the picture ???


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Chart koordinates
Old
  (#4)
Rowland
Guest
 
Posts: n/a
Default Re: Chart koordinates - 06-04-2007, 09:45 AM


"Newbie" <EMAIL REMOVED> wrote in message
news:411ef467$0$293$EMAIL REMOVED. ..
>
> > I would divide the map into squares that will be saved as jpg or bmp.

Each
> > square would cover a certain coordinate grid. Depending on how detailed

> you
> > need to be, the pictures could be divided into degrees and seconds of

the
> > latitude and longitude.
> >
> > For example you can have each degree containing 60 pictures (for the
> > minutes). So for let's say coordinates N40 W74 you would have 60 x 60

> files
> > (3600 files) for each minute of longitutude and latitude. For example
> > N04001W7401 (W7402-60), then N4002-60.
> >
> > In your code, as you navigate around you will have a map loading logic

> that
> > will take your cirrent coordinate and translate it to a mapname. If the

> map
> > is not in memory, it will load it.
> >

>
> How would you store the coordinate information for each picture ?? in a

text
> file that has the coordinate limits of the picture ???
>

The easy way would be to store it as part of the filename.


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top