Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7808965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:17:26+00:00 2026-06-02T03:17:26+00:00

I’m in the process of adding a WAC overlay to google maps. The map

  • 0

I’m in the process of adding a WAC overlay to google maps.

The map tiles are projected in NAD83 (lcc), google maps is WGS84 (mercator).

The WAC tiles are broken up into their individual areas as found on: http://map.aeroplanner.com/mapping/chart/smartchart.cfm so there are quite a large number of tiles. That said, I’m currently experiencing problems positioning even a single tile.

The world file appears to be properly formed, as ArcGIS displays the tiles properly using the associated world file.

When using LCC projection and setting the lat/long that they tiles are expected to fill, the north and south tiles which comprise a WAC sector are correctly aligned with respect to each other.

http://img716.imageshack.us/img716/1742/waclcc.jpg – In this image, you can see CF16 A&B, and CF17 A&B. The projection looks like it is working correctly, however the position is wrong. An absolute lat/long must be assigned as leaving them out causes MapServer to throw a positioning error.

This is a segment from the map file which produces the above output:

LAYER
TYPE RASTER
NAME “16_40_NORTH”
GROUP “wac”
DATA “/opt/fgs/www/htdocs/WAC/CF-16 WAC 40 North.tif”

    #projection of this layer
    PROJECTION
            "proj=lcc"
            "lat_2=49"
            "lat_1=44.5"
            "lat_0=40"
            "lon_0=-125"
            "x_0=0"
            "y_0=0"
            "ellps=GRS80"
            "datum=NAD83"
            "units=m"
            "no_defs"
    END

    OFFSITE 0 0 0
END


LAYER
    TYPE RASTER
    NAME "16_40_SOUTH"
    GROUP "wac"
    DATA "/opt/fgs/www/htdocs/WAC/CF-16 WAC 40 South.tif"

    #projection of this layer
    PROJECTION
            "proj=lcc"
            "lat_2=49"
            "lat_1=44.5"
            "lat_0=40"
            "lon_0=-125"
            "x_0=0"
            "y_0=0"
            "ellps=GRS80"
            "datum=NAD83"
            "units=m"
            "no_defs"
    END

    OFFSITE 0 0 0
END

Other types of positioning such as UTM provide incorrect projections (in that the lines are not level) and are similarly incorrectly positioned.

Why is MapServer positioning so incorrectly despite being given absolute values, where ArcGIS displays the tiles using the world file without any problems?

Is it possible the version of MapServer is faulty, or is it more likely to be our mapfile?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T03:17:28+00:00Added an answer on June 2, 2026 at 3:17 am

    We revisited this issue a month ago while solving a completely different issue.

    What we found is that our legacy JavaScript (using Google Maps API) wasn’t calculating the bounding box properly. We had assumed it was fine, given it had been in production for a few years without issue.

    I investigated alternative mapping API’s including leaflet.js and created a sample solution from scratch. We made some adjustments to our internal JavaScript functionality and were able to have the maps project correctly.

    Personally, I’ve found Leaflet.js and OSM to be invaluable when trying to troubleshoot Google Maps issues.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a simple page using Google Maps API 3. My first. One marker
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have thousands of HTML files to process using Groovy/Java and I need to
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.