Gmail Calendar Documents Reader Web more »
Help | Sign in
Google Groups Home
extracting coordinates
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Fahad  
View profile  
 More options Nov 12, 3:55 pm
From: Fahad <fahd...@gmail.com>
Date: Thu, 12 Nov 2009 12:55:42 -0800 (PST)
Local: Thurs, Nov 12 2009 3:55 pm
Subject: extracting coordinates
Hi,
I have set up the API so that it is possible to draw a polygon on the
map, exactly like in "MyMaps". I would now like to extract the
coordinates of any polygon drawn and use the coordinates in an SQL
query.

Is there a way to do this directly, i.e. can I access the array of
lat,lon coordinates and format them into an SQL query within a
javascript function?
if so - how do I access this array of coordinates?

Or do I need to go a more circuitous route, saving the output as KML
(as one would in the myMaps tool by clicking on 'view in Google
earth') then parse the KML to extract the points?
If I need to do it this route, how do I save the map in KML? I am
familliar with the syntax of KML and how to build it - lots of info on
this on the Web, but I cant figure out how to save the map created
with using my map display as KML.

My map display is at: http://eoinmaca.com/maps/mymap.html

Many thanks,

Fahad


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rossko  
View profile  
 More options Nov 12, 4:10 pm
From: Rossko <ros...@culzean.clara.co.uk>
Date: Thu, 12 Nov 2009 13:10:18 -0800 (PST)
Local: Thurs, Nov 12 2009 4:10 pm
Subject: Re: extracting coordinates
    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google