[gdal-dev] GDAL TMS minidriver

2009-03-26 Thread Roger André
Hi All, I'm trying to use the TMS minidriver to read a TileCache instance and am getting an error that says, GDALWMS: No mini-driver registered for 'TMS'. I'm trying to follow the instructions on http://www.gdal.org/frmt_wms.html, but am a bit confused. At the top of the page it says there are 3

Re: [gdal-dev] gdal-python and py2exe - MapTiler.org

2009-03-26 Thread Klokan Petr Přidal
Hi Simon and others, I am successfully bundling GDAL 1.6 from OSGeo4W in my MapTiler application - with py2exe, GDAL 1.6, wxPython, InnoSetup combination under Windows. MapTiler is a multi-platform user-friendly graphical application based on my GDAL2Tiles utility and targeted to end-users and

Re: [gdal-dev] GDAL TMS minidriver

2009-03-26 Thread Klokan Petr Přidal
Roger, this patch was done by Christopher Schmidt during Toronto Code Sprint 2009 in the beginning of this month. The functionality is available only in gdal-trunk (1.7dev) since r16585. Details: http://trac.osgeo.org/gdal/ticket/2878 http://crschmidt.net/blog/376/toronto-code-sprint-day-2/ If

[gdal-dev] NITF header writing - not really?

2009-03-26 Thread Andrew Loughhead
Does gdal_translate actually write values specified via -mo into the output NITF files? It seems that metadata fields specified with -mo get put into the .aux.xml file, but not into the actual output NITF file. For example: gdal_translate -of NITF -mo NITF_FTITLE=myspecialvalue infile.ntf

[Gdal-dev] gdal_rasterize and C#

2009-03-26 Thread AmandaH
Does anyone have any help or example code for using gdal_rasterize with the C# API? I need to burn some shapefiles into a geotiff. Any help would be appreciated. -- View this message in context: http://n2.nabble.com/gdal_rasterize-and-C--tp2538567p2538567.html Sent from the GDAL - Dev

[gdal-dev] again .hdf to .tif

2009-03-26 Thread Anja Roesel
sorry i forgot to mention the error message: Segmentation fault Hi list, I am trying to convert MODIS .hdf files to .tif files (it worked with ASTER files earlier, thats why I am now really curious). i typed gdalinfo MOD021KM.A2008134.1935.005.2009071201911.hdf result: ..

Re: [gdal-dev] again .hdf to .tif

2009-03-26 Thread Yann Chemin
Hi there, I am using this one right now on Level 2 and 3 MODIS products --- #!/bin/bash mkdir processed for file in *.hdf do SDS_list=$(gdalinfo $file | grep SUBDATASET_.*_NAME.*) for subdataset in $SDS_list do echo ${subdataset#*=}

[gdal-dev] GDAL Warp API

2009-03-26 Thread Jim Klassen
I'm trying to do some aerial photo processing specifically converting RAW imagery to DOQs. Right now I have working code that uses GDAL to read/write the rasters and uses my own code to do the actual image processing. I would like to use the Warp API so I can take advantage of the

Re: [gdal-dev] again .hdf to .tif

2009-03-26 Thread Vincent Schut
Yann Chemin wrote: Hi there, I am using this one right now on Level 2 and 3 MODIS products --- #!/bin/bash mkdir processed for file in *.hdf do SDS_list=$(gdalinfo $file | grep SUBDATASET_.*_NAME.*) for subdataset in $SDS_list do echo

Re: [gdal-dev] Re: prj to proj.4

2009-03-26 Thread Hermann Peifer
Brent Wood wrote: Hermann, This might work for you, although far from elegant :-) If you generate a GMT file (using ogr2ogr) of each of the shapefiles, just grep out the relevant lines from each file (@Jp is the proj.4 text, @Jw is the WKT version), it should give you both the WKT proj.4

[gdal-dev] again .hdf to .tif

2009-03-26 Thread Anja Roesel
Hi list, I am trying to convert MODIS .hdf files to .tif files (it worked with ASTER files earlier, thats why I am now really curious). i typed gdalinfo MOD021KM.A2008134.1935.005.2009071201911.hdf result: ..

Re: [gdal-dev] again .hdf to .tif

2009-03-26 Thread Yann Chemin
Yes Vincent, that rings a bell indeed. Thanks, Yann 2009/3/26 Vincent Schut sc...@sarvision.nl: Yann Chemin wrote: Hi there, I am using this one right now on Level 2 and 3 MODIS products --- #!/bin/bash mkdir processed for file in *.hdf do

Re: [gdal-dev] GDAL TMS minidriver

2009-03-26 Thread Roger André
Got it, V 1.7. Thanks. -- 2009/3/26 Klokan Petr Přidal klo...@klokan.cz Roger, this patch was done by Christopher Schmidt during Toronto Code Sprint 2009 in the beginning of this month. The functionality is available only in gdal-trunk (1.7dev) since r16585. Details:

Re: [gdal-dev] NITF header writing - not really?

2009-03-26 Thread Even Rouault
Andrew, The way how to set NITF fields is documented in http://gdal.org/frmt_nitf.html. But I acknowledge this may be a bit confusing, because even if they are reported as metadata items by GDAL, NITF header fields must be set as creation options, not metadata. So if you replace -mo by -co

[gdal-dev] Re: [mapserver-users] ogr connection to postgis problems

2009-03-26 Thread Even Rouault
(Moving it to gdal-dev list as it is really OGR related) Travis, Actually there's one test you didn't make. Can you test this : ogrinfo -ro -al PG:'dbname=fbs user=webserver password=topsecret' canadian_municipalities and this : ogrinfo -al PG:'dbname=fbs user=webserver password=topsecret'

[gdal-dev] get the info of the hdf4 tranlate hdf4 to tif

2009-03-26 Thread apachemaven
I want to translate the hdf4 to tif ,and use the grass to conert this tif to its own format, then I can contiune my next work, I use the FWTools2.2.8 (which is installed in the F disk.)to handle this,after config the environment ,I run the command gdalinfo

[gdal-dev] Coordinate bounds after gdalwarp

2009-03-26 Thread Martin Ceperley
Hello, After running gdalwarp with a bunch of control points, the resulting bitmap's coordinate bounds are slightly cropping off two of the corners and extending far beyond on the right. I am referencing these images for the first time and don't have the necessary bounds before the

Re: [gdal-dev] NITF header writing - not really?

2009-03-26 Thread Frank Warmerdam
Andrew, I think this is a defect. Could you file a ticket on the issue? Best regards, On Thu, Mar 26, 2009 at 6:22 AM, Andrew Loughhead andrew.loughh...@gmail.com wrote: Does gdal_translate actually write values specified via -mo into the output NITF files?  It seems that metadata fields

Re: [gdal-dev] Coordinate bounds after gdalwarp

2009-03-26 Thread Frank Warmerdam
On Thu, Mar 26, 2009 at 8:57 PM, Martin Ceperley mar...@ceperley.com wrote: Hello, After running gdalwarp with a bunch of control points, the resulting bitmap's coordinate bounds are slightly cropping off two of the corners and extending far beyond on the right. I am referencing these images