Re: [gdal-dev] python memory driver

2011-05-04 Thread Chaitanya kumar CH
Julianne, There are in-memory format drivers for this purpose. http://www.gdal.org/frmt_mem.html http://www.gdal.org/ogr/drv_memory.html On Thu, May 5, 2011 at 3:03 AM, Juliannerc wrote: > I have been working with the examples/testers from > > # Project: GDAL/OGR Test Suite > # Purpose: Test

[gdal-dev] Re: EPSG value

2011-05-04 Thread Bill Teluk
If I understand correctly from above, would it be correct to say that if ogrinfo/ogr2ogr doesn't see an "EPSG" value specified in the WKT, it cannot derive the EPSG code? eg. the ogr utilities won't translate a WKT to an EPSG code? I ask because I have a dataset that is in GDA94, but uses an unusu

[gdal-dev] python memory driver

2011-05-04 Thread Juliannerc
I have been working with the examples/testers from # Project: GDAL/OGR Test Suite # Purpose: Test RasterizeLayer() and related calls. # Author: Frank Warmerdam If at all possible, I would like to be able to use the memory raster contents directly. However, if I understa

Re: [gdal-dev] Registering GDAL 1.8 64-bit with Python 2.7 on Windows 7

2011-05-04 Thread Tamas Szekeres
Have you added C:\Program Files\GDAL to the *PATH* environment variable? Best regards, Tamas 2011/5/4 Gregory Yetman > Hi, > > I'm pulling my hair out over what should be a simple problem. I'm trying to > use the pre-compiled GDAL library and bindings published here: > > > http://vbkto.dyndn

[gdal-dev] Registering GDAL 1.8 64-bit with Python 2.7 on Windows 7

2011-05-04 Thread Gregory Yetman
Hi, I'm pulling my hair out over what should be a simple problem. I'm trying to use the pre-compiled GDAL library and bindings published here: http://vbkto.dyndns.org/sdk/PackageList.aspx?file=release-1400-x64-gdal-1-8-mapserver-5-6.zip To implement a pure 64-bit Python and GDAL combo (I alre

[gdal-dev] Warping an image from C

2011-05-04 Thread Bborie Park
Hi, I'm currently in the process of seeing what can be done to expose GDAL's C warp functions to PostGIS Raster and am wondering if I have hit a roadblock. >From the docs for gdal_alg.h, it appears that the warp functionality available is limited to GDALSimpleImageWarp and its limitations. Is th

Re: R: Re: [gdal-dev] create kml file using MySQL database or shape file

2011-05-04 Thread Murat Beyhan
Dear Sigfrido Thanks for your advice yes when I add g to sql statement the script created kml file with layer I achieved. But the result same the point doesn't seem on the map any way I hope I will succeed. Thanks for your help KML file as follows by using geometry column http://www.openg

Re: R: Re: [gdal-dev] create kml file using MySQL database or shape file

2011-05-04 Thread sigfr...@tiscali.it
Hi Murat, try to explicitly add g (the geometric column) in the select clause: SELECT g, koy,lat,lng,sisint from deneme2 otherwise ogr2ogr won't be able to see it when creating KML layer. All the best Sig Messaggio originale Da: bey...@deprem.gov.tr Data: 04/05/2011 14.25 A: "sigfr...

Re: R: Re: [gdal-dev] create kml file using MySQL database or shape file

2011-05-04 Thread Murat Beyhan
Dear Sigfrido As you told me I have added a geometry column to my database as g and I executed following sql statement This is the first time for me to make spatial database table . So I think first of all I have to learn more about Spatial database concept in MySQL. any way UPDATE deneme2 S

R: Re: [gdal-dev] create kml file using MySQL database or shape file

2011-05-04 Thread sigfr...@tiscali.it
Hi Murat, I'm not so much into KML, but I think that maybe the problem is with your SQL: you are not including any geometry column in the select instruction. If you open the KML file with a text editor, you can see if the points are being exported and with which coordinates. Does the MySQL t

Re: [gdal-dev] create kml file using MySQL database or shape file

2011-05-04 Thread Murat Beyhan
Dear Sigfrido, Thank you for your help, I corrected the script and it works but when I open it with google-earth points doesn't seem on the map I sent snapshot of the google-earth.I think problem is latitude and longitude could not read by the google-earth. So How can I fix it... Regards. ogr