[gdal-dev] Re: Status of TMS minidriver in gdal_wms

2009-08-19 Thread Roger André
I was able to get this to work using the patch checked in from the Toronto code sprint. However, I still have questions. I would like to take advantage of the fact that I already have pre-rendered tiles in my TileCache, but it seems that MapServer is still having to render all of the requests that

[gdal-dev] Status of TMS minidriver in gdal_wms

2009-08-19 Thread Roger André
Hi All, I'd like to use GDAL to access tiles that have been generated by TileCache. It appears this should be possible in GDAL 1.7 via the TMS service. I *think* the example at http://www.gdal.org/frmt_wms_openstreetmap_tms.xmlshows this. I'd appreciate it if someone could clarify whether my exp

Re: [gdal-dev] regarding GDALDriver::Create

2009-08-19 Thread Frank Warmerdam
Srikanth wrote: Hi , Thanks for the mail Frank. The problem is rightly pointed. In my case the dataset (poDataset) is not getting created at times (parameters being the same) . I have checked thoroughly everything related to this, but did not find any either solution or problem. I would

Re: [gdal-dev] losing elevation data

2009-08-19 Thread Frank Warmerdam
Devrim Baris Acar wrote: Hi, I am a newbie on gdal and gis so forgive me. I have downloaded the geotiff elevation data srtm30.7z from http://worldwind28.arc.nasa.gov/public/WorldWindWMS/ . The file contains elevation data for the globe. I want to change a a geotiff file from this set to bil

[gdal-dev] losing elevation data

2009-08-19 Thread Devrim Baris Acar
Hi, I am a newbie on gdal and gis so forgive me. I have downloaded the geotiff elevation data srtm30.7z from http://worldwind28.arc.nasa.gov/public/WorldWindWMS/ . The file contains elevation data for the globe. I want to change a a geotiff file from this set to bil file format(hoping to use it i

[gdal-dev] map2geojson

2009-08-19 Thread Johan Euphrosine
Hi, I would like to share with the list the following piece of code, Together with gdal2tiles it allows generating a geojson layers from an html client-side image map, for browsing with openlayers. Usage: gdal2tiles.py test.png test/ map2geojson.py 220.0 520.0 1.0 < test.map > test/polygon.json

Re: [Gdal-dev] Flashy colors in a pyramid

2009-08-19 Thread acangi
I see the same strange areas when I'm viewing the tiles with Irfanview, so geoserver is excluded. I re-created the first tile that gave me the problem (and only this tile) from the source files using gdal_retile and gdal_translate -projwin. The problem isn't there any more. So I guess it was

[gdal-dev] Re: Flashy colors in a pyramid

2009-08-19 Thread Christian Müller
Hi The thing I want to know is if you have the blue or green areas in the output files of gdal_retile.py or if you see them when looking at the images with geoserver. So, is at problem of gdal_retile.py or of geoserver loading the output from gdal_retile.py. Btw, you use the option -co "TILE

Re: [Gdal-dev] Flashy colors in a pyramid

2009-08-19 Thread acangi
Hi Christian, Thanks for your reply and thanks for writing gdal_retile. I use it a lot and it works great. I'm not sure I understand you well. On the highest level of the pyramid (the top) there's only one file. Gdal_retile already created the files needed for the mosaic (shp, shx, dbf and prj)

Re: [gdal-dev] regarding GDALDriver::Create

2009-08-19 Thread Srikanth
Hi , Thanks for the mail Frank. The problem is rightly pointed. In my case the dataset (poDataset) is not getting created at times (parameters being the same) . I have checked thoroughly everything related to this, but did not find any either solution or problem. I would appreciate if you can as

[gdal-dev] Re: Flashy colors in a pyramid

2009-08-19 Thread Christian Müller
Hi, Christian speaking, I wrote the gdal_retile.py utility. Could you try to run a gdal_merge.py on the highest pyramid level containing this strange area. What is the result.? I want to know if the problem is gdal_retile.py or geoserver. acangi writes: Hello list, I created a pyra

RE: [gdal-dev] Converting to J2K

2009-08-19 Thread Smart, Gary
I only have the JPEG2000 part 1 blah blah available. Nevertheless, this is the one I am trying to use. I guess it's yet another thing that doesn't install properly on SUSE10!! I'll try and get everything re-installed on my machine - I also seem to have problems with PROJ4 stuff also. I installe

[Gdal-dev] Flashy colors in a pyramid

2009-08-19 Thread acangi
Hello list, I created a pyramid of aerial photos using gdal_retile.py and now see there are strange zones in the pyramid. I'm trying to understand why I got this strange results and how I can fix it (Bombing the area to make sure it looks like what I have ?). Description : 1. The command I used w