Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am trying to display the USGS national map via OpenLayers: http://viewer.nationalmap.gov/viewer/

OpenLayers is able to display the USGS map. However, when I zoom in, the tiles turn red. Could someone explain how to fix this?

Is there a USGS restriction on zoon levels?

Thanks

share|improve this question

2 Answers 2

Try opening the red tile to see if there is an error message in them or change your EXCEPTIONS to application/vnd.ogc.se_inimage in the WMS parameters to see the error message in the image that is returned.

share|improve this answer
    
Thanks, I'll try that and see if it works. –  user1137894 Jan 25 '12 at 17:40

Try adding this to your code:

OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;

Ref Ref2

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.