We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Advice on Geo codes (potential stupid question)
Page Index Toggle Pages: 1
Advice on Geo codes (potential stupid question) (Read 1094 times)
Advice on Geo codes (potential stupid question)
Jul 5th, 2009, 8:09am
 
Hi there

I am looking to do a program based around an outline of the British Isles. I want to draw the British Isles as a set of points, and then within the area created do other things.

Could someone give me some advise where I can get the co-ordinates for the British Isles? I have been looking at Google's Geocode but am left a little confused (hence a stupid question).

the only way I can see to get this data is to plot the points in Google Map and copy each long lat and then save this to a file so I can load it into processing and then draw my points using the map function?

Am I missing something?

Thank you
Re: Advice on Geo codes (potential stupid question)
Reply #1 - Jul 5th, 2009, 9:37am
 
why so complicated? wouldnt it work to take an image like this : http://www.enchantedlearning.com/europe/britishisles/outlinemap/map.GIF as source ? and then redraw it with points?
Re: Advice on Geo codes (potential stupid question)
Reply #2 - Jul 5th, 2009, 10:16am
 
Sounds like a good plan, not sure how I would re-draw this with points in processing?
Re: Advice on Geo codes (potential stupid question)
Reply #3 - Jul 5th, 2009, 10:28am
 
should it look like a dotted outline? then it would probably easier to use a svg or an image as background... gimme some minutes...
Re: Advice on Geo codes (potential stupid question)
Reply #4 - Jul 5th, 2009, 10:40am
 
alright, i used this map : http://commons.wikimedia.org/wiki/File:British_Isles.svg to get the outlines and created a dotted version of it. You can download it here : http://files.getdropbox.com/u/1152794/British_Isles_dots.svg

if it doesnt look the way you need it, just use the basic svg and do it yourself in illustrator or another program like this. You can also get more information out of the map like the names and overlay them on for example...
Re: Advice on Geo codes (potential stupid question)
Reply #5 - Jul 5th, 2009, 12:02pm
 
Thank you very much, I shall go and play... Cheesy
Re: Advice on Geo codes (potential stupid question)
Reply #6 - Jul 6th, 2009, 1:07pm
 
One question, as I trawl through this data and trying to learn SVG. If I want to mark locations on this image, in Processing, how do I translate my location (co-ordinates) to the correct location on the map?

I forgot to mention this, sorry. This is the reason I wanted to draw the outline using Processing because I could use the map function to both draw the outline and mark the relevant locations.
Page Index Toggle Pages: 1