[gdal-dev] Confused about coordinate transformations

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Oct 18 04:24:59 EDT 2011


Marc,

proj4 usually comes with the gdal library. Instead of coding your own
program, first try the ogr2ogr utility[1] that comes with the gdal library.

[1]: http://www.gdal.org/ogr2ogr.html

On Tue, Oct 18, 2011 at 1:36 PM, <dev4cx4m9z at snkmail.com> wrote:

> I have a GIS database with all coordinates stored in WGS84 datum. I am
> trying to translate the coordinates of the database to the datum of my map.
> I am creating two OGRSpatialReference, one for WGS84 and one for the current
> map. I am then creating an OGRCoordinateTransformation. When I do so I get a
> PROJ.4 error – “No PROJ.4 translation for destination SRS, coordinate
> transformation initialisation has failed”****
>
> ** **
>
> Question – Do I HAVE to use PROJ.4 to do the translation? Can I not just
> load the SRS with a WKT? I wish to avoid PROJ.4 as I’m unsure how to build
> it.****
>
> ** **
>
> _______________________________________****
>
> Marc Hillman, Melbourne, Australia****
>
> http://users.tpg.com.au/users/mhillman/****
>
> marc .hillman @ t p g . c o m . a u****
>
> Eagles may soar, but weasels don't get sucked into jet engines.****
>
> Early bird gets the worm, but the second mouse gets the cheese.****
>
> If Barbie is so popular, why do you have to buy her friends?****
>
> All those who believe in psychokinesis, raise my hand.****
>
> ** **
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20111018/47f231ed/attachment.html


More information about the gdal-dev mailing list