none
Code for generating input file and processing output file for Bing Spatial Data Services RRS feed

  • Question

  • The input file and output file in the title should be changed to input data and output data.

     

    I am looking for code, ideally in open source, that can generate data that has the valid input format, and process output returned, when using Bing Spatial Data Services? It is not difficult to write it myself, but if it is available, it wouild be great to use.

    Thanks in advance!

    • Edited by Pingpong689 Tuesday, December 7, 2010 11:32 PM
    • Moved by Ricky_Brundritt Friday, March 9, 2012 2:10 PM (From:Bing Maps: Map Control and Web services Development)
    Tuesday, December 7, 2010 5:53 PM

Answers

  • There's a full example on MSDN:

    http://msdn.microsoft.com/en-us/library/ff701729.aspx


    Beginning Spatial with SQL Server http://www.apress.com/book/view/1430218290
    Tuesday, December 7, 2010 6:00 PM
    Moderator
  • Also, Excel makes easy work of this if you create a delimited file.
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com | http://inknowledge.co.uk
    Tuesday, December 7, 2010 6:02 PM
  • You can export data from SQL to a delimited file using the Export tools in SQL management studio.
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com | http://inknowledge.co.uk
    Tuesday, January 18, 2011 1:35 PM

All replies

  • There's a full example on MSDN:

    http://msdn.microsoft.com/en-us/library/ff701729.aspx


    Beginning Spatial with SQL Server http://www.apress.com/book/view/1430218290
    Tuesday, December 7, 2010 6:00 PM
    Moderator
  • Also, Excel makes easy work of this if you create a delimited file.
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com | http://inknowledge.co.uk
    Tuesday, December 7, 2010 6:02 PM
  • I might have misunderstood the question - you want code to generate the input file?

    That's just CSV - you can use Windows Notepad....


    Beginning Spatial with SQL Server http://www.apress.com/book/view/1430218290
    Tuesday, December 7, 2010 6:10 PM
    Moderator
  • I think there is no open source code for that. It won't take much time to write.
    Tuesday, December 7, 2010 7:45 PM
  • You're looking to convert arbitrary data into a defined data structure? Your best bet is to use Excel as Richard suggested. 
    Tuesday, December 7, 2010 9:25 PM
  • I have to read data into memory from database, and format them as required by Bing Spatial Data Services, e.g. pipe delimited values, finally post to the service.
    Tuesday, December 7, 2010 11:29 PM
  • You can export data from SQL to a delimited file using the Export tools in SQL management studio.
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com | http://inknowledge.co.uk
    Tuesday, January 18, 2011 1:35 PM