Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 476083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:27:13+00:00 2026-05-13T00:27:13+00:00

I get my information from my SQL query (Name, Description, Latitude, Longitude) but I’m

  • 0

I get my information from my SQL query (Name, Description, Latitude, Longitude) but I’m having problems getting it into the proper format for GeoRSS so that it may be consumed by my Virtual Earth map. FOR XML AUTO isn’t giving me quite what I want and I can’t seem to find any examples of how to extract the output of a SQL query to GeoRSS.

Here is a sample of the GeoRSS format that I’m looking for:

  <channel>
    <title>Reported Road Hazards</title>
    <link/>
    <description>Road hazards reported to the city</description>
<item>
      <title>Traffic Light</title>
      <description>Traffic light on north west corner out</description>
      <geo:lat>43.64887</geo:lat>
      <geo:long>-79.385362</geo:long>
    </item>
 </channel>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T00:27:13+00:00Added an answer on May 13, 2026 at 12:27 am

    I’ve gotten my desired output via SQL.

    With XMLNAMESPACES ( 'http://www.w3.org/2003/01/geo/wqs84_pos#' as geo)
    Select Name as title, [Description], Lat as 'geo:lat', Long as 'geo:long'
    From myTable
    FOR XML PATH ('item'), ROOT('rss')
    

    This basic pattern will give you XML in GeoRSS format for consumption by services such as Bing Maps, Google Maps, etc….

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In SQL you can use SELECT * FROM INFORMATION_SCHEMA.TABLES etc to get information about
I have a tricky situation in trying to get information from multiple queries into
I trying to use ImageInfo and Jython to get information from a image on
I am attempting to get the information from one table (games) and count the
I'm using Microsoft.XMLHTTP to get some information from another server from an old ASP/VBScript
How can you get the version information from a .dll or .exe file in
I'm trying to get the pixel information from an image and have got to
I need to get the File version information from an exe file originally written
I'm trying to find out how to get the following constraint information from a
I have several laptops in the field that need to daily get information from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.