[gdal-dev] the Algorithm of Contour Generation

2009-10-28 Thread wow
Hi , My user asked me to give him some description of the algorithm of gdal contour generator as detailed as possible. I have poor theory about this problem, anyone could tell me some workflow of this module to save time when i browse the source code? Thanks.

[gdal-dev] GDAL: Help for merge jpg of a folder

2009-10-28 Thread Jan Tappenbeck
HI ! i am new in the use of GDAL and i want to merge several jpg-files (100 images) of a folder in to on - optional by reduce the resolution. my problem is that i only found the command gdal_merge - but not the right options. can anybody tell me a link or a good example. regards Jan :-)

Re: [gdal-dev] GDAL: Help for merge jpg of a folder

2009-10-28 Thread Daniele Romagnoli
Hi Jan, you can take a look on this: http://www.gdal.org/gdal_merge.html Hope this helps. Cheers, Daniele On Wed, Oct 28, 2009 at 2:01 PM, Jan Tappenbeck tappenb...@widemann.dewrote: HI ! i am new in the use of GDAL and i want to merge several jpg-files (100 images) of a folder in to on -

Re: [gdal-dev] building perl swig with MingW

2009-10-28 Thread guillaume huby
Dear Ari, On Wed, Oct 28, 2009 at 3:53 PM, Ari Jolma ari.jo...@gmail.com wrote: guillaume huby kirjoitti: Hello, I experience some troubles building perl bindings on MingW. Here is my config : Windows XP; MingW 5.1.6 + MSys; Gdal1.6.2 sources from website; ActivePerl 5.10; The

[gdal-dev] Can gdal_poligonize.py be used on float data?

2009-10-28 Thread Alan Steel
Hello All, I made a shapefile from a raster layer using gdal_polygonize.py. My input values are float, but my first attempt of gdal_poligonize.py has truncated these to integer values. Ok, so I read the description of the utility on http://www.gdal.org/gdal_polygonize.html, which says:

[gdal-dev] GDAL DataType class

2009-10-28 Thread Luca Fasano
Hi all, I need a way to retrieve a GDAL DataType (its code or its string name, it's the same) starting from all information on it. Does it exist a class or method to to this? For example: GdalDataType(nbits=32, float=True, Complex=True) - gdal.GDT_CFloat32 I use Python bindings for GDAL. I'd like

[gdal-dev] Question about gdal2tiles

2009-10-28 Thread Jorge Arévalo
Hello, I've a problem with gdal2tiles. I need to create tiles from an image of 5 GB, more or less. The image has been created rasterizing a shapefile. The shapefile's original projection was epsg:23028, but I had to reproject it to epsg:23030 (because I had to cross this shapefile with other ones

Re: [gdal-dev] GDAL DataType class

2009-10-28 Thread Howard Butler
On Oct 28, 2009, at 11:35 AM, Frank Warmerdam wrote: Luca Fasano wrote: Hi all, I need a way to retrieve a GDAL DataType (its code or its string name, it's the same) starting from all information on it. Does it exist a class or method to to this? For example: GdalDataType(nbits=32,

[gdal-dev] Maintenance report for Sep 25, 2009 to Oct 27, 2009

2009-10-28 Thread Chaitanya kumar CH
Frank, Please I have updated my maintenance report at http://trac.osgeo.org/gdal/wiki/MaintenanceReportsByChaitanya Please find the attached copy of the report. -- Best regards, Chaitanya kumar CH. Sep 25, 2009 to Oct 27, 2009 #3156: Fixed the problem with xerces library's changes between

[gdal-dev] driver paths - either/or

2009-10-28 Thread William Kyngesburye
I just noticed that when setting GDAL_DRIVER_PATH in the environment, it overrides the paths configured into GDAL, instead of adding to those paths. Was this intentional? Any way to tell GDAL to *add* GDAL_DRIVER_PATH to the configured paths? I want to override the installed GRASS plugin

Re: [gdal-dev] driver paths - either/or

2009-10-28 Thread Frank Warmerdam
William Kyngesburye wrote: I just noticed that when setting GDAL_DRIVER_PATH in the environment, it overrides the paths configured into GDAL, instead of adding to those paths. Was this intentional? Any way to tell GDAL to *add* GDAL_DRIVER_PATH to the configured paths? I want to override

Re: [gdal-dev] driver paths - either/or

2009-10-28 Thread William Kyngesburye
On Oct 28, 2009, at 1:25 PM, Frank Warmerdam wrote: William Kyngesburye wrote: I just noticed that when setting GDAL_DRIVER_PATH in the environment, it overrides the paths configured into GDAL, instead of adding to those paths. Was this intentional? Any way to tell GDAL to *add*

RE: [gdal-dev] GDAL DataType class

2009-10-28 Thread Pinner, Luke
You could easily roll your own. from osgeo import gdal class GdalDataType(object): def __init__(self, nbits, Float, Complex): for i in range(0,gdal.GDT_TypeCount): self.DataType=None DataType=i DataTypeName=gdal.GetDataTypeName(i)

RE: [gdal-dev] GDAL DataType class

2009-10-28 Thread Pinner, Luke
Ooops... I neglected the signed check. from osgeo import gdal class GdalDataType(object): def __init__(self, nbits, Float, Signed=True, Complex=False): for i in range(0,gdal.GDT_TypeCount): self.DataType=None DataType=i

[gdal-dev] the Algorithm of Contour Generation

2009-10-28 Thread wow
-- To the world you're little, but to a person, maybe you're the world. -- Original -- From: wow27949...@qq.com; Date: Wed, Oct 28, 2009 04:51 PM To: gdal-devgdal-dev@lists.osgeo.org; Subject: the Algorithm of