[Gdal-dev] Assigning projection in php_ogr

Nico Alberti nico at langhirano.it
Wed Jun 20 09:07:40 EDT 2007


Hi all,

I need to do a geometry transformation using php_ogr.

Just like I do in my Python programs, I would use the
OGR_G_TransformTo ($Geometry, $SpatialReference) function. For this
reason I should use something like the
OSRImportFromProj4(), to apply the desidered starting and ending
spatial reference, but I cannot fing the corresponding function in the
php extension.

Can anybody give me a hint? I am stuck.

Thank you in advance and sorry for my bad English.
-- 
Ciao
Nico



More information about the Gdal-dev mailing list