• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 493
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

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