Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 490
  • Last Modified:

Catching XML answer from reverse geocoding api

Hi,

I want to make a reverse geocoding to positions registered as Lat. Long. I want to use OpenStreetMap reverse geocoding API - Nominatim. I sent inquiry something like this :

http://nominatim.openstreetmap.org/reverse?format=xml&lat=54.354671&lon=18.587120&zoom=18&addressdetails=1

Answer is coming in XML format and display in a browser. How I can catch it to use in my C++ Builder software. I have no experience on this field.
0
Leo01010101
Asked:
Leo01010101
1 Solution
 
jkrCommented:
If you basically need to parse information from an XML file, I'd suggest TinyXML (http://www.grinninglizard.com/tinyxml/) for that purpose. It's quite lightweight, easy to use an Open Source. Check out the docs at http://www.grinninglizard.com/tinyxmldocs/index.html
0
 
Leo01010101Author Commented:
Thank you for answer, I will study this documentation. XML parsing is one problem and as a first I have to catch the answer into char* as I understand. I'm not sure how to make it.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now