Re: [gdal-dev] GSoC GDAL2Tiles: MapTiler.org, Google Maps Projection Web, Source Code

2008-08-18 Thread Klokan Petr Přidal
Hi Craig, For clipping you should use another GDAL tools before passing raster to gdal2tiles for tile generation. If you need to clip just by specifying bounding box in source coordinates or raster coordinates you can use 'gdal_translate' on the input raster and its parameters -srcwin or -projwin

Re: [gdal-dev] GSoC GDAL2Tiles: MapTiler.org, Google Maps Projection Web, Source Code

2008-08-18 Thread Klokan Petr Přidal
Hi Guillaume, Thank you for positive feedback ;-) > Just a question after a quick look at the doc : can the input file be a > raster catalog (the gdaltindex thing) ? Raster data needing to be tiled > fur web publication are sometimes already tiled in several pieces > because of their size. I don

[gdal-dev] Does OGRLayer::CreateField() suport UNICODE in ver1.4.1 ?

2008-08-18 Thread wow
Hi, When i call OGRLayer::CreateField() to create a field with a Chinese name[UNICODE], i got errors. The driver is ESRI shape. Does OGRLayer::CreateField() suport UNICODE in ver1.4.1 ? -- To the world you're little, but to a person you're the world.

Re: [gdal-dev] OGRFeatureStyle update from version1.4.1 to 1.5.2;

2008-08-18 Thread wow
Frank, this is my example for you to test the ver1.5.2 OGRFeatureStyle.cpp. Thank you. //---CODE-- bool CreateDefaultStyle("shpcreate\\1.tbl", 2); void main() { bool res = CreateDefaultStyle("shp

Re: [gdal-dev] OGRFeatureStyle update from version1.4.1 to 1.5.2;

2008-08-18 Thread wow
Hi, Frank, welcome to China. I'd like to see you in Beijing, i'm sure that you're the joss of many young students, hehe. I have found the reason why failed to deal styles with ver1.5.2. Compared with ver1.4.1, CPLSPrintf() is replaced the CPLString().Printf() , and i could trace the er

RE: [gdal-dev] RE: progressive rendering

2008-08-18 Thread Norman Barker
Tamas, Thanks for the input, much appreciated since I would like to get this interface defined. A streaming driver so JPIPKAK for example would need to register as its own driver to handle urls of the type jpip://, similarly ecwp would need its own driver if it were to use the same callback for s

Re: [gdal-dev] encodings, locales ?

2008-08-18 Thread Mateusz Loskot
Attila Csipa wrote: Just being curious as to what the current status on encoding/locale support is in GDAL/OGR ? I've seen RFC-23 (and 5), but I'm curious as to which drivers support this currently or at least in known development phase (as their implementation is listed as 'on demand' in the R

[gdal-dev] encodings, locales ?

2008-08-18 Thread Attila Csipa
Just being curious as to what the current status on encoding/locale support is in GDAL/OGR ? I've seen RFC-23 (and 5), but I'm curious as to which drivers support this currently or at least in known development phase (as their implementation is listed as 'on demand' in the RFC). Also, is there p

Re: [gdal-dev] RE: progressive rendering

2008-08-18 Thread Tamas Szekeres
Norman, It seems like adding a GDALProgressFunc like parameter to RasterIO would be a solution but I'm not totally sure about the negaive effects of this change since these functions are frequently used. Most of the drivers are doing band based rasterIO so you should also deal with Band.RasterIO

RE: [gdal-dev] GSoC GDAL2Tiles: MapTiler.org, Google Maps Projection Web, Source Code

2008-08-18 Thread Craig Miller
Nice work. Looks great. Can a bounding box for the input image be specified so the collar will be trimmed prior to creating the tile images? Craig -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guillaume Sueur Sent: Monday, August 18, 2008 2:07 PM To:

Re: [gdal-dev] GSoC GDAL2Tiles: MapTiler.org, Google Maps Projection Web, Source Code

2008-08-18 Thread Guillaume Sueur
That's an awesome job actually Klokan ! Thanks for these enhancements. Just a question after a quick look at the doc : can the input file be a raster catalog (the gdaltindex thing) ? Raster data needing to be tiled fur web publication are sometimes already tiled in several pieces because of their

[gdal-dev] RE: progressive rendering

2008-08-18 Thread Norman Barker
Having spent some more time on this, is adding progressive support to gdal as simple as overloading the RasterIO function http://www.gdal.org/classGDALDataset.html#e077c53268d2272eebed10b891a057 43 and adding a callback function? I would like to standardize this if possible in the GDALDataset cl

[gdal-dev] GSoC GDAL2Tiles: MapTiler.org, Google Maps Projection Web, Source Code

2008-08-18 Thread Klokan Petr Přidal
Hello everybody, what was done recently on GDAL2Tiles project: New cool example of the map generated by GDAL2Tiles: -- I processed freely available USGS DRG map of Grand Canyon by GDAL2Tiles. It is a nice example of w

Re: [gdal-dev] QGIS looses toolbar icons after changing background color

2008-08-18 Thread Nikos Alexandris
On Mon, 2008-08-18 at 20:12 +0200, Mateusz Loskot wrote: > Nikos Alexandris wrote: > > Dear QGIS-users and developers, > > I 've come across this strange behaviour: Settings > Background Color > > (change color to anything) > OK. The result is that all toolbar icons > > disappear, only text is show

[gdal-dev] Re: X-Plane runway orientation

2008-08-18 Thread Even Rouault
Hi Martin, I've applied your patch in r15154. As far as the true heading is concerned, I'm not sure if it is necessary to change things as it is an angle, and 0 or 360 mean pretty much the same thing. Furthermore, this value is probably not directly read by "humans", but used for computations.

Re: [gdal-dev] QGIS looses toolbar icons after changing background color

2008-08-18 Thread Mateusz Loskot
Nikos Alexandris wrote: > Dear QGIS-users and developers, > I 've come across this strange behaviour: Settings > Background Color > (change color to anything) > OK. The result is that all toolbar icons > disappear, only text is shown for each button! > > QGIS 0.11.0-Metis under Ubuntu Hardy 64-bit

Re: [gdal-dev] OGRFeatureStyle update from version1.4.1 to 1.5.2;

2008-08-18 Thread Frank Warmerdam
On 8/17/08, wow <[EMAIL PROTECTED]> wrote: > Hi, > When i tried to update my whole program from ver1.4.1 to 1.5.2, all worked > well except the OGRFeatureStyle module. The function > OGRStyleMgr::AddStyle() couldn't write the provided style > name and style string right with ver1.5.2, but could

Re: [gdal-dev] GRIB2 file produces None on opening

2008-08-18 Thread Mateusz Loskot
Limei Ran wrote: > > Hi: > > I have the same problem. I just installed 1.5.2 version on Linux. When > I do: > gdalinfo --formats | grep GRIB > > Nothing came out. Also when I do: > gdalinfo abc.grb I got: not recognised as a supported file format > > My grb file is GRIB2 format. Do we need t

Re: [gdal-dev] Reprojection differs between FWtools versions

2008-08-18 Thread Frank Warmerdam
On 8/16/08, Koen Mannaerts [fietsnet.be] <[EMAIL PROTECTED]> wrote: > > Hi all, > > I noticed that ogr2ogr in FWtools 1.0.0.a7 returns a different result than > ogr2ogr in FWtools 2.2.0, 2.2.1. Koen, The behavior of PROJ.4 changed between PROJ 4.5.x and PROJ 4.6.0. In particular, PROJ.4 will

Re: [gdal-dev] Guidance sought on using gdal-translate

2008-08-18 Thread Frank Warmerdam
On 8/16/08, Christopher Hunt <[EMAIL PROTECTED]> wrote: > Hopefully one last question on this though: the a_ullr parameters - given > the a_srs spec of EPSG:27700, are the a_ullr parameters expected to be in > BNG coordinates i.e. eastings and northings values? Asking this another way, > what actu

Re: [gdal-dev] Disabiling Geos messages via OGR

2008-08-18 Thread Frank Warmerdam
On 8/15/08, Brent Fraser <[EMAIL PROTECTED]> wrote: > I'm using OGR's Geos functions (e.g. OGRGeometry::IsValid) to process some > polygons. Geos spits out messages to console (stderr?) like "Warning 1: > Self-intersection at or near point ...". Is there a way to disable these > messages via OGR?