Re: [Gdal-dev] Building a Projection Dialog

2009-05-12 Thread Frank Warmerdam
Ari Jolma wrote: Diaren kirjoitti: That would solve part of the dialog... the next part is listing / editing the supported Datums. There are various files in the data folder namely: coordinate_axis.csv ... Diaren, I'm not an authoritative source (Frank is), but let me try. The csv files a

Re: [Gdal-dev] Building a Projection Dialog

2009-05-12 Thread Ari Jolma
Diaren kirjoitti: That would solve part of the dialog... the next part is listing / editing the supported Datums. There are various files in the data folder namely: coordinate_axis.csv ... Diaren, I'm not an authoritative source (Frank is), but let me try. The csv files are key files, whic

Re: [Gdal-dev] Building a Projection Dialog

2009-05-11 Thread Ari Jolma
Even Rouault kirjoitti: Indeed, the OPT functions are exposed through swig. I've checked that the Python osr.GetProjectionMethods() works as expected, but I wouldn't be surprised if the other languages miss the necessary typemaps Perl code: use Geo::GDAL; my $methods = Geo::OSR::GetProject

Re: [Gdal-dev] Building a Projection Dialog

2009-05-11 Thread Diaren
Frank Warmerdam wrote: > > I will mention the rarely used OPT functions: > > char CPL_DLL ** OPTGetProjectionMethods(); > char CPL_DLL ** OPTGetParameterList( const char * pszProjectionMethod, > char ** ppszUserName ); > int CPL_DLL OPTGetParameterInfo( const char

Re: [Gdal-dev] Building a Projection Dialog

2009-05-11 Thread Even Rouault
Indeed, the OPT functions are exposed through swig. Here's the comment from swig/include/osr.i : /* * Python has it's own custom interface to GetProjectionMethods().which returns * fairly complex structure. * * All other languages will have a more simplistic interface which is * exactly the

Re: [Gdal-dev] Building a Projection Dialog

2009-05-11 Thread Frank Warmerdam
Diaren wrote: Using the SWIG C# libraries I'm attemtping to build a projected/Geographic SpatialReference creation/edit dialog like you see in various GIS applications, which has as the main components: Projection Method Projection Parameters Datum Edit Datum -> Ellipsoid, 3/7 Parameter Transfor

[Gdal-dev] Building a Projection Dialog

2009-05-11 Thread Diaren
Using the SWIG C# libraries I'm attemtping to build a projected/Geographic SpatialReference creation/edit dialog like you see in various GIS applications, which has as the main components: Projection Method Projection Parameters Datum Edit Datum -> Ellipsoid, 3/7 Parameter Transformation paramete

[Gdal-dev] Building a Projection Dialog

2009-05-11 Thread Diaren
Using the SWIG C# libraries I'm attemtping to build a projected/Geographic SpatialReference creation/edit dialog like you see in various GIS applications, which has as the main components: Projection Method Projection Parameters Datum Edit Datum -> Ellipsoid, 3/7 Parameter Transformation paramete