|
Geometry : |
Subject: [ggl] map to cartesian
From: Mateusz Loskot (mateusz)
Date: 2010-03-30 07:56:04
fausto wrote:
> Hi Barend, all,
> regarding transformations from one coordinate system to another, I can
> see that the example below mentions Map projectons.
> http://geometrylibrary.geodan.nl/06__transformation__example_8cpp-example.html
>
> Is there a way to transform GIS positions into simple cartesian x,y
> positions.
>
> If you were to draw a country loaded from a kml file or shapefile, how
> would you proceed?
Fausto,
A quick reply to your question, if you look in the SVN repository
you will find example called p03_projmap_example.cpp [1]
It should be much more helpful as it presents solution for very
similar problem to yours.
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net
Geometry list run by mateusz at loskot.net