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 have been able to request a specific tile with my xml through gdal lib. However, is there is another way of requesting the tiles from a web server without using xml ?

i wanna do it directly through my c++ code. i will appreciate any directions or examples.

thanks in advance;

share|improve this question

1 Answer 1

You can do it through using any HTTP library. You first need to call GetCapabilities on the source URL:


Which will give you a standard XML file (which will conform to a schema such as WMS) with information about layers, formats supported, and so on, which you'll need to parse. Then for the layers and areas you're interested in, you need to call GetMap:


Which will give you the data in the format you requested as either a POST response, or possibly a download URL.

The details of how to do all this would best be asked on the main StackOverflow site.

share|improve this answer

Your Answer


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.