Thread: Starting a Raster image GPS.. ideas?

  1. #1
    Registered User
    Join Date
    Jan 2013
    Posts
    106

    Starting a Raster image GPS.. ideas?

    Hi Guys,
    Although I write in C, this is more of an English question.

    I wrote a vector based GPS mapping program that works nicely
    It would be nice to use satellitte imagery underneath the topographic
    vector data.
    I've done a vector GPS on two platforms now, but never thought about
    an image based GPS before.

    Basically, I'd like an English description of how this works.
    How the image tiles are referenced for example, are hi-res images
    resized when zooming out? (this one will have map tile images stored offline).
    Are the image tiles referenced with coordinates?

    I do already have a lot of information, like the geographic coordinates
    of each corner, and centre of the screen for whatever zoom level
    or map position you are viewing, and what the value of a single
    pixel is relating to incrementing a decimal lat/long value, rotation
    angle, and basically any variables that you'd know by having a GPS
    mapper already working.

    Any ideas appreciated!
    Art.

  2. #2
    TEIAM - problem solved
    Join Date
    Apr 2012
    Location
    Melbourne Australia
    Posts
    1,907
    Do you mean like Google street view?
    Fact - Beethoven wrote his first symphony in C

  3. #3
    Registered User
    Join Date
    Jan 2013
    Posts
    106
    No, just top down 2D view with rotation.

  4. #4
    TEIAM - problem solved
    Join Date
    Apr 2012
    Location
    Melbourne Australia
    Posts
    1,907
    Top down 2D view - Like Google Maps?
    Fact - Beethoven wrote his first symphony in C

  5. #5
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Start by getting a geo-referenced map? (they are basically maps with a few coordinate/pixel location pairs)

    Tiling would be the hard part I'm imagining.

  6. #6
    Registered User
    Join Date
    Jan 2013
    Posts
    106
    Quote Originally Posted by cyberfish View Post
    Start by getting a geo-referenced map? (they are basically maps with a few coordinate/pixel location pairs)

    Tiling would be the hard part I'm imagining.
    Already taken care of. $500 AU for licence the map I want to use for distribution in a program,
    and I know the precise map boundaries.
    I think handling zoom will be difficult, since images are to be stored off line,
    and I'd prefer to scale down existing imagery, than store a bunch of different zoom levels.

  7. #7
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    I think the biggest problem with that is processing speed (and hence your program's responsiveness).

    If the tiles are too big, when they take a lot of time to decode when you are zoomed in. If the tiles are too small, you'll need to read thousands of files to render just one screen when zoomed out.

    That's why all tiles-based GPS programs I know store tiles at many different zoom levels. Unless they don't expect the user to zoom much.

  8. #8
    Registered User
    Join Date
    Jan 2013
    Posts
    106
    Unfortunately I do expect the user to zoom much
    It's $500AU to licence the imagery for what is to be a free program, but I'm going ahead.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 03-13-2010, 05:10 AM
  2. Replies: 13
    Last Post: 11-20-2009, 04:43 PM
  3. Problems with Image Magick [Unable to Quantisize Image]
    By Maragato in forum C Programming
    Replies: 1
    Last Post: 09-18-2006, 10:41 PM
  4. Which BitBlt Raster Op?
    By SMurf in forum Windows Programming
    Replies: 1
    Last Post: 03-01-2006, 01:52 PM
  5. Drawing Test with Raster Op
    By genghis in forum Windows Programming
    Replies: 0
    Last Post: 07-02-2004, 12:21 AM