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

I am trying to get information from an SQL database using python I was
Does anyone know how to get the operating system information from a microsoft sql
I'm trying to get information from a cookie into Alfresco Share. I have a
I have an SQL query I get from a configuration file, this query usually
I use the following query to get information about columns of a SQL Table
I have a tricky situation in trying to get information from multiple queries into
Query : select i.Name,ri.Country,ri.State,ri.City from Information as i join ResidenceInformation as ri order by
Im having problems building a query with the linq to sql data query expression
I'm looking at ways to get information from my MySQL DB using iOS. The
I am using a framework to get information from the network. The problem is

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.