Re: [Gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-19 Thread Markus Reinhold
Hej, Aleksey Naumov-2 wrote: > > My problem is being able to do scripting with GDAL using Python 2.5 (this > version is important because of integration/compatibility with a number of > other packages, mainly IPython), and I need to be able to do it on > Windows. > I attempted a few approaches,

Re: [gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-19 Thread Ivan
Aleksey Installing GDAL + Python 2.5 + "GDAL Python bindings" through the advanced settings usually works pretty easy. And the you should be able to launch the OSGeo4W Shell and access it, example: C:\OSGeo4W> Python >>> from osgeo import gdal >>> gdal.VersionInfo() '1520' >>> Noti

Re:Re: [gdal-dev] Is proj.4 lib necessary for Reprojection and Transformation?

2009-10-19 Thread atubar
Thank you. And what about those pvevious versions, such as from 1.6.0 to 1.6.2?___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re:Re:Re:Re:Re:Re: [gdal-dev] how to test the creation and deletion capability of ogr?

2009-10-19 Thread atubar
Hi, Thank you once more. As you said, it seems that GeoTiff and HDF also have subdatasets. So, I wonder that is there any character which can differ HDF from other formats?___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/

[gdal-dev] Another Join issue with OGR/ODBC

2009-10-19 Thread Yewondwossen Assefa
Hi all, I am into some issues when trying to do a join using a shape file as a primary table and an ODBC (sql server 2005) connection as the secondary table. The issue has to do with the schema name. The following query (with a schema name: imsv7) works as expected: - ogrinfo ODBC:sa/t...@

[gdal-dev] Need some ideas for mosaic'ing raster data that spans the dateline

2009-10-19 Thread Roger André
I need to create a colored raster that shows data intensity over Russia. My data is in 2 pieces, one on each side of the dateline, and in WGS84 projection. What I would like to do is create a shifted lat/lon projection, such that when both pieces are stuck together, all of russia can be represent

[gdal-dev] jp2kak setting error on Windows

2009-10-19 Thread Gong, Shawn (Contractor)
hi Frank and list, I copied all the Kakadu *.h files that jp2kakdataset.cpp refers to its local directory. Now the "cannot find jp2_local.h" error is gone and I got the error: C:\build2\gdal\frmts>cd jp2kak && nmake /nologo /f makefile.vc && cd .. cl /nologo /MD /EHsc /Ox /W3 /D_CRT_SE

[gdal-dev] jp2kak include error on Windows

2009-10-19 Thread Gong, Shawn (Contractor)
hi list, I have Kakadu 6.21 (non-commercial license) on C:\build2\kakadu\v6_2_1\ Kakadu libraries are generated using coresys_2008.sln and kdu_managed_2008.sln I am using the followings for jp2kak Compiler: MS VS 9.0 (2008) Gdal: gdal-svn-stable-2009.08.03 http://trac.osgeo.org/gdal/wiki/JP2KAK

[gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-19 Thread Aleksey Naumov
Dear GDAL users, My apologies if this is a repeated question, I searched the mail acrhives and found a few discussions on this subject, but no resolution, AFAIK. I may have overlooked a good thread, would appreciate a link. My problem is being able to do scripting with GDAL using Python 2.5 (this

Re: [gdal-dev] opening an S-57 dataset directory

2009-10-19 Thread Yilmaz Arslanoglu
Ok Frank, thank you very much for the answer. Actually, under the "gdal/frmts/iso8211" directory, I found the class called "DDFModule" which can open both individual ENC files (*.000) and ENC catalogue files (*.031) Now I use this class to open the catalogue file, get the paths of all relevant fi

Re: [gdal-dev] Is proj.4 lib necessary for Reprojection and Transformation?

2009-10-19 Thread Even Rouault
Selon atubar : > > After Reading API doc, I find it clear that GEOS lib is necessary for spatial > analysis. > And what about Proj? Does Gdal need supports from Proj lib for Reprojection > and Transformation? > Yes, coordinate transformation and reprojection require PROJ.4 to be available at runt

Re:Re:Re:Re:Re: [gdal-dev] how to test the creation and deletion capability of ogr?

2009-10-19 Thread Even Rouault
Selon atubar : > Here is my local code and result, is there something wrong? No, its's fine. > > char ** SUBDATASETS = GDALGetMetadata( (GDALDatasetH)m_pSrcDataset, > "SUBDATASETS" ); > > After anterior code, for GTiff dataset, it return a NULL result. > So I am puzzled that whether SUBDATASETS

Re: [gdal-dev] Date tag in geotiff files

2009-10-19 Thread Even Rouault
Selon Ivan : There's a standard TIFF tag that GDAL can read & write : 'TIFFTAG_DATETIME'. See http://www.awaresystems.be/imaging/tiff/tifftags/datetime.html for the spec. This should be interoperable with non GDAL based software. > Martin, > > An easy-dirt way is just add Metadata Items to it. Th

Re: [gdal-dev] Date tag in geotiff files

2009-10-19 Thread Ivan
Martin, An easy-dirt way is just add Metadata Items to it. That is how I am doing: output_dst.SetMetadataItem('STARTDATE', start_date.isoformat(), '') output_dst.SetMetadataItem('STARTTIME', start_time.isoformat(), '') That would work as long as you are the same guy who writes th

[gdal-dev] Date tag in geotiff files

2009-10-19 Thread Raspaud Martin
Hi, I'm currently working with satellite images, and for this I use GDAL's python interface. I would like to add a date in the metadata of the geotiff files I use. I looked around the gdal website, but I couldn't find anything about this. Is there a way to do this from gdal ? Should I use exif me

[gdal-dev] compile ogr2ogr

2009-10-19 Thread Pedro Ruiz
Hello, can someone help me with my problem? I have information stored in format Oracle Spatial and need to generate a shapefile. I have ogr2ogr, but I have to compile it with the bookshop OCI.dll someone can do like this?? Thank you very much... Pedro __

RE: [gdal-dev] Fastest vector format for combining shapefiles

2009-10-19 Thread Duarte Carreira
Hello. I've been following this discussion with much interest. Spatialite really does standout to me as the "mostly done" format... as to ESRI interoperability, it will be easy to make a small tool/model for ESRI users that runs OGR in the background, so a simple checkout-checkin process can be

Re: [gdal-dev] Fastest vector format for combining shapefiles

2009-10-19 Thread Howard Butler
On Oct 19, 2009, at 7:59 AM, doug_newc...@fws.gov wrote: I'm confused, I thought spatialite support was being added to ogr in 1.7 . http://www.gdal.org/ogr/drv_sqlite.html As to ESRI, I asked at the last DOI meeting prior to the ESRI conference this year about spatialite support and they s

Re: [gdal-dev] Fastest vector format for combining shapefiles

2009-10-19 Thread Doug_Newcomb
I'm confused, I thought spatialite support was being added to ogr in 1.7 . http://www.gdal.org/ogr/drv_sqlite.html As to ESRI, I asked at the last DOI meeting prior to the ESRI conference this year about spatialite support and they said they had no plans to support it. Of course, they used to

[gdal-dev] Is proj.4 lib necessary for Reprojection and Transformation?

2009-10-19 Thread atubar
After Reading API doc, I find it clear that GEOS lib is necessary for spatial analysis. And what about Proj? Does Gdal need supports from Proj lib for Reprojection and Transformation? ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osge

Re:Re:Re:Re:Re: [gdal-dev] how to test the creation and deletion capability of ogr?

2009-10-19 Thread atubar
Here is my local code and result, is there something wrong? char ** SUBDATASETS = GDALGetMetadata( (GDALDatasetH)m_pSrcDataset, "SUBDATASETS" ); After anterior code, for GTiff dataset, it return a NULL result. So I am puzzled that whether SUBDATASETS shared for GTiff?__