The input and output data can be supplied in the following formats:
XML (content type application/xml)
Comma separated values (text/plain)
Tab-delimited values (text/plain)
Pipe-delimited values (text/plain)
Binary (application/octet-stream) used with Blob Service REST API
We will use the XML format, for its clearer declarative structure.
Now, let's open Visual Studio and create a new C# Console project named LBM.Geocoder. We then add a Data
folder, which will contain all the data files and samples with which we'll work in this chapter, starting with the data.xml
file we need to upload to the Spatial Data servers to be geocoded.
<?xml version="1.0" encoding="utf-8"?> <GeocodeFeed xmlns="http://schemas.microsoft.com/search/local/2010/5/geocode" Version="2.0"> <GeocodeEntity Id="001" xmlns="http://schemas.microsoft.com/search/local/2010/5/geocode"> <GeocodeRequest Culture="en-US" IncludeNeighborhood="1"> <Address AddressLine="1 Infinite...