[gdal-dev] GDAL TMS minidriver

2009-03-25 Thread Roger André
Hi All, I'm trying to use the TMS minidriver to read a TileCache instance and am getting an error that says, "GDALWMS: No mini-driver registered for 'TMS'". I'm trying to follow the instructions on http://www.gdal.org/frmt_wms.html, but am a bit confused. At the top of the page it says there are 3

Re: [gdal-dev] gdal-python and py2exe

2009-03-25 Thread Christopher Barker
Simon Lyngby Kokkendorff wrote: a message saying that gdal was not configured correctly on the system. So what is being configured when running the gdal for python installer exe, which has not been run on the other computer? Just taking a stab at it -- I think GDAL requires data files that you

[gdal-dev] gdal-python and py2exe

2009-03-25 Thread Simon Lyngby Kokkendorff
Hello All, This may seem stupid :-) I am doing an application using the gdal bindings for python on windows. I am trying to bundle it all up to an executable using py2exe and the NSIS-installer. It all seems to go well, the dll's from my installation of gdal, C:\gdalwin32-1.6\bin, get copied int

[gdal-dev] SWIG Python binding for OpenEV2

2009-03-25 Thread Gong, Shawn (Contractor)
hi list, I built Gdal 1.6 using old-generation Python bindings (not SWIG) for OpenEV1.8. Now I am ready to move to Mario Beauchamp's OpenEV2, whose Python codes call "from osgeo import gdal" instead of "import gdal" I will rebuild Gdal 1.6 using "./configure --with-python" on Linux. On Window

Re: [gdal-dev] Re: prj to proj.4

2009-03-25 Thread Howard Butler
On Mar 25, 2009, at 1:00 PM, Even Rouault wrote: Hermann, Actually you don't even need to have root priviledge to use the GDAL bindings. Go to swig/python and do "make install". Actually, this is cleaner than hand copying: cd swig/python python setup.py bdist_egg (or python setup.py bdis

Re: [gdal-dev] Re: prj to proj.4

2009-03-25 Thread Even Rouault
Hermann, Actually you don't even need to have root priviledge to use the GDAL bindings. Go to swig/python and do "make install". This will generate the shared libraries and at the end it will error out because it can't install them in /usr/local/lib/python2.5/site-packages (or something similar)

[gdal-dev] Re: prj to proj.4

2009-03-25 Thread Hermann Peifer
Howard Butler wrote: Looking at the .prj file and searching http://spatialreference.org might also be productive. Another option is to upload it to spatialreference.org, and you can then get it in a number of formats. This approach isn't recommended for a lot of SRS's, but for a quick one-of

Re: [gdal-dev] prj to proj.4

2009-03-25 Thread Howard Butler
Looking at the .prj file and searching http://spatialreference.org might also be productive. Another option is to upload it to spatialreference.org, and you can then get it in a number of formats. This approach isn't recommended for a lot of SRS's, but for a quick one-off sort of thing, it

[gdal-dev] Python and GDAL 1.6: TypeError with geom.Transform()

2009-03-25 Thread G. Allegri
Hello list. I have problems with GDAL 1.6 and Python. I need to reproject some points, and I know I can use geom.Transform(my osgeo.osr.CoordinateTransformation object). The problem is that it raises the following error: TypeError: in method 'Geometry_Transform', argument 2 of type 'OSRCoordinateT

Re: [gdal-dev] prj to proj.4

2009-03-25 Thread Robert Coup
Hi Hermann, On Wed, Mar 25, 2009 at 9:06 PM, Hermann Peifer wrote: > > I am looking for a convenient way to convert the SRS parameters from a > random shapefile.prj into proj.4 format. A command line interface would be > most helpful for a non-programmer, like me. > > If you have python on your s

[gdal-dev] prj to proj.4

2009-03-25 Thread Hermann Peifer
Hi, I am looking for a convenient way to convert the SRS parameters from a random shapefile.prj into proj.4 format. A command line interface would be most helpful for a non-programmer, like me. As far as I can see: Grass' g.proj is expected to do the job, but I did not get any further than t