[gdal-dev] Shift/Translate vector data within the same coordinate system

2008-10-06 Thread Andreas Neumann
Hi, I wonder if ogr2ogr can translate/shift vector data within the same coordinate system. In Postgis I would use ST_Translate(geometry, float8, float8, float8) to solve my problem. I have data that is in the swiss coordinate system (metric, scale 1:1), but not correctly georeferenced. All vector

Re: [gdal-dev] Ingres driver for gdal

2008-10-06 Thread Frank Warmerdam
On Mon, Oct 6, 2008 at 11:11 AM, Denise MacLeod <[EMAIL PROTECTED]> wrote: >ogr2ogr -overwrite -append -skipfailures -f ingres INGRES:mydbname > road.shp > > Now however, the syntax is (as documented on the GDAL website): > >ogr2ogr -overwrite -append -skipfailues -f Ingres > "@driver=ingre

Re: [gdal-dev] [SOLVED] Re: Trouble connecting to PostGIS db

2008-10-06 Thread Frank Warmerdam
On Mon, Oct 6, 2008 at 7:44 AM, Jose Gómez-Dans <[EMAIL PROTECTED]> wrote: > Hi, > > On Friday 03 October 2008 20:58:27 you wrote: >> > Nope, that doesn't change a thing. I am realising that my >> > geometry_columns table is empty, maybe this is where the problem lies? >> >> May be. However, quote

Re: [gdal-dev] geotiff image writing problem

2008-10-06 Thread Frank Warmerdam
On Fri, Oct 3, 2008 at 6:52 AM, Silvia Marchesi <[EMAIL PROTECTED]> wrote: > Hi, > I'm using gdal for reading and writing geotiff images; I nedd to write a > c++ code able to read a geotiff image (I have already done it!), process it > and then give as output an image qith the same size of the inp

Re: [gdal-dev] is there a way to rename fields with gdal/ogr 1.5.x?

2008-10-06 Thread Tamas Szekeres
Hi, Here is my daily snapshot you can probably test with: http://vbkto.dyndns.org:1280/tests/release-1400.zip Best regards, Tamas 2008/10/6 Duarte Carreira <[EMAIL PROTECTED]>: > Tamas, > > > > Thanks for your reply. > > > > The problem to using the latest FWTools is the missing SDE plugin...

Re: [gdal-dev] Ingres driver for gdal

2008-10-06 Thread Even Rouault
For the seg fault, I've taken the liberty to fix it myself (r15463) as the fix was obvious. But I encourage you - and others - to query the trac ticket system (http://trac.osgeo.org/gdal/report/1?sort=ticket&asc=0) and create new tickets if needed so that bug reports and patches don't get lost i

Re: [gdal-dev] Problem with gdal_polygonize.py

2008-10-06 Thread Even Rouault
You must use the NG python bindings in order to use gdal_polygonize.py because GDALPolygonize is not mapped in the OG python bindings. I'm not sure why you don't manage to compile the NG bindings. My Ubuntu 8.04 comes with python 2.5.2 and they work. Le Monday 06 October 2008 16:47:29 Mario Cavi

Re: [gdal-dev] creating an epsg code that can be used within the epsg file for fwtools and MapServer

2008-10-06 Thread John Mitchell
Thanks Roger, Since I sent out the email I was able to derive the EPSG code and the only difference between mine and yours was that I had +units=m and you had +to_meter=0.3048006096012192. I think that my EPSG code is correct since my below email had the Linear Unit = Meter and +to_meter=0.30480

Re: [gdal-dev] creating an epsg code that can be used within the epsg file for fwtools and MapServer

2008-10-06 Thread Roger André
Hi John, No guarantees that I got this right, but you could try adding the following entry to your "FWTools/share/proj/epsg" file: # Guatemala Transverse Mercator <001234> +proj=tmerc +x_0=50.00 +y_0=0 +lon_0=-90.5 +lat_0=0 +k=0.999800 +ellps=WGS84 +datum=WGS84 +to_meter=0.304800609601219

[gdal-dev] Creating Google map tiles with gdal2tiles.py

2008-10-06 Thread Roger André
I'm curious if anyone has succesfully used gdal2tiles.py to create Google Map tiles? It seems to work very well at creating KML superoverlays, but I have not been able to get Map tiles that are positioned correctly with it. I have tried it against imagery that is in EPSG:4326, as well as in EPSG:9

RE: [gdal-dev] is there a way to rename fields with gdal/ogr 1.5.x?

2008-10-06 Thread Duarte Carreira
Tamas, Thanks for your reply. The problem to using the latest FWTools is the missing SDE plugin... compiling it myself is behond my knowledge. That's why I was hoping for a workaround with 1.5.x. Do you suppose I could get a compiled copy?? Regards, Duarte De: Duarte Carreira [mailto:[EMAIL PR

[gdal-dev] Ingres driver for gdal

2008-10-06 Thread Denise MacLeod
Hi - I am another recent addition to the GDAL community. I am currently using the Ingres driver for the latest svn trunk version. I had originally downloaded the driver back in May, and had it working, but the latest version wasn't working for me; specifically ogr2ogr was seg faulting. After

[gdal-dev] Problem with gdal_polygonize.py

2008-10-06 Thread Mario Cavicchi
Hi all, I compilated GDAL from repository (rev. 15462), because I want to use the gdal_polygonize.py utility. I used option --with-ogpython for make GDAL, because with --with-python I had some problem in compilation (I use python 2.5.2). Now, if I try to use gdal_polygonize.py, I get this error: $

[gdal-dev] creating an epsg code that can be used within the epsg file for fwtools and MapServer

2008-10-06 Thread John Mitchell
Hi, How would I create an epsg code that can be used within the epsg file for fwtools and MapServer? Below is the information that I would like to use to create an epsg code. What would be format for the new epsg code? Is the information listed below enough to create an epsg code and if not what

[gdal-dev] [SOLVED] Re: Trouble connecting to PostGIS db

2008-10-06 Thread Jose Gómez-Dans
Hi, On Friday 03 October 2008 20:58:27 you wrote: > > Nope, that doesn't change a thing. I am realising that my > > geometry_columns table is empty, maybe this is where the problem lies? > > May be. However, quotes seem to make difference on both my Windows XP and > Windows Vista: Single quotes a