W3C home > Mailing lists > Public > www-svg@w3.org > June 2009

Re: Mapping geographic data

From: Jean-Claude Moissinac <moissinac@enst.fr>
Date: Thu, 25 Jun 2009 14:20:56 +0200
Message-ID: <b7b7a2c60906250520y2ed42ceale71e96901350739c@mail.gmail.com>
To: Johannes Lichtenberger <Johannes.Lichtenberger@uni-konstanz.de>
Cc: www-svg@w3.org
You have to know the projection used to get the geo coordinate
(usually WGS84, see http://en.wikipedia.org/wiki/WGS_84) and then, you
must convert the WGS84 coordinates in your coordinate system.
The convertion could be complex (you can find some converters on the
web), but if you have coordinate in a relatively small region (ex size
of France), a simple interpolation could be accurate enough (take the
min/max of the region and do an interpolation between the min and the
max).

Hope that help

On Thu, Jun 25, 2009 at 5:11 AM, Johannes
Lichtenberger<Johannes.Lichtenberger@uni-konstanz.de> wrote:
> Hello,
>
> I've got an idea to represent geographic data with/on a svg worldmap
> (http://commons.wikimedia.org/wiki/File_talk:BlankMap-World6.svg).
>
> Furthermore the data is represented in XML with longitude/latitude
> values. Now I wonder how to transform from the longitude/latitude
> coordinate system into the pixel based coordinate system used by SVG.
>
> Any suggestions?
>
> regards,
> Johannes
>
>
>
>



-- 
-- 
Jean-Claude Moissinac
Signal and Image processing - Multimedia Group
TELECOM ParisTech
FRANCE

E-mail: moissinac@telecom-paristech.fr
Tel: (+33) 1.45.81.80.88
Fax: (+33) 1.45.81.71.58

http://videotoile.blogspot.com
http://svgmpeg4.blogspot.com/
Received on Thursday, 25 June 2009 12:21:38 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:42 GMT